OFFSET
2,1
COMMENTS
a(10k) = 0; a(5k)= 0 in case k is not congruent to ==0 mod 5.{ a(25) = 625 but a(15) = a(35) = 0}.
a(n) = 0 if n == 2 (mod 4) and n >= 10. - Robert Israel, Feb 14 2021
LINKS
Robert Israel, Table of n, a(n) for n = 2..1002
EXAMPLE
a(15) = 0, a(16) = 16777216.
MAPLE
f:= proc(n) local x, R, v;
R:= msolve(n^x=n, 10^(1+ilog10(n)));
if R = {x=1} then return 0 fi;
v:= indets(R, name) minus {x};
if nops(v) = 1 then subs(subs(v[1]=1, R[1]), n^x)
else error
fi
end proc:
map(f, [$2..100]); # Robert Israel, Feb 14 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, May 11 2002
EXTENSIONS
More terms from Robert Israel, Feb 14 2021
STATUS
approved