MathDB
(n -1)2^{n - 1} + 5 = m^2 + 4m

Source: OLCOMA Costa Rica National Olympiad, Final Round, 2016 Shortlist N3 day2

September 24, 2021
Diophantine equationdiophantinenumber theory

Problem Statement

Find all natural values of nn and mm, such that (n1)2n1+5=m2+4m(n -1)2^{n - 1} + 5 = m^2 + 4m.