Problem

Source: BdMO 2024 Higher Secondary National P1

Tags: number theory, Diophantine equation, modular arithmetic, prime numbers



Find all prime numbers $p$ and $q$ such that\[p^3-3^q=10.\] Proposed by Md. Fuad Al Alam