Number of i such that d(i) <= d(i-1), where Sum_{i=0..m} d(i)*9^i is the base-9 representation of n.

A037816

Number of i such that d(i) <= d(i-1), where Sum_{i=0..m} d(i)*9^i is the base-9 representation of n.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =0a(9) =1a(10) =1a(11) =1a(12) =1a(13) =1a(14) =1a(15) =1a(16) =1a(17) =0a(18) =0a(19) =1a(20) =1a(21) =1a(22) =1a(23) =1a(24) =1a(25) =1a(26) =0a(27) =0a(28) =0a(29) =1

External references