Problem

Source: Cyprus 2022 Junior TST-2 Problem 2

Tags: number theory, primes, prime numbers



Determine all pairs of prime numbers $(p, q)$ which satisfy the equation \[ p^3+q^3+1=p^2q^2 \]