OFFSET
1,3
COMMENTS
The k-sequence is A124916.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(2^j) = j. - Robert Israel, Jul 05 2018
EXAMPLE
1 = floor(2^0/5^0), 2 = floor(2^1/5^0), 3 = floor(2^4/5^1), 4 = floor(2^2/5^0), ...,
so j-sequence = (0,1,4,2,...); k-sequence = (0,0,1,0,...).
MAPLE
f:= proc(n) local k;
if n = 2^ilog2(n) then return ilog2(n) fi;
for k from 1 do if ilog2(n*5^k) <> ilog2((n+1)*5^k) then return ilog2((n+1)*5^k) fi od
end proc:
map(f, [$1..100]); # Robert Israel, Jul 05 2018
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Clark Kimberling, Nov 12 2006
STATUS
approved