Problem

Source: Turkey Junior National Olympiad 2013 P2

Tags: modular arithmetic, number theory proposed, number theory



Find all prime numbers $p, q, r$ satisfying the equation \[ p^4+2p+q^4+q^2=r^2+4q^3+1 \]