Maths Olympiad Prep

Library / /21 of 24

Number theory Difficulty 5.5 AIME, harder Prove it United States

Problem:

Pirate ships Somy and Lia are having a tough time. At the end of the year, they are both one pillage short of the minimum required for maintaining membership in the Pirate Guild, so they decide to pillage each other to bring their counts up. Somy by tradition only pillages 283k28 \cdot 3^{k} coins for integers kk, and Lia by tradition only pillages 823j82 \cdot 3^{j} coins for integers jj. Note that each pillage can have a different kk or jj. Somy and Lia work out a system where Somy pillages Lia nn times, Lia pillages Somy nn times, and after both sets of pillages Somy and Lia are financially even.
What is the smallest nn can be?

Solution

Solution:

Answer: 2

Clearly, n=1n=1 cannot be achieved, because 283k28 \cdot 3^{k} is never a multiple of 8282. However, two pillages is enough: Somy pillages 2828 and 288128 \cdot 81 from Lia, and Lia pillages 8181 and 812781 \cdot 27 from Somy. As is easily checked, both pillage 288228 \cdot 82.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.