MathDB
2016 preRMO p1 (5 \cdot 3^m) + 4 = n^2

Source:

August 9, 2019
algebraDiophantine equationdiophantine

Problem Statement

Consider all possible integers n0n \ge 0 such that (5 \cdot 3^m) + 4 = n^2 holds for some corresponding integer m0m \ge 0. Find the sum of all such nn.