Modular Arithmeticmedium
0:00.0

Find the number of elements aZ10a \in \mathbb{Z}_{10} such that a2a(mod10)a^2 \equiv a \pmod{10}.