1,1

No carry when adding a(n) to n in binary representation; 2*n <= a(n) <= 2^(floor(log2(n))+2), (see A000523).

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

Cf. A007088.

Sequence in context: A129280 A103224 A198346 * A054785 A236924 A266575

Adjacent sequences: A078747 A078748 A078749 * A078751 A078752 A078753

nonn

Reinhard Zumkeller, Dec 22 2002

approved