1,2

Table of n, a(n) for n=1..96.

Marko Riedel, Maple program to compute sequence.

a(53) = 7 because 53=(110101)_2 which contains (0)_2 = 0, (1)_2 = 1, (10)_2 = 2, (11)_2 = 3, (101)_2 = 5, (1101)_2 = 13 and (10101)_2 = 21. The one digit only contributes once as do two and zero.

Cf. A000045, A078822, A272851, A272852.

Sequence in context: A105161 A275769 A094365 * A098822 A131597 A077070

Adjacent sequences: A272883 A272884 A272885 * A272887 A272888 A272889

nonn

Marko Riedel, May 08 2016

approved