OFFSET
1,5
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
MATHEMATICA
A057762 = Prepend[ Select[ Range[300], Reduce[Mod[5 - k^2, #] == 0, k, Integers] =!= False &], 1]; a[n_] := Min[ r /. {ToRules[ Reduce[ Mod[r^2 - 5, A057762[[n]]] == 0, r, Integers] /. C[1] -> 0]}]; a[1] = 0; Table[a[n], {n, 1, 62}] (* Jean-François Alcover, Sep 20 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 01 2000
EXTENSIONS
Corrected by T. D. Noe, Apr 19 2007 [The errors were caused by the faulty Maple command "mroot"]
STATUS
approved