Modular Arithmetichard
0:00.0

Find the sum of all x{0,1,,29}x \in \{0, 1, \dots, 29\} such that x2x(mod30)x^2 \equiv x \pmod{30}.