Which dates contain no repetitions of a digit?
Question
This question concerns calendar dates of the form in the order day/month/year.
The question specifically concerns those dates which contain no repetitions of a digit. For example, the date is such a date but is not such a date as both and are repeated digits.
We will use the Gregorian Calendar throughout (this is the calendar system that is standard throughout most of the world; see below.)
- Show that there is no date with no repetition of digits in the years from to .
- What was the last date before today, , with no repetition of digits? Explain your answer.
- When will the next such date be? Explain your answer.
- How many such dates were there in years from to ? Explain your answer.
[The Gregorian Calendar uses 12 months, which have, respectively, , or , , and days. The second month (February) has days in years that are not divisible by , or that are divisible by but not (such as ); it has days in the other years (leap years).]
Suggestion
This question concerns calendar dates of the form in the order day/month/year.
The question specifically concerns those dates which contain no repetitions of a digit. For example, the date is such date but is not such a date as both and are repeated digits.
We will use the Gregorian Calendar throughout (this is the calendar system that is standard throughout most of the world; see below.)
Which digits are already in use?
Solution
This question concerns calendar dates of the form in the order day/month/year.
The question specifically concerns those dates which contain no repetitions of a digit. For example, the date is such date but is not such a date as both and are repeated digits.
We will use the Gregorian Calendar throughout (this is the calendar system that is standard throughout most of the world; see below.)
Any date which has a year from to will have and .
Therefore, cannot be , so .
Since there are only months, can be only , or , but any of these values will lead to repetitions.
Hence, there is no date with no repetition of digits in the years from to .
We should aim for dates of the form , since we already know that there is no date from to that will work.
Also, since we want the last day, we should find the biggest values possible, starting with the year. The greatest value for a year with no repeated digits is .
Now we aim to find the greatest possible value for the month. Since , and will all lead to repeated digit , this is .
For the day, we cannot use and and so the day cannot be or . So the biggest day with no repeated values is .
Hence the last date before with no repetition of digits is .
To find the next such date after we aim to choose the smallest values for day, year and month, starting with the year.
Since every date from to repeats digits, the date we seek should be of the form , with .
If , then, in order to avoid repetitions, and .
But then we will have no possible value for , as we cannot use or .
So cannot be . Moreover, by the same argument, and should also be different from .
The next possible value is . Since we want the minimum value of , and we cannot use or , .
So the minimum value of the month that we can choose is , and the minimum one for the day is .
Therefore the next date with no repeated digits is .
Since we want years from to , and .
Also, , as it cannot be . Since we have used and , and the only days starting with are and , which cannot be used, .
For the other positions, namely, , , and , we can choose any of the digits that remain unused.
So we have ways of choosing , ways of choosing (as it should be different from ), ways of choosing and ways of choosing .
Hence, there are such dates in the years from to .