login
A159624
a(n)=A159619(2n)-A159615(2n)
0
3, 4, 5, 6, 6, 7, 9, 10, 10, 10, 10, 11, 13, 15, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 21, 23, 25, 27, 29, 31, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 35, 37, 39, 41, 43, 45, 47
OFFSET
1,1
FORMULA
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.
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Apr 17 2009
STATUS
approved