Problem

Source: Greece JBMO TST 2019 p2

Tags: number theory, Diophantine equation, positive integers



Find all pairs of positive integers $(x,n) $ that are solutions of the equation $3 \cdot 2^x +4 =n^2$.