login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092419 Let k = n-th nonsquare = A000037(n); then a(n) = smallest prime p such that the Kronecker-Jacobi symbol K(k,p) = -1. 3
3, 2, 2, 7, 5, 3, 7, 2, 5, 2, 3, 13, 3, 5, 2, 3, 2, 5, 3, 7, 3, 2, 5, 2, 11, 7, 3, 5, 7, 2, 2, 3, 11, 7, 3, 5, 2, 3, 2, 11, 3, 5, 3, 2, 5, 2, 7, 7, 3, 5, 5, 2, 13, 2, 3, 5, 3, 7, 2, 3, 2, 13, 3, 5, 5, 3, 2, 7, 2, 5, 11, 3, 5, 2, 11, 2, 3, 5, 5, 3, 7, 2, 3, 2, 7, 3, 7, 5, 3, 2, 2, 5, 5, 3, 11, 11, 2, 5, 2, 3, 7 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Maple calls K(k,p) the Legendre symbol.

The old entry with this sequence number was a duplicate of A024356.

REFERENCES

H. Cohen, A Course in Computational Number Theory, Springer, 1996 (p. 28 defines the Kronecker-Jacobi symbol).

MAPLE

with(numtheory); f:=proc(n) local M, i, j, k; M:=100000; for i from 1 to M do if legendre(n, ithprime(i)) = -1 then RETURN(ithprime(i)); fi; od; -1; end;

CROSSREFS

Cf. A000037. Records: A067073, A070040. See A144294 for another version.

Sequence in context: A089327 A091264 A021760 * A020835 A193919 A055674

Adjacent sequences:  A092416 A092417 A092418 * A092420 A092421 A092422

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Oct 16 2008, Oct 17 2008. Definition corrected Dec 03 2008.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 00:09 EST 2012. Contains 205978 sequences.