

A057763


Least nonnegative square root of 5 mod n for n in A057762.


2



0, 1, 1, 0, 5, 4, 9, 5, 7, 11, 6, 9, 13, 7, 15, 11, 8, 26, 25, 17, 9, 20, 13, 19, 10, 45, 21, 15, 11, 51, 48, 35, 25, 23, 12, 17, 40, 68, 55, 25, 59, 13, 19, 30, 27, 85, 14, 76, 45, 95, 29, 65, 21, 15, 66, 51, 31, 103, 73, 35, 16, 23
(list;
graph;
refs;
listen;
history;
text;
internal format)



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}] (* JeanFrançois Alcover, Sep 20 2012 *)


CROSSREFS

Sequence in context: A002389 A196758 A019776 * A198609 A054508 A110617
Adjacent sequences: A057760 A057761 A057762 * A057764 A057765 A057766


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



