The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057757 Least nonnegative square root of 2 mod n for n in A057126. 2
0, 0, 3, 4, 6, 5, 8, 6, 17, 18, 7, 10, 8, 12, 32, 9, 24, 25, 40, 14, 10, 38, 51, 11, 16, 31, 12, 32, 46, 70, 18, 13, 64, 57, 52, 14, 20, 38, 39, 15, 62, 85, 74, 99, 22, 16, 60, 110, 96, 106, 132, 17, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
A057126 = Prepend[ Select[ Range[300], Reduce[ Mod[2 - k^2, #] == 0, k, Integers] =!= False &], 1]; a[n_] := Min[ r /. {ToRules[ Reduce[ Mod[r^2 - 2, A057126[[n]]] == 0, r, Integers] /. C[1] -> 0]}]; a[1] = 0; Table[a[n], {n, 1, 53}] (* Jean-François Alcover, Sep 20 2012 *)
CROSSREFS
Cf. A057126.
Sequence in context: A037189 A083342 A016655 * A336717 A332361 A360655
KEYWORD
nonn,easy,nice
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 05:24 EDT 2024. Contains 372498 sequences. (Running on oeis4.)