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!)
A096633 Let p = n-th prime == 3 mod 8 (A007520); a(n) = smallest prime q such that p is not a square mod q. 3

%I #3 Mar 30 2012 17:31:04

%S 3,3,7,5,3,5,3,3,3,7,5,3,11,3,3,5,5,13,3,13,3,3,3,3,13,5,5,3,11,3,7,5,

%T 3,3,7,11,5,7,3,7,5,5,3,3,3,11,3,5,3,19,3,3,3,7,3,3,3,7,5,3,3,7,3,11,

%U 3,5,3,7,5,5,3,3,5,3,3,3,5,3,17,3,5,3,7,13,5,3,11,3,3,5,7,3,3,5,3,7,3,7,5,3

%N Let p = n-th prime == 3 mod 8 (A007520); a(n) = smallest prime q such that p is not a square mod q.

%t f[n_] := Block[{k = 2}, While[ JacobiSymbol[n, Prime[k]] == 1, k++ ]; Prime[k]]; f /@ Select[ Prime[ Range[435]], Mod[ #, 8] == 3 &]

%K nonn

%O 1,1

%A _Robert G. Wilson v_, Jun 24 2004

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)