# End of a 999-Digit Number

**Discrete Mathematics**Level 3

A 999-digit number starts with 9. Every 2 consecutive digits is divisible by 17 or 23. There are 2 possibilities for the last 3 digits. What is the sum of these 2 possibilities?

**Details and assumptions**

If you believe that the sum is over 999, enter your answer as 999.

If the number is 12345, then **every 2 consecutive digits** refers to the number 12, 23, 34 and 45.

The number **starts with 9** if the leftmost digit is a 9.