Problem

Source:

Tags: number theory, prime numbers



Find all triples $(m,p,q)$ such that \begin{align*} 2^mp^2 +1=q^7, \end{align*}where $p$ and $q$ are ptimes and $m$ is a positive integer.