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.

A225225 Second smallest prime quadratic non-residue modulo the n-th prime.

Original entry on oeis.org

3, 3, 3, 5, 7, 5, 5, 3, 7, 3, 11, 5, 7, 3, 11, 3, 11, 7, 3, 11, 7, 7, 5, 7, 7, 3, 5, 5, 11, 5, 5, 17, 5, 3, 3, 7, 5, 3, 13, 3, 7, 7, 11, 11, 3, 11, 3, 5, 5, 7, 5, 13, 11, 11, 5, 7, 3, 13, 5, 11, 3, 3, 3, 17, 7, 3, 3, 11, 5, 7, 5, 13, 5, 5, 3, 11, 3, 5, 13, 11, 11, 13, 13, 7, 17, 5, 13, 11, 3, 5, 5, 17, 5, 7, 3, 17, 3, 7, 3, 11
Offset: 1

Views

Author

Jonathan Sondow, May 02 2013

Keywords

Comments

See comments, references and links in A053760 = Smallest positive quadratic nonresidue modulo the n-th prime.

Examples

			The positive quadratic non-residues modulo prime(5) = 11 are 2, 6, 7, 8, 10, 11, ... and the second smallest prime among them is 7, so a(5) = 7.
		

Crossrefs

Cf. A053760.

Programs

  • Mathematica
    Table[p = Prime[n]; Part[ Select[ Range[p+1], JacobiSymbol[#, p] != 1 &], 2], {n, 1, 100}]