|
|
A025694
|
|
Index of 2^n within sequence of numbers of form 2^i * 9^j.
|
|
1
|
|
|
1, 2, 3, 4, 6, 8, 10, 13, 16, 19, 23, 27, 31, 36, 41, 46, 52, 58, 64, 70, 77, 84, 91, 99, 107, 115, 124, 133, 142, 152, 162, 172, 183, 194, 205, 217, 229, 241, 253, 266, 279, 292, 306, 320, 334, 349, 364, 379, 395, 411, 427, 444, 461, 478, 496, 514, 532, 550, 569, 588, 607
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
MAPLE
|
f:= proc(n) local j, s, t;
t:= n;
for j from 1 do
s:= ilog2(9^j);
if s >= n then return t fi;
t:= t + n-1-s;
od
end proc:
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|