Calculate the sum of all distinct solutions to the congruence x3≡1(mod7)x^3 \equiv 1 \pmod{7}x3≡1(mod7).
1
7
8
0