OFFSET
1,1
COMMENTS
The sequence is infinite.
Apart from first term, identical to A076673. [From R. J. Mathar, Sep 20 2008]
MATHEMATICA
ps[n_]:=Module[{x=n+1, n2=n^2}, While[!IntegerQ[Sqrt[n2+x^2]], x++]; x]; NestList[ps, 10, 40] (* Harvey P. Dale, Jun 22 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 25 2002
STATUS
approved