262. Here's how:
Let's look at 1 to 99, where 18 number contain a 9 digit. First there is 1 to 89, which 8 numbers contain the nine: {9,19,29,...89}, then all ten of the 90's have a 9, so that's 18. The next 8 groups, [101-199], [201-299] ... [801-899] follow this same pattern. and finally all 100 of the numbers [900 - 999] contain a 9.
So it is 100 + (9 x 18) = 262
This assumes you mean whole numbers only, as decimals or rationals would create an infinite set of numbers (unless you limited it to a certain number of decimal places)
Chat with our AI personalities
997
45 of them.
There are 107 numerical palindromes between the numbers 1 and 1000, starting from 2 to 999.
All the numbers between 999 and 3000 are four-digit numbers. You need to subtract 3000 - 999 - 1. The extra -1 is to account for the fact that the numbers 999 and 3000, in this case, are not included.
1, 3, 9, 27, 37, 111, 333, 999