82.2k views
4 votes
Dates can be written as month/day/year using integers 1 through 12 for the month, followed by the day of the month, followed by the last two digits of the year. The date 12/3/45 is an increasing sequence of consecutive digits, while 1/ 22/34, 1/2/35 and 1/2/03 are not. For how many days in one century is the date an increasing sequence of consecutive digits?

User Vivri
by
8.3k points

2 Answers

5 votes

Answer:

8

Step-by-step explanation:

1. 1 / 23 / 45;

2. 2 / 3 / 45;

3. 3 / 4 / 56;

4. 4 / 5 / 67;

5. 5 / 6 / 78;

6. 6 / 7 / 89;

7. 12 / 3 / 45; and

8. 1 / 3 / 34.

User Pavel Biryukov
by
8.0k points
4 votes

Answer:

There are 8 days in the century that the sequence is repeated in one century.

User Pee
by
9.4k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.