Maths Olympiad Prep

Track / Stage 4 / 91 of 340 #351 of 1964

Problem 351

AMC 12 late, AIME early
Number theory Difficulty 4.7 Find the answer

2. Let gg be a natural number, and g4+g3+g2+g+1g^{4}+g^{3}+g^{2}+g+1 is a perfect square, then the sum of all such gg is \qquad .

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Official solution

2. Solving g22g3=0g^{2}-2 g-3=0 yields g=3g=3, so there is only one such gg, which is 3.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.