Find all possible values of q-p
Source: 2012 European Girls’ Mathematical Olympiad P5
April 13, 2012
number theorymodular arithmeticequationEGMOprimesGCD
Problem Statement
The numbers and are prime and satisfy
for some positive integer . Find all possible values of .Luxembourg (Pierre Haas)