[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A222717 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

newer changes | Showing entries 11-16
Primes p whose smallest positive quadratic nonresidue is not a primitive root of p.
(history; published version)
#6 by Jonathan Sondow at Wed Mar 13 09:21:02 EDT 2013
DATA

2, 41, 43, 103, 109, 151, 157, 191, 229, 251, 271, 277, 283, 307, 311, 313, 331, 337, 367, 397, 409, 439, 457, 499, 571, 643, 683, 691, 727, 733, 739, 761, 769, 811, 911, 919, 967, 971, 991, 997, 1013, 1021, 1031, 1051, 1069, 1093, 1151, 1163, 1181, 1289, 1297, 1303, 1321, 1399, 1429, 1459, 1471, 1489, 1543, 1559, 1579, 1597, 1613, 1627, 1657, 1699, 1709, 1723, 1753, 1759, 1783, 1789, 1811, 1871, 1873, 1879, 1933

COMMENTS

Same as primes p such that if q is the smallest positive quadratic nonresidue mod p, then either q == 0 mod p or q^k == 1 mod p for some positive integer k < p-1.

A primitive root of a an odd prime p is always a quadratic nonresidue mod p. (Proof. If g == x^2 mod p, then g^((p-1)/2) == x^(p-1) == 1 mod p, and so g is not a primitive root of p.) But a quadratic nonresidue mod p may or may not be a primitive root of p.

EXAMPLE

The smallest positive quadratic nonresidue of 2 is 2 itself, and 2 is not a primitive root of 2, so 2 is a member.

MATHEMATICA

NR = (Table[p = Prime[n]; First[ Select[ Range[p], JacobiSymbol[#, p] != 1 &]], {n, 1, 300}]); Select[ Prime[ Range[300]], Mod[ NR[[PrimePi[#]]], #] == 0 || MultiplicativeOrder[ NR[[ PrimePi[#]]], #] < # - 1 &]

STATUS

approved

editing

#5 by Bruno Berselli at Wed Mar 13 06:33:39 EDT 2013
STATUS

reviewed

approved

#4 by Joerg Arndt at Wed Mar 13 05:23:58 EDT 2013
STATUS

proposed

reviewed

#3 by Jonathan Sondow at Tue Mar 12 17:57:59 EDT 2013
STATUS

editing

proposed

Discussion
Wed Mar 13
05:23
Joerg Arndt: Neat.  Could you also submit the complement: "Primes p whose smallest positive quadratic nonresidue is a primitive root of p." ?
#2 by Jonathan Sondow at Tue Mar 12 17:57:55 EDT 2013
NAME

allocated for Jonathan SondowPrimes p whose smallest positive quadratic nonresidue is not a primitive root of p.

DATA

41, 43, 103, 109, 151, 157, 191, 229, 251, 271, 277, 283, 307, 311, 313, 331, 337, 367, 397, 409, 439, 457, 499, 571, 643, 683, 691, 727, 733, 739, 761, 769, 811, 911, 919, 967, 971, 991, 997, 1013, 1021, 1031, 1051, 1069, 1093, 1151, 1163, 1181, 1289, 1297, 1303, 1321, 1399, 1429, 1459, 1471, 1489, 1543, 1559, 1579, 1597, 1613, 1627, 1657, 1699, 1709, 1723, 1753, 1759, 1783, 1789, 1811, 1871, 1873, 1879, 1933

OFFSET

1,1

COMMENTS

Same as primes p such that if q is the smallest positive quadratic nonresidue mod p, then q^k == 1 mod p for some positive integer k < p-1.

A primitive root of a prime p is always a quadratic nonresidue mod p. (Proof. If g == x^2 mod p, then g^((p-1)/2) == x^(p-1) == 1 mod p, and so g is not a primitive root of p.) But a quadratic nonresidue mod p may or may not be a primitive root of p.

See A001918 (least positive primitive root of the n-th prime) and A053760 (smallest positive quadratic nonresidue of the n-th prime) for references and additional comments and links.

LINKS

<a href="/index/Pri#primes_root">Index entries for primes by primitive root</a>

EXAMPLE

The smallest positive quadratic nonresidue of 41 is 3, and 3 is not a primitive root of 41, so 41 is a member.

MATHEMATICA

NR = (Table[p = Prime[n]; First[ Select[ Range[p], JacobiSymbol[#, p] != 1 &]], {n, 1, 300}]); Select[ Prime[ Range[300]], MultiplicativeOrder[ NR[[ PrimePi[#]]], #] < # - 1 &]

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Jonathan Sondow, Mar 12 2013

STATUS

approved

editing

#1 by Jonathan Sondow at Sat Mar 02 10:32:10 EST 2013
NAME

allocated for Jonathan Sondow

KEYWORD

allocated

STATUS

approved