MathDB
Find all pairs of primes

Source: Iran Third Round 1997, E3, P7

March 25, 2011
modular arithmeticnumber theory proposednumber theory

Problem Statement

Find all pairs (p,q)(p,q) of prime numbers such that m3pqm(mod3pq)mZ.m^{3pq} \equiv m \pmod{3pq} \qquad \forall m \in \mathbb Z.