There are finitely many primes p for which the congruence \(8x\equiv 1\pmod{p}\) has no solutions x. Determine the sum of all such p.
I think the only prime, p, for which 8x = 1 mod(p) has no solutions is p = 2.
.