Problem

Source:

Tags: PMO, 2009, diophantine, number theory



(a) Find all pairs $(n,x)$ of positive integers that satisfy the equation $2^n + 1 = x^2$. (b) Find all pairs $(n,x)$ of positive integers that satisfy the equation $2^n = x^2 + 1$.