Number theory problem about Fermat 's little theorem

In summary: Then you can get n^7=n^3*n^3*n=(n^3)^2*n. This shows that 3|n^7-n. And since n^21=n^7*n^7*n^7, you can use this to show that 3|n^21-n. Therefore, 3|n(n^20-1).In summary, to prove the congruence n^21 ≡ n (mod 30), it suffices to show that 2|n^21-n, 3|n(n^20-1), and 5|n^21-n. To prove 2|n^21-n, it can be shown that if n is even,
  • #1
yeland404
23
0

Homework Statement



let n be an integer . Prove the congruence below.
n^21 [itex]\equiv[/itex] n mod 30

Homework Equations



n^7 [itex]\equiv[/itex] n mod 42

n^13 [itex]\equiv[/itex] n mod 2730

The Attempt at a Solution



to prove 30| n^21-n,it suffices to show 2|n^21-n,3|n^21-n,5|n^21-n
and how to prove them?
 
Physics news on Phys.org
  • #2
yeland404 said:

Homework Statement



let n be an integer . Prove the congruence below.
n^21 [itex]\equiv[/itex] n mod 30

Homework Equations



n^7 [itex]\equiv[/itex] n mod 42

n^13 [itex]\equiv[/itex] n mod 2730

The Attempt at a Solution



to prove 30| n^21-n,it suffices to show 2|n^21-n,3|n^21-n,5|n^21-n
and how to prove them?

2|n^21-n should be pretty easy. Just think about odd and even. To start on the second one n^3=n mod 3. n^(21)=(n^3)^7. Now keep going.
 
  • #3
then n^21-n = n(n^20-1), suppose n is even , then 2|n^21-n
if n is odd, n^20 is odd, so n^20-1 is even;

to 3, it means n^21=(n^3)^7=n^7=(n^3)^2*n
then how is the next to prove 3|n(n^20-1)
 
  • #4
yeland404 said:
then n^21-n = n(n^20-1), suppose n is even , then 2|n^21-n
if n is odd, n^20 is odd, so n^20-1 is even;

to 3, it means n^21=(n^3)^7=n^7=(n^3)^2*n
then how is the next to prove 3|n(n^20-1)

You are almost there with this line, "to 3, it means n^21=(n^3)^7=n^7=(n^3)^2*n". Think about it a little more and you will get it.
 
  • #5
Dick said:
You are almost there with this line, "to 3, it means n^21=(n^3)^7=n^7=(n^3)^2*n". Think about it a little more and you will get it.

Keeping thinking n^3=n, n^3=n.
 

1. What is Fermat's Little Theorem?

Fermat's Little Theorem is a fundamental theorem in number theory that states that if p is a prime number, then for any integer a, the number ap - a is divisible by p.

2. How is Fermat's Little Theorem used to solve number theory problems?

Fermat's Little Theorem is often used to prove the primality of a number or to find the remainder when a number is divided by a prime number. It can also be used to simplify complex number theory problems.

3. Can Fermat's Little Theorem be applied to non-prime numbers?

No, Fermat's Little Theorem only applies to prime numbers. It cannot be used to determine the primality of composite numbers.

4. What is the significance of Fermat's Little Theorem in modern mathematics?

Fermat's Little Theorem is a cornerstone of modern number theory and has many applications in cryptography, coding theory, and other fields. It also paved the way for other important theorems, such as Euler's Theorem and Wilson's Theorem.

5. Are there any limitations to Fermat's Little Theorem?

While Fermat's Little Theorem is a powerful tool in number theory, it does have some limitations. It cannot be used to prove the primality of all prime numbers, and it is not applicable to all number theory problems. Additionally, there are some cases where the theorem may not hold, such as when the base number a is not relatively prime to the modulus p.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
958
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
550
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
5K
Back
Top