I am not quite sure how to show that $5^{2m} ≡ 2^{2m} \bmod 7$ , but not $5^{2m} ≡ -2^{2m} \bmod 7$
My answers always show that $5^{2m} ≡ -2^{2m} \bmod 7$ , however, when I denote m with an actual number, it never works.
I am not quite sure how to show that $5^{2m} ≡ 2^{2m} \bmod 7$ , but not $5^{2m} ≡ -2^{2m} \bmod 7$
My answers always show that $5^{2m} ≡ -2^{2m} \bmod 7$ , however, when I denote m with an actual number, it never works.
$$5^2\equiv2^2\pmod7$$
$$\implies(5^2)^m\equiv(2^2)^m$$ for any integer $m\ge0$
Now if $5^{2m}\equiv-2^{2m}\pmod7$
We need $2^{2m}\equiv-2^{2m}$
As $(2,7)=1,$ this implies $$1\equiv-1\pmod7\iff2\equiv0$$
$\bmod 7\!:\,\ \color{#c00}{5\equiv -2}\Rightarrow\, \color{#c00}5^{2m}\!\equiv (\color{#c00}{-2})^{2m}\!\equiv 2^{2m} := n,\,$ and $\,n\not\equiv -n,\,$ else $\,2n\equiv 0\overset{\large \times\ 4}\Longrightarrow n\equiv 0$