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

A037909

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

Terms

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

External references