When the third grade pupil Benjamin calculated the sum , he forgot to add some terms, and he got an incorrect sum that was divisible by . When Anika calculated the sum , she forgot to add the same terms as Benjamin, and she got an incorrect sum that was divisible by . What is the ratio of the two sums?
, 2013
Solution
Let us denote the sum of the terms omitted by Benjamin by . Since , Benjamin's result was equal to . So, there exists a non-negative integer , such that .
Since , Anika's result was equal to . So, there exists a non-negative integer , such that .
Expressing from both equalities and comparing the results we get , or . This last equality can be rearranged to .
Since , we get . So, . At the same time is divisible by and the equality implies it is also divisible by . This is only possible for or .
Hence, .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.