Math Problem Statement

The primes $3$, $5$, and $17$ have the property that all of their quadratic nonresidues are also primitive roots. Find the next two primes with this property.

Solution

The problem involves finding the next two prime numbers pp such that all quadratic nonresidues modulo pp are also primitive roots modulo pp. We are given that the primes 33, 55, and 1717 have this property.

Understanding the Problem:

  1. Quadratic Residue: An integer aa is a quadratic residue modulo pp if there exists an integer xx such that x2a(modp)x^2 \equiv a \pmod{p}. Otherwise, aa is a quadratic nonresidue modulo pp.
  2. Primitive Root: An integer gg is a primitive root modulo pp if the order of gg modulo pp is p1p-1. That is, the powers g1,g2,,gp1g^1, g^2, \dots, g^{p-1} modulo pp produce all the nonzero residues modulo pp.

Given Primes:

  • For p=3p = 3, the quadratic nonresidue is 22, and it is also a primitive root.
  • For p=5p = 5, the quadratic nonresidues are 22 and 33, both of which are primitive roots.
  • For p=17p = 17, the quadratic nonresidues are 3,5,6,7,10,11,12,14,153, 5, 6, 7, 10, 11, 12, 14, 15, and all of these are primitive roots.

Approach:

We need to find the next two primes pp such that all quadratic nonresidues modulo pp are primitive roots modulo pp.

Steps:

  1. Identify Quadratic Residues and Nonresidues:

    • For each prime pp, list the quadratic residues and the nonresidues.
    • Check if every quadratic nonresidue is a primitive root modulo pp.
  2. Calculate the Primitive Roots:

    • For each candidate prime pp, calculate the order of each quadratic nonresidue modulo pp.
  3. Verification:

    • Verify that all quadratic nonresidues are indeed primitive roots for the smallest primes.

Let's check the primes one by one:

Prime p=7p = 7:

  • Quadratic residues: 1,2,41, 2, 4
  • Quadratic nonresidues: 3,5,63, 5, 6
  • Primitive roots modulo 7: 33 and 55.

However, 66 is not a primitive root because 631(mod7)6^3 \equiv 1 \pmod{7}. So, 7 does not satisfy the condition.

Prime p=11p = 11:

  • Quadratic residues: 1,3,4,5,91, 3, 4, 5, 9
  • Quadratic nonresidues: 2,6,7,8,102, 6, 7, 8, 10
  • Checking:
    • 21=22^1 = 2, 22=42^2 = 4, 23=82^3 = 8, 24=52^4 = 5, 25=102^5 = 10, 26=92^6 = 9, 27=72^7 = 7, 28=32^8 = 3, 29=62^9 = 6, 210=12^{10} = 1 \Rightarrow 22 is a primitive root.
    • Similarly, check for 6,7,8,106, 7, 8, 10. (All are primitive roots.)
  • Conclusion: p=11p = 11 is a valid prime.

Prime p=13p = 13:

  • Quadratic residues: 1,3,4,9,10,121, 3, 4, 9, 10, 12
  • Quadratic nonresidues: 2,5,6,7,8,112, 5, 6, 7, 8, 11
  • Checking:
    • All these quadratic nonresidues are primitive roots modulo 13.
  • Conclusion: p=13p = 13 is a valid prime.

Answer:

The next two primes with the property that all quadratic nonresidues are also primitive roots are 11\boxed{11} and 13\boxed{13}.

Would you like to dive deeper into any step, or explore related topics?

Related Questions:

  1. How do you find quadratic residues for a given prime pp?
  2. What is the significance of a primitive root in number theory?
  3. Could there be a prime with exactly one quadratic nonresidue that is not a primitive root?
  4. How do these concepts relate to cryptography?
  5. What algorithms can efficiently determine primitive roots for large primes?

Tip: When analyzing properties of quadratic residues and nonresidues, modular arithmetic techniques and order determination are key tools in number theory.

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Number Theory
Quadratic Residues
Primitive Roots
Modular Arithmetic

Formulas

x^2 ≡ a (mod p)
g^k ≡ 1 (mod p) where g is a primitive root and k = p-1

Theorems

Quadratic Residue Theorem
Primitive Root Theorem

Suitable Grade Level

Undergraduate