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