If ## a ## is an odd integer, then ## a^{2}\equiv 1\pmod {8} ##?

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Integer
AI Thread Summary
If a is an odd integer, then it can be expressed as a=2k+1 for some integer k. The proof shows that a² can be rewritten as 4k(k+1)+1, where k(k+1) is the product of two consecutive integers, thus even. This leads to the conclusion that a²=8m+1, confirming that a²≡1 (mod 8). The discussion also clarifies that even when k=0 for a=1, the product k(k+1) remains even, supporting the overall proof. The conclusion is that for any odd integer a, a² will always be congruent to 1 modulo 8.
Math100
Messages
816
Reaction score
229
Homework Statement
Prove the assertion below:
If ## a ## is an odd integer, then ## a^{2}\equiv 1\pmod {8} ##.
Relevant Equations
None.
Proof:

Suppose ## a ## is an odd integer.
Then ## a=2k+1 ## for some ## k\in\mathbb{Z} ##.
Note that ## a^{2}=(2k+1)^{2}=4k^{2}+4k+1=4k(k+1)+1 ##.
Since ## k(k+1) ## is the product of two consecutive integers,
it follows that ## k(k+1) ## must be even.
This means ## k(k+1)=2m ## for some ## m\in\mathbb{Z} ##.
Thus ## a^{2}=4(2m)+1=8m+1\implies a^{2}\equiv 1\pmod {8} ##.
Therefore, if ## a ## is an odd integer, then ## a^{2}\equiv 1\pmod {8} ##.
 
  • Like
Likes fresh_42 and Delta2
Physics news on Phys.org
I think this is mostly correct, not sure if we should take separately the case ##a=1## (which is obvious that it holds) but for ##a=1## the ##k ## in the proof is zero so I am not sure if ##k(k+1)=0(0+1)=0## can be said to be even in this case.
 
Delta2 said:
I think this is mostly correct, not sure if we should take separately the case ##a=1## (which is obvious that it holds) but for ##a=1## the ##k ## in the proof is zero so I am not sure if ##k(k+1)=0(0+1)=0## can be said to be even in this case.
Why not? ##0=2\cdot 0## is even. It has to be since ##2\mathbb{Z}## is a subgroup of ##\mathbb{Z}.##
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top