2018BALKAN MATHEMATICAL OLYMPIAD-4


求所有质数p, q, 使得3p^{q-1}+1\mid 11^p+17^p.

Find all primes p and q such that 3p^{q-1}+1 divides 11^p+17^p.