1,1

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

For n>=2, a(n)=2^k+2, if 2^k<=n<=2^k+2^(k-1)-1; a(n)=2^k+2j+3, if n=2^k+2^(k-1)+j, 0<=j<=2^(k-1)-1.

A159615 A159619

Sequence in context: A104136 A198466 A212642 * A320727 A036288 A159077

Adjacent sequences: A159621 A159622 A159623 * A159625 A159626 A159627

nonn

Vladimir Shevelev, Apr 17 2009

approved