Olympiad Maths Prep

Library / /15 of 16

Combinatorics Difficulty 6.3 National olympiad Prove it Ukraine

Let us call a year *colored* if the decimal representation of its number has no repeating digits. For example, all years from 20132013 to 20192019 are colored, unlike 20202020.

a) Find the nearest chain of seven consecutive colored years in the future.

b) Can a chain of more than seven consecutive years happen in the future?

Solution

a) Let us show that the nearest sequence of 77 colored years is 2103,,21092103, \ldots, 2109. First, we prove that in this century no sequence of more than six colored years can happen any longer. We see that digits 00 and 22 cannot represent units or tens. Therefore, a chain is broken at each year ending in 00 or 22, which gives us the only way to form a chain of 77 years:
203,204,,209. 20*3, 20*4, \dots, 20*9.
Here, * can only be equal to 11, but this is the current chain. In the next century, after 21002100, the first chain is easy to find: 2103,,21092103, \ldots, 2109.

b) Years we deal with are written with at least four digits. A colored chain cannot contain numbers ending in 9999, hence the number of hundreds doesn't change throughout the chain. This implies that there are only 88 possible last digits.
Assume some colored chain has 88 numbers. We have two cases.
1. All years have the same number of tens. Then there are only 77 options for the last digit. Contradiction.
2. The number of tens changes within the chain. In this case the tens digit cannot be equal to 99. Assume this digit changes from xx to x+1x+1. The chain has 88 numbers, thus, it should have two numbers of the type
abx+x+1,abx+1x. \overline{ab}x+x+1, \overline{ab}x+1x.
For example, they might be 21452145 and 21542154. But then the chain has at least 1010 years (for example, 21452145 to 21542154). Again, we have a contradiction.

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.

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