cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A092419 Let k = n-th nonsquare = A000037(n); then a(n) = smallest prime p such that the Kronecker-Jacobi symbol K(k,p) = -1.

Original entry on oeis.org

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
Offset: 1

Views

Author

N. J. A. Sloane, Oct 16 2008

Keywords

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).

Crossrefs

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

Programs

  • 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;
  • PARI
    a(n)=my(k=n+(sqrtint(4*n)+1)\2); forprime(p=2,, if(kronecker(k,p)<0, return(p))) \\ Charles R Greathouse IV, Aug 28 2016

Extensions

Definition corrected Dec 03 2008

A070040 Where records occur in A092419.

Original entry on oeis.org

1, 4, 12, 104, 231, 380, 3039, 12070, 22609, 47955, 60409, 182492, 859647, 8039644, 11990003, 78269808, 6091154409, 6941215856, 13803257219
Offset: 1

Views

Author

N. J. A. Sloane, Oct 16 2008

Keywords

Comments

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

Crossrefs

Formula

A092419(a(n))=A067073(n). [From R. J. Mathar, Jul 13 2009]

Extensions

a(8)-a(12) from R. J. Mathar, Jul 13 2009
a(13)-a(19) from Sean A. Irvine, Dec 02 2023
Showing 1-2 of 2 results.