Browse · MathNet
Print62nd Ukrainian National Mathematical Olympiad, Third Round, First Tour
Ukraine number theory
Problem
In one magic country there are only banknotes of nominal 3, 25 and 80 hryvnyas. Businessman Victor ate in a restaurant of this country for 2024 days in a row, and each day he paid (without change) exactly 1 hryvnya more than the previous one. Is it possible that he paid exactly a million banknotes?
Solution
Suppose that he paid the sum of UAH with banknotes, among which there are of 3 UAH, of 25 UAH, and of 80 UAH. Then If is the sum that he paid in the first day, then in the -th day he paid a sum of with precisely banknotes. From the above formula it follows that . As , the right side is divisible by 11, so the left side, equal to the total number of pair banknotes, also is divisible by 11. But the number 1000000 isn't divisible by 11, so Victor couldn't have used exactly a million banknotes.
Final answer
No
Techniques
Inverses mod nSums and products