tae3001 said:
i am starting to see it.. but where would I select the distinct digits?? from 90,000 or would i choose
89999,89998,89997 and so on?
or would I take them from 10,000 and 99,999?
(In the following discussion, "Digit #1" is the Leftmost digit.)
Problem #2:
Digit #1 (Leftmost) is chosen from the set {1, 2, 3, 4, 5, 6, 7, 8, 9 ⇒
9 choices}, and Digits #2 thru #5 are chosen from the set {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ⇒
10 choices}, with the provision that each digit is distinct (different).
Thus, Digit #1 has 9 choices, Digit #2 has 9 choices
{=(10 - 1) after eliminating #1's choice}, Digit #3 has 8 choices
{=(10 - 2) after eliminating #1's & #2's choices}, Digit #4 has 7 choices
{=(10 - 3) after eliminating #1's, #2's, & #3's choices}, and Digit #5 has 6 choices
{=(10 - 4) after eliminating #1's, #2's, #3's, & #4's choices}.
{Total # of Numbers from 10000 to 99999 with All Distinct Digits} =
= (9)x(9)x(8)x(7)x(6) = (27216)
Problem #3:
The numbers having
at least 1 odd digit would be those left over after removing numbers having
all even digits. In other words, {90,000 - (# with All Even Digits)}. For the number having all 5 even digits, Digit #1 can be any of {2, 4, 6, or 8 ⇒ 4 choices}, and Digits #2 thru #5 can be any of {0, 2, 4, 6, or 8 ⇒ 5 choices}.
{Total # of Numbers from 10000 to 99999, inclusive, with At Least 1 Odd Digit} =
= 90000 -
{(4)x(5)x(5)x(5)x(5)
} = (87500)
~~