Dates with 8 consecutive digits

3.1k Views Asked by At

In many places, dates are written as DD/MM/YYYY. For example, the 25th of April 1736 is written as 25/04/1736. Dates such as this one that use 8 consecutive digits (not necessarily in order) will be called illions.

  1. What is the first illion after 2015?
  2. Why must there be a 0 in every illion in the years 2000 to 2999?
  3. Why must every illion in the years 2000 to 2999 have 0 as the first digit of the month?
  4. How many illions are in the years 2000 to 2999?

(You cannot use the same digit twice in an illion)

I have tried to list all of the possibilities however, I have found this highly time consuming. I was wondering what method I should use to solve these questions without listing all the possibilities.

Thank you :)

5

There are 5 best solutions below

1
On BEST ANSWER

(1) As argued in (2) below, the month contains a $0$ or is $12$, hence either the year is $>2999$ or does not contain a $0$. This makes $2134$ the earliest possible year. However, the leading digit of the day is $0$, $1$, $2$, or $3$, so that we must up the year to $2145$ at least, which allows day $30$ but then conflicts with the $0$ in the month. The next option is that the year does not use $1$ (nor $0$), which happens for the first time in $2345$. We can find an illion in that year: We know we use $0$ in the month (preferably as leading digit). Then the leading digit of the day must be $1$. Now the lowest valid month is $06$ and we can take $17/06/2345$

(2) If the two-digit month does not contain a zero and has two distinct digits, it must be December. But then the use of $2$ conflicts with the leading $2$ of the year. Actually, we see that the same argument applies to the year range $1000$ to $2999$.

As in (2), we know that the month cannot be $12$ or $11$. In cannot be $10$ either, because that makes $0,1,2$ used up by month and year, hence the day must have leading digit $3$, but neither $30$ nor $31$ are allowed

For (4), you may want to first enumerate valid day/month combinations (without $2$!) and look for years that fit the gaps.

3
On

This is a partial answer.

  1. Why must there be a 0 in every illion in the years 2000 to 2999?

Suppose that there exists an illion which does not have $0$. Let $AB/CD/2EFG$. Since $C$ has to be either $0$ or $1$, one has $C=1$. So, the $8$ consecutive numbers have to be $12345678$ (not $23456789$). But this is a contradiction because no number in $345678$ can fit for $D$.

  1. Why must every illion in the years 2000 to 2999 have 0 as the first digit of the month?

Suppose that there exists an illion whose first digit of the month is $1$. This is because the first digit of the month has to be either $0$ or $1$. Let $AB/1C/2DEF$. One has $C=0$ because $C$ has to be either $0,1,2$ (Note that the first digit of the month is $1$ and that $1,2$ are already used). Also, one has $A=3$ because $A$ has to be either $0,1,2,3$ but $0,1,2$ are already used. However, this is a contradiction because no number in $34567$ can fit for $B$.

2
On

Assuming that we are done with $(1)-(3)$, number $(4)$ can be handled as follows:

We have $DD/0M/2YYY$.

For $DD=31$ we have $M\in\{5,7\}$ and the remaining digits of the year can be shuffled. This makes $2\cdot 3!=12$ dates.

For leading $D=1$, $M$ can be chosen freely. Thus the remaining five digits can be shuffled making $5!=120$ more dates.

Thus we have a total of $132$ possible dates, illions that is :o)

1
On

for (d) there are 5 numbers to play around with in the 2nd day spot the 2nd month spot and the 2nd 3rd and 4rth year spots there are 5 different days and 4 different months and 6 different years per day. this means that there is 1560 illions between 2000 and 2999 which doesn't really make sense but any way that's the answer I got

1
On

0 to 7 are the lowest consecutive numbers you can use. Months only consist of 0,1,2. Use the 2,3,4,5 for the year. That is the next closest. Now your trying to find the shortest month so the 0 is used. Now you cant use the 1 here otherwise you wont be able to make a date up for the day. Eg 67/01/2345 is impossible. Therefore you use the lowest number as June is before July and the 7 goes to the day. 17/06/2345