Thursday, 10 August 2017

Proof that number ending in $66$ or $06$ is congruent to $2 text{ mod } 4$



Let $N$ be an integer such that we can represent $N$ by its digits as $N=a_na_{n-1}\cdots a_1a_0$. We want to prove that if $a_0,a_1=6$ or if $a_1=0$ and $a_0=6$ then $N\equiv 2 \text{ mod } 4$.



I'm unsure how to proceed here.







I also want to prove that $N$ is a perfect square only if $N\equiv 0 \text{ mod} 4$ or $N\equiv 1 \text{ mod} 4$.



My attempt
Through trial with squares $1,2,3$ I notice a cyclic pattern $1,0,1,0...$ as the remainder. I proceeded by induction assuming that $k^2 \equiv 0 \text{ mod} 4$. thus
$$k^2+1 \equiv 1 \text{ mod} 4$$
But I'm unsure how to get that $2k\equiv 0 \text{ mod } 4$ to complete this. Is the exponentiation identity $a\equiv b \text{ mod } c$ implies that $a^2\equiv b^2 \text{ mod } c$ an iff statement? If so my induction hypothesis gives that $k \equiv 0 \text{ mod } 4$ and the mulitplication rule gives $2k$ congruent to $0$, where I can then apply the addition rule.


Answer



These numbers are $100n+66$ or $100n+6$ since $100=0$ mod $4$ and $66=2$ mod $4$ ($6=2$ mod $4$) the result follows.


No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...