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

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Equivalence
In summary, the conversation discusses the relationship between two distinct primes and their greatest common divisor, as well as the implications of this relationship on the congruence of a number to 1 modulo their product. The conversation also mentions the Chinese Remainder Theorem and Euler's formula, leading to the conclusion that if a number raised to the power of their product minus one is congruent to 1 modulo their product, then it is also congruent to 1 modulo their greatest common divisor.
  • #1
evinda
Gold Member
MHB
3,836
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
  • #2
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)
 
  • #3
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:
  • #4
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)
 

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

What is the definition of "Show Equivalence: $a^d \equiv 1 \pmod n$"?

Show Equivalence is a mathematical concept that refers to the relationship between two numbers, a and d, when they are raised to a certain power (d) and then divided by another number (n). This relationship is represented by the notation a^d ≡ 1 (mod n), which means that the remainder when a^d is divided by n is equal to 1.

How is "Show Equivalence: $a^d \equiv 1 \pmod n$" used in number theory?

In number theory, "Show Equivalence: $a^d \equiv 1 \pmod n$" is used to prove the congruence of two numbers. It is often used in the study of prime numbers and modular arithmetic. It is also used to solve problems related to encryption and cryptography.

What are the properties of "Show Equivalence: $a^d \equiv 1 \pmod n$"?

The properties of "Show Equivalence: $a^d \equiv 1 \pmod n$" include:

  • If a^d ≡ 1 (mod n), then a^k ≡ 1 (mod n) for all positive integers k.
  • If a and n are coprime, then a^φ(n) ≡ 1 (mod n), where φ(n) is Euler's totient function.
  • If a^d ≡ 1 (mod n) and d is the smallest positive integer with this property, then d divides φ(n).

How is "Show Equivalence: $a^d \equiv 1 \pmod n$" related to Fermat's Little Theorem?

"Show Equivalence: $a^d \equiv 1 \pmod n$" is a special case of Fermat's Little Theorem, which states that if p is a prime number and a is any integer not divisible by p, then a^(p-1) ≡ 1 (mod p). This theorem can be used to prove that a^d ≡ 1 (mod n) for certain values of d and n.

How is "Show Equivalence: $a^d \equiv 1 \pmod n$" used in cryptography?

In cryptography, "Show Equivalence: $a^d \equiv 1 \pmod n$" is used in the RSA algorithm, which is a popular method for encrypting and decrypting data. The algorithm relies on the fact that it is difficult to calculate the value of d from a^d ≡ 1 (mod n) without knowing the prime factors of n. This makes it a secure method for sending encrypted messages.

Similar threads

Back
Top