MathDB
pq | (5^p - 2^p )(7^q - 2^q ) if p <= q

Source: 1st Final Mathematical Cup 2019 FMC , juniors p3

October 6, 2020
number theorydividesdivisible

Problem Statement

Determine every prime numbers pp and q,pqq , p \le q for which pq(5p2p)(7q2q)pq | (5^p - 2^ p )(7^q -2 ^q )