Can a Primitive Root of p Also Be a Primitive Root of p^2?

In summary, we have shown that if $x$ is a primitive root of $p$ and $x^{p-1}$ is not congruent to 1 mod $p^2$, then $x$ is a primitive root of $p^2$. This is proved by using Fermat's theorem and Binomial expansion. It should be noted that this result is vacuously true when $p=2$.
  • #1
Poirot1
245
0
Show that if $x$ is a primitive root of p, and $x^{p-1}$ is not congruent to 1 mod$p^2$, then x is a primitive root of $p^2$
 
Last edited:
Mathematics news on Phys.org
  • #2
Re: primitive root challenge

Poirot said:
Show that if $x$ is a primitive root of p, and $x^{p-1}$ is not congruent to 1 mod$p^2$, then x is a primitive root of $p^2$

We assume $p$ is an odd prime.

By Fermat, $x^{p-1}\equiv 1\pmod{p}$.
Thus $x^{p-1}=pk+1$. By hypothesis, $p\not |k$.
Let order of $x$ mod $p^2$ be $n$. Then $x^n\equiv 1\pmod{p}$, therefore $(p-1)|n$ (since order of $x$ mod $p$ is $p-1$).
Write $n=l(p-1)$.
So we have $x^n=(pk+1)^{l}\equiv 1\pmod{p^2}$.
So we have $lpk+1\equiv 1\pmod{p^2}$.
Thus $p|(lk)$.
Since $p$ doesn't divide $k$, we have $p|l$ and now its easy to show that $n=p(p-1)=\varphi(p^2)$ and we are done.
 
  • #3
Re: primitive root challenge

caffeinemachine said:
So we have $x^n=(pk+1)^{l}\equiv 1\pmod{p^2}$.

So we have $lpk+1\equiv 1\pmod{p^2}$.

What is the logic in this step?
Also, note the result is vacuously true when p=2.
 
  • #4
Re: primitive root challenge

Poirot said:
What is the logic in this step?
Also, note the result is vacuously true when p=2.
Hello Poirot,

By Binomial expansion we have $(1+pk)^l=1+pkl+p^2t$ for some integer $t$.
Now it should be clear I believe.
 
  • #5


To show that $x$ is a primitive root of $p^2$, we must show that it generates all the elements in the group of units modulo $p^2$. If $x$ is a primitive root of $p$, then it generates all the elements in the group of units modulo $p$.

Now, since $x^{p-1}$ is not congruent to 1 modulo $p^2$, it means that $x^{p-1}$ is not a multiple of $p^2$. This implies that $x^{p-1}$ is not a multiple of $p$, since $p$ is a prime number.

Since $x^{p-1}$ is not a multiple of $p$, it follows that $x^{p-1}$ is relatively prime to $p$. Therefore, $x^{p-1}$ generates all the elements in the group of units modulo $p$.

Now, we can use the fact that $x$ is a primitive root of $p$ to show that $x$ is also a primitive root of $p^2$. Since $x^{p-1}$ generates all the elements in the group of units modulo $p$, it follows that $x^{p-1}$ also generates all the elements in the group of units modulo $p^2$.

This shows that $x$ is a primitive root of $p^2$, as it generates all the elements in the group of units modulo $p^2$. Thus, if $x$ is a primitive root of $p$ and $x^{p-1}$ is not congruent to 1 modulo $p^2$, then $x$ is also a primitive root of $p^2$.
 

Related to Can a Primitive Root of p Also Be a Primitive Root of p^2?

1. What is a primitive root challenge?

A primitive root challenge is a mathematical problem that involves finding the smallest positive integer called a primitive root, that has a specific property when raised to certain powers.

2. What is the significance of primitive roots?

Primitive roots have many applications in number theory, cryptography, and other areas of mathematics. They are also used in solving problems related to discrete logarithms and finding modular inverses.

3. How do you find the primitive root of a number?

To find the primitive root of a number, we use a method called trial and error. We start with the number 2 and raise it to different powers until we find a number that satisfies the primitive root property. If no primitive root is found, the number is said to be a prime power, and does not have a primitive root.

4. Can there be more than one primitive root for a number?

Yes, there can be more than one primitive root for a number. In fact, there are always precisely φ(φ(n)) primitive roots for a number n, where φ is Euler's totient function. For example, there are 2 primitive roots for the number 11 - 2 and 6.

5. How are primitive roots used in cryptography?

Primitive roots are used in cryptography algorithms such as the Diffie-Hellman key exchange, which allows for secure communication over an insecure channel. They are also used in the ElGamal encryption scheme, which is based on the discrete logarithm problem and relies on the existence of primitive roots.

Similar threads

Replies
5
Views
921
  • General Math
Replies
1
Views
1K
  • Science and Math Textbooks
Replies
1
Views
740
  • General Math
Replies
2
Views
2K
Replies
4
Views
717
Replies
1
Views
763
  • General Math
Replies
6
Views
1K
  • General Math
Replies
1
Views
796
  • Atomic and Condensed Matter
Replies
4
Views
2K
Back
Top