Maths Olympiad Prep

Library / /20 of 25

, 2008

Number theory Difficulty 6.5 National olympiad Prove it Ukraine

There are five piles made of 4242, 7070, 105105, 462462, and 20092009 stones respectively. You are allowed to do the following: instead of two piles consisting of aa and bb stones you can make
* two piles of aa and (a+b)(a+b) stones;
* two piles of aa and ab|a-b| stones.
You can also choose kk different piles, in which the total number of stones equals nknk where nn is some natural number, and create
* kk piles of nn stones in each one instead.
Can we make five piles each of which will consist of
a) 20082008 stones;
b) 20092009 stones
in finite number of steps?

Solution

a) We can easily find that the GCD of all the numbers 4242, 7070, 105105, 462462, and 20092009 is 77. For every operation you are allowed to perform the number of stones in piles stays divisible by 77. Therefore the answer is "No" as the number 20082008 is not divisible by 77.

b) In the second case the answer is "Yes". One of the ways to obtain the necessary set of piles is as follows: (42,70,105,462,2009)(42,35,105,462,2009)(7,35,105,462,2009)(42,70,105,462,2009) \to (42,35,105,462,2009) \to (7,35,105,462,2009). Now we have a pile of 77 stones and can increase the other pile by 77 stones 10611061 times: (7,35+7×1061,105,462,2009)\to (7,35+7 \times 1061,105,462,2009). After that we divide the five derived piles into equal parts, in which the total number of stones equals 1004510045, and arrive at the desired result.

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.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.