Problem 6 Find all pairs (p,q)(p,q)(p,q) of prime numbers such that m3pq≡m(mod3pq)∀m∈Z.m^{3pq} \equiv m \pmod{3pq} \forall m \in \mathbb Z.m3pq≡m(mod3pq)∀m∈Z.