OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
n = 6: A095810(6) = 12. k = 9 is the least nonnegative integer such that 2^k ends in 12. Therefore, a(6) = 9.
MAPLE
f:= proc(i) local s, v, t;
v:= indets(rhs(s[1]), name);
if v <> {} then subs(seq(t=0, t=v), rhs(s[1])) else rhs(s[1]) fi
end proc:
map(f, [$1..N]); # Robert Israel, Dec 29 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David A. Corneth, Oct 17 2017
STATUS
approved