Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

Find the sum of all positive integers for which is a perfect square.Find the sum of all integers such that is also an integer.
Solution
If for some positive integer , then rearranging we get . Now from the quadratic formula, Because is an integer, this means for some nonnegative integer . Rearranging gives . Thus or , giving or . This gives or , and the sum is .
Final answer
38