MHB Show Equivalence: $a^d \equiv 1 \pmod n$

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Equivalence
AI Thread Summary
The discussion centers on proving that if \( a^{n-1} \equiv 1 \pmod{n} \) for \( n = pq \) (where \( p \) and \( q \) are distinct primes) then \( a^d \equiv 1 \pmod{n} \) with \( d = \gcd(p-1, q-1) \). Initial attempts involve manipulating the exponent \( pq-1 \) and expressing it in terms of \( d \), but the conclusion that \( a^d \equiv 1 \pmod{n} \) remains unproven. The discussion introduces Euler's theorem and the Chinese Remainder Theorem as potential tools for the proof. Ultimately, a clearer understanding of the relationship between \( d \) and the modular conditions is suggested as a pathway to the solution. The conversation highlights the complexity of deriving the equivalence directly from the given conditions.
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

Suppose that $p,q$ are two distinct primes , $n=pq$ and $d=gcd(p-1,q-1)$.
I want to show that if $a^{n-1} \equiv 1 \pmod{n}$ for some $a$ then $a^d \equiv 1 \pmod{n}$.

That's what I have tried:

$
a^{pq-1}\equiv 1 \pmod n \Rightarrow a^{pq-p+p-1}\equiv 1 \pmod n \Rightarrow a^{p(q-1)+(p-1)}\equiv 1 \pmod n \Rightarrow a^{Ad+Bd}\equiv 1 \pmod n$ for some $A,B \in \mathbb{Z}$.
Then we have $ a^{d(A+B)}\equiv 1 \pmod n \Rightarrow \left (a^{d}\right )^{A+B}\equiv 1 \pmod n$.

But from this, we cannot deduce that $a^d \equiv 1 \pmod{n}$, can we? (Thinking)
 
Mathematics news on Phys.org
evinda said:
Hello! (Wave)

Suppose that $p,q$ are two distinct primes , $n=pq$ and $d=gcd(p-1,q-1)$.
I want to show that if $a^{n-1} \equiv 1 \pmod{n}$ for some $a$ then $a^d \equiv 1 \pmod{n}$.

That's what I have tried:

$
a^{pq-1}\equiv 1 \pmod n \Rightarrow a^{pq-p+p-1}\equiv 1 \pmod n \Rightarrow a^{p(q-1)+(p-1)}\equiv 1 \pmod n \Rightarrow a^{Ad+Bd}\equiv 1 \pmod n$ for some $A,B \in \mathbb{Z}$.
Then we have $ a^{d(A+B)}\equiv 1 \pmod n \Rightarrow \left (a^{d}\right )^{A+B}\equiv 1 \pmod n$.

But from this, we cannot deduce that $a^d \equiv 1 \pmod{n}$, can we? (Thinking)

Hey evinda! (Smile)

I haven't figured it out yet. :(

However, I can see a couple of approaches...
According to Euler we have:
$$a^{\phi(pq)} \equiv a^{(p-1)(q-1)} \equiv 1 \pmod{pq}$$
And according to the Chinese Remainder Theorem we have:
$$(a^{pq-1}, a^{pq-1}) \equiv (1 \bmod p,1 \bmod q)\quad\Rightarrow\quad a^{q-1}\equiv 1 \pmod p \quad\land\quad a^{p-1}\equiv 1 \pmod q$$
(Thinking)
 
We also have that $d=x(p-1)+y(q-1)$ for some $x,y \in \mathbb{Z}$ and from this and what you said above it follows that $a^d \equiv 1 \pmod{n}$. (Thinking)
 
Last edited:
evinda said:
We also have that $d=x(p-1)+y(q-1)$ for some $x,y \in \mathbb{Z}$ and from this and what you said above it follows that $a^d \equiv 1 \pmod{n}$. (Thinking)

Ah yes. Nice! (Smile)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top