Problem

Source:

Tags: modular arithmetic, number theory, equation, IMO Shortlist, LTE Lemma



Find all pairs $(m,n)$ of nonnegative integers for which \[m^2 + 2 \cdot 3^n = m\left(2^{n+1} - 1\right).\] Proposed by Angelo Di Pasquale, Australia