Question 30Find all pairs $(x, n)$ of positive integers satisfying the equation: $$ 3 \cdot 2^x + 4 = n^2. $$