Problem

Source: Bosnia and Herzegovina TST 2013 problem 4

Tags: inequalities, symmetry, number theory proposed, number theory



Find all primes $p,q$ such that $p$ divides $30q-1$ and $q$ divides $30p-1$.