OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..1756
EXAMPLE
18^5 = 1889568 begins with 18, so 18 is in the sequence.
MAPLE
R:= 0, 1:
for d from 1 to 100 do
k:= ceil(10^(d/4));
if k^5 - 10^d * k < 10^d then
R:= R, k
fi
od:
R; # Robert Israel, Sep 11 2024
MATHEMATICA
kmax=10^6; Select[Range[0, kmax], FromDigits[Drop[IntegerDigits[#^5], -(IntegerLength[#^5]-IntegerLength[#])]]==# &] (* Stefano Spezia, Aug 27 2023 *)
PROG
(PARI) r=54; print1(1, ", "); e=5; for(n=2, r, p=round((10^(1/(e-1)))^n); f=p^e; b=10^(#Str(f)-#Str(p)); if((f-lift(Mod(f, b)))/b==p, print1(p, ", ")));
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Arkadiusz Wesolowski, Dec 10 2013
EXTENSIONS
0 inserted by Juhani Heino, Aug 31 2015
STATUS
approved