I have a statement that says:
For every $n >= 2$.
If n is an odd number then $7^{n}-1$ is not divisible by 4
Prove whether the statement is true or false.
The proof:
$7\cong -1 (mod 4)$ so $7^n-1\cong (-1)^n-1\cong -1(mod 4)$ and thus 4 does not divide $7^n-1$
I can't find any good explanations on the net.
The most I know from congruency is that a $\cong b(mod (n)))$ if n divides $a - b$.
You are on the right track.
$$7\equiv -1 \pmod4$$ $$7^n\equiv (-1)^n \pmod4$$ And for odd $n$, we have $$7^n\equiv -1 \pmod4$$ $$7^n -1\equiv -1-1\pmod4$$ $$7^n -1\equiv -2\not \equiv 0\pmod4$$
So the given statement is true.