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

  • Thread starter Math100
  • Start date
  • Tags
    Integer
In summary, if ##a## is an odd integer, then ##a^{2}\equiv 1\pmod{8}##. This is proven by writing ##a=2k+1## for some ##k\in\mathbb{Z}## and showing that ##a^{2}=4k(k+1)+1##, which is always congruent to 1 modulo 8. This holds for all odd integers, including the case where ##a=1##, since ##k(k+1)=0## is even.
  • #1
Math100
802
222
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
  • #2
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.
 
  • #3
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}.##
 
  • Informative
Likes Delta2

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

What does the notation "a ≡ b (mod n)" mean?

The notation "a ≡ b (mod n)" means that a and b have the same remainder when divided by n. In other words, a and b are congruent modulo n.

How do you prove that a given integer is odd?

An integer is odd if it is not divisible by 2. This can be proven by showing that the integer leaves a remainder of 1 when divided by 2.

What does it mean for an integer to be congruent to 1 (mod 8)?

If an integer is congruent to 1 (mod 8), it means that the integer leaves a remainder of 1 when divided by 8. In other words, the integer is one more than a multiple of 8.

How do you prove that a given integer squared is congruent to 1 (mod 8) if the integer is odd?

If a is an odd integer, then it can be expressed as a = 2k + 1, where k is an integer. Squaring both sides, we get a² = 4k² + 4k + 1. Since 4k² and 4k are both divisible by 8, they can be written as 8m and 8n respectively. Therefore, a² = 8m + 8n + 1, which is congruent to 1 (mod 8).

Can this statement be generalized to other moduli?

Yes, the statement "If a is an odd integer, then a² ≡ 1 (mod n)" can be generalized to other moduli. The proof would follow a similar logic, using the fact that a can be expressed as a = nk + 1, where k is an integer. The resulting congruence would be a² ≡ 1 (mod n).

Back
Top