Problem

Source: 2023 ISL N2

Tags: number theory, IMO Shortlist, AZE IMO TST, TST



Determine all ordered pairs $(a,p)$ of positive integers, with $p$ prime, such that $p^a+a^4$ is a perfect square. Proposed by Tahjib Hossain Khan, Bangladesh