Given the following problem:
Prove that the square any odd number is equal to a multiple of $8$ plus $1$:
- Using congruence.
- Applying the division algorithm.
I believe that the square of an odd number would be represented by $(2k_1-1)^2$ and based on the problem, it appears to be stating that; $(8k_2+1)$ divides $(2k_1-1)^2$.
Therefore, for the first part of the problem (1.), would it be $(2k_1-1)^2\equiv0\mod{(8k_2+1)}$?
If not how can I interpret and solve this problem including the second part?
Let $k$ be a non-negative integer. Then $$(2k+1)^2=4k^2+4k+1=4k(k+1)+1.$$ The product of two consecutive integers must be even so let $k(k+1)=2n$ for some $n\in\mathbb{N}$. Then $$(2k+1)^2=4(2n)+1=8n+1\equiv1 \mod8$$ as desired.