OFFSET
1,1
EXAMPLE
a(3) = 5742 as 5742^2+1, 5743^2+1 and 5744^2+1 are divisible by squares:
5742^2+1 = 5 * 17^2 * 22817;
5743^2+1 = 2 * 5^2 * 701 * 941;
5744^2+1 = 109^2 * 2777.
MATHEMATICA
cnt = 0; k = 0; Table[While[cnt < n, k++; If[! SquareFreeQ[k^2+1], cnt++, cnt = 0]]; k - n + 1, {n, 4}]
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Michel Lagneau, Oct 19 2012
EXTENSIONS
a(5) from Giovanni Resta, Oct 21 2012
STATUS
approved
