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.
Looking for a route rather than an archive? The track puts 2,000
problems in a working order, from AMC 10 level to the IMO shortlist.