Problem
2008 HMMT November Guts Round Problem 32
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 28 \cdot 3^k coins for integers k, and Lia by tradition only pillages 82 \cdot 3^j coins for integers j. Note that each pillage can have a different k or j. Soma and Lia work out a system where Somy pillages Lia n times, Lia pillages Somy n times, and after both sets of pillages Somy and Lia are financially even.
What is the smallest n can be?
Answers are checked by value, so any equivalent form is accepted: 1/2, \frac{1}{2} and 0.5 all count as the same answer.
Full credit goes to HMMT for authoring these problems. This problem is from the November 2008 contest; the official solution is available on the HMMT archive. HMMT is not affiliated with or endorsing TopsOJ in any way.
Want to contribute problems and receive full credit? Click here to add your problem!
Please report any issues to us in our Discord server
Go to previous contest problem (SHIFT + Left Arrow) Go to next contest problem (SHIFT + Right Arrow)
Problem feedback