Problem

Source:

Tags: inequalities, number theory, prime numbers, number theory proposed



Find all pairs of prime numbers $p\,,q$ for which: \[p^2 \mid q^3 + 1 \,\,\, \text{and} \,\,\, q^2 \mid p^6-1\] Proposed by P. Boyvalenkov