Expansion of Fermat's Little Theorem

In summary, the conversation discusses two problems involving congruences and Euler's Totient Function. The first problem asks to prove an identity involving distinct primes and the second problem uses Euler's Theorem. There is a hint given to use group properties to prove the identities.
  • #1
pacdude9
4
0
I've got a pair of (related) problems that are keeping me stumped. The two problems they are asking me to prove are:

[tex] p^{(q-1)} + q^{(p - 1)} \equiv 1 \; (\!\!\!\!\!\! \mod \, pq) [/tex]

[tex]a^{\phi(b)} + b^{\phi(a)} \equiv 1
\; (\!\!\!\!\!\! \mod \, ab)[/tex]

Where [tex] \phi(n) [/tex] is Euler's Totient Function.

I know that these are similar, as the second problem is using Euler's Theorem, a generalization of Fermat's Little Theorem, I just can't seem to figure them out.
 
Physics news on Phys.org
  • #2
Can you show:
[tex]p^{q-1}+q^{p-1}\equiv 1 \pmod{p}[/tex]
? If so can you do the same mod q and combine these results to get it mod pq?
 
  • #3
BTW you are probably forgetting some requirements, because as stated your identities are false. Take for instance a=4, b=6, then you get:
[tex]\phi(a)=\phi(b)=2[/tex]
[tex]a^{\phi(a)}+b^{\phi(b)}=4^2+6^2=52 \equiv 4 \pmod {ab=24}[/tex]
Perhaps you meant for a and b to be relatively prime. And in the first you can take p=q=2 and get:
[tex]p^{q-1}+q^{p-1} = 2^1+2^1 = 4 \equiv 0 \pmod {pq=4}[/tex]
Maybe p and q should be distinct?
 
  • #4
rasmhop said:
Perhaps you meant for a and b to be relatively prime.
Maybe p and q should be distinct?

Thanks! Yes, in the first one, p and q are distinct primes, and in the second, a and b are coprime.
 
  • #5
Indeed, Euler's Totient Function is a very nice generalization of Fermat's Little Theorem. There is an intuitive proof for both which is studied in "Olympiad Training" but if you're a student, you may try to use group properties. (hint- consider the set {1,2,...,p-1} and the multiplication modulo p. This is clearly a group. Then, What is the order of this group ? What is the order of each element? What does Lagrange's theorem implies ? Try first with Fermat's Little Theorem, and then you may try to expand in Euler's function)
 

FAQ: Expansion of Fermat's Little Theorem

What is Fermat's Little Theorem?

Fermat's Little Theorem is a fundamental theorem in number theory that states that for any prime number p, and any integer a not divisible by p, a to the power of p-1 is congruent to 1 mod p.

How does Fermat's Little Theorem relate to the expansion of polynomials?

The expansion of Fermat's Little Theorem relates to polynomials through the use of modular arithmetic. By using the theorem, we can simplify and solve for polynomials with large exponents by reducing them to a smaller exponent that is congruent to the original exponent mod p.

Can Fermat's Little Theorem be used for any integer, or only primes?

Fermat's Little Theorem can only be used for prime numbers. This is because the theorem relies on the fact that in a finite field, all non-zero elements have a multiplicative inverse. In a finite field mod p, only prime numbers have this property.

Are there any generalizations or extensions of Fermat's Little Theorem?

Yes, there are several generalizations and extensions of Fermat's Little Theorem, such as Euler's Totient Theorem and Carmichael's Theorem. These theorems extend the applicability of Fermat's Little Theorem to situations where the modulus is not necessarily a prime number.

How is Fermat's Little Theorem used in cryptography?

Fermat's Little Theorem is used in cryptography, specifically in the RSA encryption algorithm. It is used to ensure that the decryption process is unique and that the encrypted message can only be decrypted by the intended recipient with the correct key. The theorem is also used in generating prime numbers for secure key generation.

Similar threads

Replies
1
Views
1K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
4
Views
3K
Back
Top