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!)
A057759 Least nonnegative square root of 3 mod n for n in A057125. 2

%I #14 Jan 01 2024 02:13:42

%S 0,1,0,3,5,4,5,7,9,6,15,9,7,12,11,8,27,30,28,21,15,9,13,35,10,18,49,

%T 15,11,27,53,38,39,12,43,17,21,72,13,62,61,48,19,33,69,24,14,87,99,89,

%U 49,21,15,50,71,106,56,27,96,76,16,93,23,130

%N Least nonnegative square root of 3 mod n for n in A057125.

%H T. D. Noe, <a href="/A057759/b057759.txt">Table of n, a(n) for n=1..1000</a>

%t A057125 = Prepend[ Select[ Range[300], Reduce[ Mod[3 - k^2, #] == 0, k, Integers] =!= False &], 1]; a[n_] := Min[ r /. {ToRules[ Reduce[ Mod[r^2 - 3, A057125[[n]]] == 0, r, Integers] /. C[1] -> 0]}]; a[1] = 0; Table[a[n], {n, 1, 64}] (* _Jean-François Alcover_, Sep 20 2012 *)

%Y Cf. A057125.

%K nonn

%O 1,4

%A _N. J. A. Sloane_, Nov 01 2000

%E Corrected by _T. D. Noe_, Apr 19 2007 [The errors were caused by the faulty Maple command "mroot"]

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 April 25 13:02 EDT 2024. Contains 371969 sequences. (Running on oeis4.)