Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.8.5* ($\sum_{i=1}^n i = m^2$ has infinitely many solutions)
Exercise 7.8.5* ($\sum_{i=1}^n i = m^2$ has infinitely many solutions)
Prove that the sum of the first natural numbers is a perfect square for infinitely many values of .
Answers
Proof. The sum of the first natural numbers is .
For all positive integers , we have the following equivalence:
Let be any positive solution of . Then is odd, so is odd. There exists some integer such that . Put . Then , so .
By Theorem 7.25, there are infinitely many positive solutions of . For each such solution, is a solution of .
Therefore the sum of the first natural numbers is a perfect square for infinitely many values of . □
Note: the first solutions are