The number 2014 has 4 distinct digits; 1 digit is odd, and 3 digits are even, of which one is zero.
How many 4-digit numbers (the first cannot be 0) have these properties?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I think it should be mentioned here that even digits should not be the same
Let 4 digit number be ABCD
Case 1: A is odd
A = 5 possible odd numbers, B = 5 possible even numbers, C = 4 possible even numbers, D = 3 possible even numbers
Total = 5x5x4x3 = 300
Case 2: A is even
A = 4 possible even numbers, B = 5 possible odd numbers, C = 4 possible even numbers, D = 3 possible even numbers
Total = 4x5x4x3 = 240
Total Ways = 300 + 240 = 540
don't you need to count the number of possible ways B, C, and D are arranged for the second case?
Call a, b, c and 0 are four digits of finding number. Having some formats of this number: abc0, ab0c, a0bc. In which a, b, c can be chosen from nine digits: 1, 2, 3, 4, 5, 6, 7, 8, 9. And the number of ways to choose abc from nine digits is: C 3 9 The number of ways to choose a odd digit is: C 1 5 The number of ways to choose two even digits: C 2 4 So the number of ways to get this number is: C 1 5 C 2 4 × 3 × 3 ! = 5 × 2 ! 2 4 ! × 3 × 3 ! = 5 4 0
from where did you get this 3! ?
Nevermind.. I got it.. Thx
It was a little unclear that one of the numbers had to be a "0". I interpreted that reference as just noting that zero was even.
Adding the word "the" as in "the first cannot be the 0" would be enough to disambiguate it.
Problem Loading...
Note Loading...
Set Loading...
The mistake that I made for my first try was that for some reason I neglected the zero condition.
Anyway straight forward counting:
first we place the zero, 3 choices(not the first digit) then the odd number, 3 choices for position and 5 choices for number. finally the even number, 4 ∗ 3 ways to fill the vacant spots.
Together 3 ∗ 3 ∗ 5 ∗ 4 ∗ 3 = 5 4 0 is our answer.