OFFSET
1,2
COMMENTS
Equivalently, numbers not ending in 0, whose square belong to A032981.
All members k ending in 1 are generators of infinite numbers of the form k*10^e which satisfy the same property. In a sense, here we list only "primitive" terms, not ending in 0.
a(24) > 10^17, if it exists.
EXAMPLE
81655720279388 belongs to this sequence because the consecutive digits of its square, 6667656654345656676777654544, differ by 0 or 1.
MATHEMATICA
Select[Range[10^6], Mod[#, 10] > 0 && Max@ Abs@ Differences@ IntegerDigits[ #^2] <= 1 &]
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Giovanni Resta, Mar 19 2017
STATUS
approved