Problem:
The sum of the first m positive odd integers is 212 more than the sum of the first n positive even integers. What is the sum of all possible values of n?
Answer Choices:
A. 255
B. 256
C. 257
D. 258
E. 259
Solution:
The sum of the first k positive integers is 2k(k+1)β. Therefore the sum of the first k even integers is
2+4+6+β―+2k=2(1+2+3+β―+k)=2β
2k(k+1)β=k(k+1).
The sum of the first k odd integers is
(1+2+3+β―+2k)β(2+4+6+β―+2k)=22k(2k+1)ββk(k+1)=k2.
The given conditions imply that m2β212=n(n+1), which may be rewritten as n2+n+(212βm2)=0. The discriminant for n in this quadratic equation is 1β4(212βm2)=4m2β847, and this must be the square of an odd integer. Let p2=4m2β847, and rearrange this equation so that (2m+p)(2mβp)=847.
The only factor pairs for 847 are 847β
1,121β
7, and 77β
11. Equating these pairs to 2m+p and 2mβp yields (m,p)=(212,423),(32,57), and (22,33). Note that the corresponding values of n are found using n=2β1+pβ, which yields 211,28, and 16, respectively. The sum of the possible values of n is (A)255β.
The problems on this page are the property of the MAA's American Mathematics Competitions