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