login
A135587
a(n) = A135586(2n).
2
1, 2, 5, 3, 7, 8, 17, 4, 9, 10, 21, 11, 23, 24, 49, 5, 11, 12, 25, 13, 27, 28, 57, 14, 29, 30, 61, 31, 63, 64, 129, 6, 13, 14, 29, 15, 31, 32, 65, 16, 33, 34, 69, 35, 71, 72, 145, 17, 35, 36, 73, 37, 75, 76, 153, 38, 77, 78, 157, 79, 159, 160, 321, 7, 15, 16, 33, 17, 35, 36, 73
OFFSET
1,2
LINKS
FORMULA
a(2^k) = k+1; a(4*k+2) = a(4*k+1) + 1; a(4*k+3) = 2*a(4*k+2) + 1. - Reinhard Zumkeller, Mar 02 2008
CROSSREFS
Cf. A135586.
Sequence in context: A125512 A272908 A191432 * A191671 A176707 A257533
KEYWORD
nonn,easy,look
AUTHOR
Don Knuth, Mar 01 2008
EXTENSIONS
More terms from Reinhard Zumkeller, Mar 02 2008
STATUS
approved