# Math

posted by .

how many 3-digit numbers can be formed using only the digits 1 to 7, if the number 2 must be included? (Repetitions are allowed)

The books says 127. Could someone please explain this? Thanks

• Math -

Since repetition is allowed, and the 2 must be included, it is easy to forget that the 2 can show up once, twice or even three times

case 1: only one 2
number of ways = 3(6)(6) = 108
(2XX, X2X, XX2, where X is one of the other 6 digits)

case 2: two 2's
number of ways = 3(6) = 18
(22X, 2X2, X22, where X is one of the other 6 digits)

case 3: three 2's , namely 222
number of ways = 1

total = 108+18+1 = 127

• Math -

127=7^3-6^3

7^3 all 3-digit numbers, formed using
1,2,3,4,5,6,7
6^3 ... using 1,3,4,5,6,7

• Math -

Mgraph
Very nice, good logic.

## Similar Questions

1. ### math,correction

can someone correct this for me parts A-E and if i am wrong can you help me....please How many 7-digit telephone numbers are possible if the first digit cannot be zero and..... a) only odd digits may be used?
2. ### math,correction, bobpursly

Since when is 5^7 =8125? if a number is a multple of ten, that means the last digit is zero. The leading digit cannot be zero. 9*10^5*1 on c, again, the leading digit cannot be zero. d is right e. no leading zero is allowed. 9*9*8*7*6*5*4=
3. ### Math

How many 4-character license plates are possible with 2 letters from the alphabet followed by 2 digits, if repetitions are allowed?
4. ### Math for Elementary Teachers II

How many 4-digit license plates can be made by using the digits 0, 2, 4, 6, and 8 if repetitions are allowed?
5. ### MATH157

How many 4-digit license plates can be made by using the digits 0, 2, 4, 6, and 8 if repetitions are allowed?
6. ### Math

How many odd four-digit numbers, all of the digit different can be formed from the digits 0 to 7, if there must be a 4 in the number?
7. ### algebra

Consider making a four-digit I.D. number using the digits 3,5,8, and 0 a. How many I.D. numbers can be formed using each digit once?
8. ### Math

How many 3-digit numbers can be formed sing the digits 0,1, 2, 3, 4, 5, 6, if repetitions are not allowed?
9. ### math

How many five digit numbers can be formed for the set { 0,1,2,3,4,5,6,7,8,9} if zero cannot be the first digit and the given condition for each is to be satisfied?
10. ### Math Finite

How many Three digit numbers less than 600 can be formed from the digits: 2,3,5,6 & 8. W/ no repetitions allowed.

More Similar Questions