I wanted to know whether the following is true and if so, then how could it be proved:
$$ p^{20} \equiv 1 \pmod {100} $$
$p$ is a prime number other than 2 and 5
In my earlier question I asked $p^{100} \equiv 1\pmod {100} ,p\neq2,5$ but, unable to get above one.
Another way is write:
$$p^{20}-1=(p^{10}-1)(p^{10}+1)=(p^5-1)(p^5+1)(p^{10}+1)=\\ (p-1)(p+1)(p^4+p^3+p^2+p+1)(p^4-p^3+p^2-p+1)(p^{10}+1)$$
Once $p$ is an odd number then
$$2|(p-1) \text{ and }2|(p+1)\to 4|(p^{20}-1)$$
If $p\equiv 1\pmod{5}$ then
$$5|(p-1) \text{ and }5|(p^4+p^3+p^2+p+1)\to 25|(p^{20}-1)$$
If $p\equiv -1\pmod{5}$ then
$$5|(p+1) \text{ and }5|(p^4-p^3+p^2-p+1)\to 25|(p^{20}-1)$$
If $p\equiv \pm2\pmod{5}$
$$25|(p^{10}+1) \to 25|(p^{20}-1)$$
and then
$$100|(p^{20}-1)$$