OFFSET
0,3
EXAMPLE
Sum of neighbor digits, 6 and 9, of 13^2 = 169 is 15, hence 13 is absent in the sequence.
MATHEMATICA
s={0, 1, 4, 9}; Do[id=IntegerDigits[n^2]; rp=Rest[id]+Most[id];
If[Max[rp]<10, AppendTo[s, n]], {n, 4, 300}]; s
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Jul 16 2010
STATUS
approved