Number of i such that d(i) >= d(i-1), where Sum_{i=0..m} d(i)*3^i is the base-3 representation of n.
A037826
Number of i such that d(i) >= d(i-1), where Sum_{i=0..m} d(i)*3^i is the base-3 representation of n.
Terms
- a(0) =0a(1) =0a(2) =1a(3) =1a(4) =0a(5) =1a(6) =1a(7) =1a(8) =2a(9) =1a(10) =1a(11) =2a(12) =2a(13) =1a(14) =1a(15) =1a(16) =1a(17) =2a(18) =1a(19) =1a(20) =2a(21) =2a(22) =1a(23) =2a(24) =2a(25) =2a(26) =3a(27) =2a(28) =2a(29) =2
External references
- oeis: A037826