9- 2014

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?


The answer is 540.

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.

3 solutions

Xuming Liang
Jun 16, 2014

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 3 choices(not the first digit) then the odd number, 3 3 choices for position and 5 5 choices for number. finally the even number, 4 3 4*3 ways to fill the vacant spots.

Together 3 3 5 4 3 = 540 3*3*5*4*3=\boxed {540} is our answer.

I think it should be mentioned here that even digits should not be the same

Nk Goyal - 2 months, 2 weeks ago

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?

Julian Sutadi - 10 months, 1 week ago
Aaaaa Bbbbb
Jun 16, 2014

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 C_3^{9} The number of ways to choose a odd digit is: C 1 5 C_1^{5} The number of ways to choose two even digits: C 2 4 C_2^{4} So the number of ways to get this number is: C 1 5 C 2 4 × 3 × 3 ! = 5 × 4 ! 2 ! 2 × 3 × 3 ! = 540 C_1^{5} C_2^{4} \times 3 \times 3! = 5 \times \frac{4!}{2!^2} \times 3 \times 3! = \boxed{540}

from where did you get this 3! ?

Ulisses Alves Dias - 6 years, 12 months ago

Log in to reply

3! is number of permutations of abc

Nguyen Thanh Long - 6 years, 12 months ago

Nevermind.. I got it.. Thx

Ulisses Alves Dias - 6 years, 12 months ago

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.

Brian Hansen - 6 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...