1,2

e(n)+o(n) = A000120(n), the binary weight of n. For e(n) = o(n) see A039004.

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

See link in A139351 for Fortran program.

Cf. A000120, A139351-A139355, A039004, A139370-A139372.

Sequence in context: A138920 A048224 A064237 * A293757 A275273 A069575

Adjacent sequences: A139370 A139371 A139372 * A139374 A139375 A139376

nonn

Nadia Heninger and N. J. A. Sloane, Jun 07 2008

approved