OFFSET
0,2
COMMENTS
a(n) > a(n-1), a(n) + a(n-1) is a square, a(n) - a(n-1) is squarefree.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
EXAMPLE
103 follows 93 as 103 - 93 = 10 is squarefree and 93 + 103 = 196 = 14^2.
MATHEMATICA
<<NumberTheory`; a = 1; Print[a]; Do[k = a + 1; While[ !(SquareFreeQ[k - a] && IntegerQ[Sqrt[k + a]]), k++ ]; a = k; Print[a], {n, 1, 100}] (* Ryan Propper, Aug 27 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 31 2003
EXTENSIONS
Corrected and extended by Ryan Propper, Aug 27 2005
STATUS
approved