Problem

Source: JBMO 2008 Problem 3

Tags: algorithm, modular arithmetic, number theory proposed, number theory



Find all prime numbers $ p,q,r$, such that $ \frac{p}{q}-\frac{4}{r+1}=1$