SOLUTION: How many 10 digit numbers can be formed if the first three digits are 407?

Algebra ->  Sequences-and-series -> SOLUTION: How many 10 digit numbers can be formed if the first three digits are 407?      Log On


   



Question 375018: How many 10 digit numbers can be formed if the first three digits are 407?
Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
How many 10 digit numbers can be formed if the first three digits are 407
There are two methods.  I'll do both.

----------------------------------------

The largest 10 digit number that has the first three digits 407 is

4079999999

and that number is the the number of positive integers from 1 to 4079999999,
inclusively.

We wish to subtract from that the number of integers less than that number
which do not have 407 as its first three digits.

The largest 10-digit number that does not have its first three digits as 407 is

4069999999

and that is the number of positive integers from 1 to 4069999999, inclusively.

So we subtract the second number from the first number:

 4079999999
-4069999999
-----------
   10000000

------------------------------------

Or we could do it as an arithmetic sequence:

a%5B1%5D=4070000000, a%5Bn%5D=4079999999, d=1

Then use the formula

a%5Bn%5D=a%5B1%5D%2B%28n-1%29d

4079999999=4070000000%2B%28n-1%29%281%29

4079999999=4070000000%2Bn-1

4079999999=4069999999%2Bn

10000000=n

Edwin