Problem:
Set A consists of m consecutive integers whose sum is 2m, and set B consists of 2m consecutive integers whose sum is m. The absolute value of the difference between the greatest element of A and the greatest element of B is 99. Find m.
Solution:
Let the smallest elements of A and B be (n+1) and (k+1), respectively. Then
2mmβ=(n+1)+(n+2)+β―+(n+m)=mn+21ββ
m(m+1), and =(k+1)+(k+2)+β―+(k+2m)=2km+21ββ
2m(2m+1)β
The second equation implies that k+m=0. Substitute this into β£k+2mβ (n+m)β£=99 to obtain n=Β±99. Now simplify the first equation to obtain 2=n+(m+1)/2, and substitute n=Β±99. This yields m=β195 or m=201. Because m>0,m=201β.
OR
The mean of the elements in A is 2, and the mean of the elements in B is 1/2. Because the mean of each of these sets equals its median, and the median of A is an integer, m is odd. Thus A={2β2mβ1β,β¦,2,β¦,2+2mβ1β}, and B={βm+1,β¦,0,1,β¦,m}. Therefore β£β£β£β2+2mβ1ββmβ£β£β£β=99, which yields β£β£β£β23βmββ£β£β£β=99, so β£3βmβ£=198. Because m>0,m=201β.
The problems on this page are the property of the MAA's American Mathematics Competitions