Prove that ## a^{3}+1 ## is divisible by ## 7 ##.

  • Thread starter Thread starter Math100
  • Start date Start date
AI Thread Summary
The discussion presents a proof that \( a^3 + 1 \) is divisible by 7 under the condition that \( 7 \nmid a \). Using Fermat's theorem, it is established that \( a^6 \equiv 1 \pmod{7} \), leading to the conclusion that \( 7 \mid (a^6 - 1) \). The expression \( a^6 - 1 \) can be factored into \( (a^3 - 1)(a^3 + 1) \), indicating that if \( 7 \nmid (a^3 - 1) \), then \( 7 \mid (a^3 + 1) \). The proof highlights the properties of prime numbers, reinforcing that if a prime divides a product, it must divide at least one of the factors. Thus, the argument confirms that either \( a^3 + 1 \) or \( a^3 - 1 \) is divisible by 7 when \( 7 \nmid a \).
Math100
Messages
813
Reaction score
229
Homework Statement
If ## 7\nmid a ##, prove that either ## a^{3}+1 ## or ## a^{3}-1 ## is divisible by ## 7 ##.
Relevant Equations
None.
Proof:

Suppose ## 7\nmid a ##.
Applying the Fermat's theorem produces:
## a^{7-1}\equiv 1\pmod {7}\implies a^{6}\equiv 1\pmod {7} ##.
This means ## 7\mid (a^{6}-1) ##.
Observe that ## a^{6}-1=(a^{3}-1)(a^{3}+1) ##.
Thus ## 7\nmid (a^{3}-1)\implies 7\mid (a^{3}+1) ## and ## 7\nmid (a^{3}+1)\implies 7\mid (a^{3}-1) ##.
Therefore, if ## 7\nmid a ##, then either ## a^{3}+1 ## or ## a^{3}-1 ## is divisible by ## 7 ##.
 
Physics news on Phys.org
Correct.

You basically use that ##7## is a prime number. That means, ##7\neq \pm1## and if ##7\,|\,a\cdot b \Longrightarrow 7\,|\,a \text{ or } 7\,|\,b.## This is the correct definition of a prime number.
 
Back
Top