Posted by **Jim** on Saturday, May 7, 2011 at 3:05pm.

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 -
**Reiny**, Saturday, May 7, 2011 at 3:29pm
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 -
**Mgraph**, Saturday, May 7, 2011 at 3:32pm
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 -
**Reiny**, Saturday, May 7, 2011 at 3:38pm
Mgraph

Very nice, good logic.

## Answer this Question

## Related Questions

- Math for Elementary Teachers II - How many 4-digit license plates can be made by...
- math,correction, bobpursly - Since when is 5^7 =8125? if a number is a multple ...
- algebra - Consider making a four-digit I.D. number using the digits 3,5,8, and ...
- MATH157 - How many 4-digit license plates can be made by using the digits 0, 2, ...
- math,correction - can someone correct this for me parts A-E and if i am wrong ...
- Math - How many 4-character license plates are possible with 2 letters from the ...
- Math - How many odd four-digit numbers, all of the digit different can be formed...
- Math - How many 4-character license plates are possible with 2 letters from the ...
- Math - How many 2-digit numbers can be formed using only the digits 2, 3, 5, and...
- Algebra 2 - Using the integers 2,3,4,5, How many 3-digit odd numbers less than ...

More Related Questions