login
This site is supported by donations 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

T. D. Noe, Table of n, a(n) for n=1..1000

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

Sequence in context: A037189 A083342 A016655 * A058838 A001177 A053991

Adjacent sequences:  A057754 A057755 A057756 * A057758 A057759 A057760

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 18:29 EST 2018. Contains 299381 sequences. (Running on oeis4.)