[go: up one dir, main page]

login
A229167
a(n) = smallest index i such that A010062(i) >= 2^n.
5
0, 1, 3, 5, 8, 14, 22, 40, 71, 126, 224, 397, 721, 1318, 2431, 4531, 8493, 15999, 30234, 57281, 108744, 206868, 394293, 752985, 1440705, 2761606, 5302954, 10200322, 19652438, 37921447, 73277740, 141783308, 274656312, 532615214, 1033834916, 2008466475, 3905027107
OFFSET
0,3
EXAMPLE
The first time A010062(i) is >= 16 is A010062(8) = 17, so a(4) = 8.
MAPLE
# uses wt() from A000120
t1:=[0]; a:=1; l:=1;
for i from 1 to 1000000 do
a:=a+wt(a);
if a >= 2^l then l:=l+1; t1:=[op(t1), i]; fi;
od:
t1;
CROSSREFS
Sequence in context: A094007 A159914 A153251 * A245968 A109022 A023596
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(24)-a(36) from Donovan Johnson, Sep 27 2013
STATUS
approved