Fermat's Little Theorem and Exponential Congruences

  • Thread starter Thread starter kmeado07
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary

Homework Help Overview

The discussion revolves around Fermat's Little Theorem and its application to exponential congruences, specifically examining the equivalence of \( n^p \) to \( n \) modulo \( p \) for prime \( p \) and all integers \( n \).

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the implications of Fermat's Little Theorem, questioning how to apply it to demonstrate the equivalence for all integers \( n \). There is discussion about the choice of \( c \) in the modular context and the implications of dividing by \( n \). Some participants express confusion about the algebraic manipulation involved.

Discussion Status

The discussion is ongoing, with participants attempting to clarify their understanding of the theorem and its application. Some guidance has been provided regarding the manipulation of terms and the need to consider cases where \( p \) divides \( n \).

Contextual Notes

Participants note the importance of addressing the scenario where \( p \) divides \( n \), indicating a need to explore this case further in relation to the theorem.

kmeado07
Messages
40
Reaction score
0

Homework Statement



From fermat's little theorem deduce that when p is prime,

n^p is equivalent to n (mod p)

for all integers n.

Homework Equations





The Attempt at a Solution



I know from Fermat's Little Theorem that ,

n^(p-1) is equivalent to 1 (mod p),

but i don't know how to use it for this particular question.
 
Physics news on Phys.org
If a is equivalent to b mod(p) then c*a is equivalent to c*b mod(p). What might be a good choice for c in your problem?
 
ok, so in my question, c=n ?
So by dividing by n i would get,

1^p is equiavlent to 1 (mod p)

How do i reach n^(p-1) on the left hand side?
 
n^p divided by n IS NOT 1^p. PLEASE stop and review algebra with exponents before you try to continue.
 
sorry, silly mistake.
dividing by n would give me,

n^(p-1) equivalent to 1 (mod p)

which is fermat's little theorem. so is this all i need to do?
 
This is ok if p doesn't divide n, but the question asks me for all integers n.
So how do i show it's also true for when p divides n?
 
kmeado07 said:
This is ok if p doesn't divide n, but the question asks me for all integers n.
So how do i show it's also true for when p divides n?

You actually want to go the other way. Start with Fermat's little theorem and then go to your conclusion. Multiply by n, you can always do that.
 

Similar threads

Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
10K
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K