Find all triples $(x, p, n)$ of non-negative integers such that $p$ is prime and $2x(x + 5) = p^n + 3(x - 1)$.
Problem
Source: New Zealand MO 2021 Round 1 p4
Tags: Diophantine equation, diophantine, number theory
Source: New Zealand MO 2021 Round 1 p4
Tags: Diophantine equation, diophantine, number theory
Find all triples $(x, p, n)$ of non-negative integers such that $p$ is prime and $2x(x + 5) = p^n + 3(x - 1)$.