Proving Fermat's Theorem (1): a^(n-1) = a (mod n)

In summary, Fermat's Theorem, also known as Fermat's Little Theorem, states that if a positive integer a is not divisible by a prime number n, then a raised to the power of n-1 is congruent to 1 modulo n. Pierre de Fermat was a French mathematician in the 17th century who is famous for his contributions to number theory, particularly for his work on the theory of numbers and his theorem on the properties of prime numbers. When we say that a^(n-1) is congruent to 1 modulo n, it means that when a^(n-1) is divided by n, the remainder is always 1. Fermat's Theorem can be used to prove
  • #1
kathrynag
598
0
(1). Prove the following statements.
(a). When n = 2p, where p is an odd prime, then a^(n-1) = a (mod n) for any integer a.
(b). For n = 195 = 3 * 5 *13, we have a^(n-2) = a (mod n) for any integer a


If I am correct Fermat's Theorem comes into play.
a)n=2p
a^(2p-1)
a^(2p)*(1/a)
a^2(a^p)*(1/a)
a^p=a for any prime
a^2*(a)*(1/a)
a^(2-1)*a
a*a
a^2
a mod n


b)a^(195-2)
a^(193)
193 is a prime so by Fermat's Theorem, a^p=a mod p
So a^193=a mod(193)
and thus a^193=a mod (195)

I feel like I did something wrong on both problems...
 
Physics news on Phys.org
  • #2


Your response:

Your use of Fermat's Theorem is correct and your steps are accurate. However, there is a minor mistake in the first problem. It should be a^p = a (mod p) instead of a^2 = a (mod p). Other than that, your proofs are correct and demonstrate the application of Fermat's Theorem in these scenarios. Good job!
 

1. What is Fermat's Theorem?

Fermat's Theorem, also known as Fermat's Little Theorem, states that if n is a prime number and a is any positive integer not divisible by n, then a raised to the power of n-1 is congruent to 1 modulo n.

2. Who was Pierre de Fermat?

Pierre de Fermat was a French mathematician in the 17th century who is famous for his contributions to number theory, particularly for his work on the theory of numbers and his theorem on the properties of prime numbers.

3. What does "congruent to 1 modulo n" mean?

When we say that a^(n-1) is congruent to 1 modulo n, it means that when a^(n-1) is divided by n, the remainder is always 1. In other words, a^(n-1) leaves a remainder of 1 when divided by n.

4. How can Fermat's Theorem be used to prove the primality of a number?

If we can find a positive integer a that satisfies a^(n-1) congruent to 1 modulo n, then we can conclude that n is prime. This is because if n were composite, there would be a smaller positive integer b that divides n. However, this would also mean that a^(n-1) would be divisible by b, which contradicts the theorem.

5. What is the significance of proving Fermat's Theorem?

Proving Fermat's Theorem is significant because it is a fundamental result in number theory and has many practical applications in cryptography and computer science. It also helps us better understand the properties of prime numbers and their role in mathematics.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
30
Views
2K
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
959
  • Calculus and Beyond Homework Help
Replies
3
Views
821
  • Calculus and Beyond Homework Help
Replies
3
Views
555
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
Back
Top