Derive ## a^{7}\equiv a\pmod {42} ## for all ## a ##

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Derive
Click For Summary

Homework Help Overview

The discussion revolves around proving the congruence relation ## a^{7}\equiv a\pmod {42} ## for all integers ## a ##, utilizing properties of modular arithmetic and potentially Fermat's theorem.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the application of Fermat's theorem and question its validity for all integers. There is a suggestion to consider a general version of the theorem. Attempts to derive the congruence through various modular relationships are discussed.

Discussion Status

The conversation includes multiple perspectives on the application of Fermat's theorem and its conditions. Some participants provide alternative approaches and suggest ways to express congruences more succinctly. There is an ongoing exploration of the reasoning behind the congruences without reaching a definitive conclusion.

Contextual Notes

Participants note that the application of Fermat's theorem requires certain conditions, leading to discussions about which theorems or principles are appropriate for the proof. The nature of the integers involved and their relationships under modulo operations are also under consideration.

Math100
Messages
823
Reaction score
234
Homework Statement
Derive the following congruence:
## a^{7}\equiv a\pmod {42} ## for all ## a ##.
Relevant Equations
None.
Proof:

Observe that ## 42=6\cdot 7=2\cdot 3\cdot 7 ##.
Applying the Fermat's theorem produces:
## a\equiv 1\pmod {2}, a^{2}\equiv 1\pmod {3} ## and ## a^{6}\equiv 1\pmod {7} ##.
Thus
\begin{align*}
&a\equiv 1\pmod {2}\implies a^{6}\equiv 1\pmod {2}\implies a^{7}\equiv a\pmod {2}\\
&a^{2}\equiv 1\pmod {3}\implies a^{6}\equiv 1\pmod {3}\implies a^{7}\equiv a\pmod {3}\\
&a^{6}\equiv 1\pmod {7}\implies a^{7}\equiv a\pmod {7}.\\
\end{align*}
Therefore, ## a^{7}\equiv a\pmod {42} ## for all ## a ##.
 
Physics news on Phys.org
Fermat's theorem doesn't apply to all ##a##.
 
Then what should we apply here without the Fermat's theorem?
 
Math100 said:
Then what should we apply here without the Fermat's theorem?
You have used Fermat's theorem in the version ##\operatorname{gcd}(a,p)=1.##
The general version says ##a^p\equiv a\pmod{p}.## Try that one.
 
Proof:

Observe that ## 42=6\cdot 7=2\cdot 3\cdot 7 ##.
Applying the Fermat's theorem produces:
## a^{2}\equiv a\pmod {2}, a^{3}\equiv a\pmod {3} ## and ## a^{7}\equiv a\pmod {7} ##.
Thus
\begin{align*}
&a^{2}\equiv a\pmod {2}\implies a^{6}\equiv a^{3}\pmod {2}\\
&\implies a^{7}\equiv a^{4}\pmod {2}\implies a^{7}\equiv (a^{2}\cdot a^{2})\pmod {2}\implies a^{7}\equiv a\pmod {2}\\
&a^{3}\equiv a\pmod {3}\implies a^{6}\equiv a^{2}\pmod {3}\\
&\implies a^{7}\equiv a^{3}\pmod {3}\implies a^{7}\equiv a\pmod {3}.\\
\end{align*}
Since ## 2, 3, 7 ## are relatively prime to each other,
it follows that ## a^{7}\equiv a\pmod {2\cdot 3\cdot 7}\implies a^{7}\equiv a\pmod {42} ##.
Therefore, ## a^{7}\equiv a\pmod {42} ## for all ## a ##.
 
Right. I would write the congruences in one line, e.g.
##a^3\equiv a \pmod{3}\Longrightarrow a^7\equiv a^3\cdot a^3 \cdot a\equiv a\cdot a \cdot a \equiv a^3\equiv a\pmod{3}.##
 
Last edited:
  • Like
Likes   Reactions: Math100
fresh_42 said:
Right. I would write the congruences in one line, e.g.
##a^3\equiv a \pmod{3}\Longrightarrow a^7\equiv a^3\cdot a^3 \cdot a\equiv a\cdot a \cdot a \equiv a^3\equiv a\pmod{3}.##
This is way better.
 
Last edited by a moderator:

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
3K