Why Does Fermat's Little Theorem Lead to Its Corollary?

  • Thread starter Thread starter kingwinner
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary
SUMMARY

Fermat's Little Theorem states that if p is a prime and p does not divide a, then a^(p-1) is congruent to 1 mod p. The corollary asserts that for all integers a and all primes p, a^p is congruent to a mod p. The assumption that "p does not divide a" is removed in the corollary because if p divides a, the congruence is trivially satisfied as both sides equal zero. Additionally, the statements "p does not divide a" and "a and p are relatively prime" are equivalent when p is prime, as the only common divisor can be p itself.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with prime numbers and their properties
  • Knowledge of congruences and equivalence relations
  • Basic grasp of number theory concepts
NEXT STEPS
  • Study the proof of Fermat's Little Theorem
  • Explore applications of Fermat's Little Theorem in cryptography
  • Learn about the properties of prime numbers in number theory
  • Investigate the relationship between relative primality and modular arithmetic
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in the foundations of modular arithmetic and its applications in cryptography.

kingwinner
Messages
1,266
Reaction score
0
1st question:
Fermat's little theorem: If p is prime and p does not divide a, a E Z, then ap-1 is congruent to 1 mod p.

Corollary: For all a E Z and all primes p, ap is congruent to a mod p.

I don't really understand the corollary part, why is the assumption "p does not divide a" removed?

I can see why Corollary => Fermat's little theorem,
but I can't see why Fermat's little theorem => Corollary



2nd question:
(i) p does not divide a
(ii) a and p are relatively prime
Are (i) and (ii) equivalent? (i.e. (i)=>(ii) and (ii)=>(i) )


Can someone help? Thanks!
 
Physics news on Phys.org
If p does divide a, then a=0 mod p, so the congruence is trivial. And those two statements are equivalent (assuming p is a prime, as I'm assuming you are assuming).
 
StatusX said:
If p does divide a, then a=0 mod p, so the congruence is trivial. And those two statements are equivalent (assuming p is a prime, as I'm assuming you are assuming).
Why is ap is congruent to a mod p trivial if p does divide a? Sorry, I can't see your point...
 
Because both sides are zero.
 
OK, I got it! :)

Any idea about my 2nd question?
 
Like StatusX said, if p is a prime, then they are equivalent.
 
morphism said:
Like StatusX said, if p is a prime, then they are equivalent.
I thought StatusX said that Fermat's little theorem and the Corollary are equivalent, my bad...

2nd question: So, why does p have to be a prime for them to be equivalent and why are they equivalent?

Thanks!
 
Sorry, that was a little unclear.

The condition that two numbers are relatively prime means that they have no common divisors (I'll ignore 1 as a divisor). The only divisor of a prime p is p itself, so p can only have a common divisor with n if p is a divisor of n, ie, p divides n. On the other hand, composite numbers n and m can have common divisors even if one doesn't divide the other, eg, 6 and 8 have 2 as a common divisor.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
1K
Replies
17
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
5
Views
2K