five digit codes

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 38
Joined: Fri Aug 07, 2015 3:06 am
Thanked: 1 times

five digit codes

by yass20015 » Tue Aug 11, 2015 3:33 am
How many different five-digit codes can be picked from the digits 1 through 6 if the middle digit must be odd and no two digits might be the same?

A) 420
B) 360
C) 180
D) 120
E) 60

wHY THE ANSWER IS not 360 ?
3 * 5 * 4 * 3 * 2 ?
Thanks

Master | Next Rank: 500 Posts
Posts: 363
Joined: Sun Oct 17, 2010 3:24 pm
Thanked: 115 times
Followed by:3 members

by theCEO » Tue Aug 11, 2015 4:09 am
yass20015 wrote:How many different five-digit codes can be picked from the digits 1 through 6 if the middle digit must be odd and no two digits might be the same?

A) 420
B) 360
C) 180
D) 120
E) 60

wHY THE ANSWER IS not 360 ?
3 * 5 * 4 * 3 * 2 ?
Thanks
Hi yass20015,

your equation is correct and 360 is the answer.

Ways to choose middle digit = 3 [1,3,5]
Ways to choose 1st digit = 5 [total digits - 1]
Ways to choose 2nd digit = 4 [total digits - 1-1]
Ways to choose 4th digit = 3 [total digits - 1-1-1]
Ways to choose 5th digit = 2 [total digits - 1-1-1-1]
total ways = 3x5x4x3x2=360

User avatar
MBA Admissions Consultant
Posts: 2279
Joined: Fri Nov 11, 2011 7:51 am
Location: New York
Thanked: 660 times
Followed by:266 members
GMAT Score:770

by Jim@StratusPrep » Tue Aug 11, 2015 5:48 am
To confirm, 360 is correct. If the answer is different, then question is incorrect. With problems like this, always start with your biggest constraint --> the middle number must be odd.
GMAT Answers provides a world class adaptive learning platform.
-- Push button course navigation to simplify planning
-- Daily assignments to fit your exam timeline
-- Organized review that is tailored based on your abiility
-- 1,000s of unique GMAT questions
-- 100s of handwritten 'digital flip books' for OG questions
-- 100% Free Trial and less than $20 per month after.
-- Free GMAT Quantitative Review

Image

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 2095
Joined: Tue Dec 04, 2012 3:22 pm
Thanked: 1443 times
Followed by:247 members

by ceilidh.erickson » Tue Aug 11, 2015 1:17 pm
Always post the source and the OA when posting a problem. Not only is that legally required, but it helps students to know which resources are good, and which contain faulty problems.
Ceilidh Erickson
EdM in Mind, Brain, and Education
Harvard Graduate School of Education

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Tue Aug 11, 2015 4:29 pm
yass20015 wrote:How many different five-digit codes can be picked from the digits 1 through 6 if the middle digit must be odd and no two digits might be the same?

A) 420
B) 360
C) 180
D) 120
E) 60
Take the task of "building" 5-digit numnbers and break it into stages.

We'll begin with the most restrictive stage.

Stage 1: Select the MIDDLE (hundreds) digit
This digit must be odd (1, 3, or 5)
So, we can complete stage 1 in 3 ways

Stage 2: Select the units digit
There are 5 remaining digits from which to choose, so we can complete this stage in 5 ways.

Stage 3: Select the tens digit
There are 4 remaining digits from which to choose, so we can complete this stage in 4 ways.

Stage 4: Select the thousands digit
We can complete this stage in 3 ways.

Stage 5: Select the ten thousands digit
We can complete this stage in 2 ways.

By the Fundamental Counting Principle (FCP), we can complete all 5 stages (and thus build a 5-digit number) in (3)(5)(4)(3)(2) ways ([spoiler]= 360 ways[/spoiler])

Answer: B
--------------------------

Note: the FCP can be used to solve the MAJORITY of counting questions on the GMAT. For more information about the FCP, watch our free video: https://www.gmatprepnow.com/module/gmat-counting?id=775

Then you can try solving the following questions:

EASY
- https://www.beatthegmat.com/what-should- ... 67256.html
- https://www.beatthegmat.com/counting-pro ... 44302.html
- https://www.beatthegmat.com/picking-a-5- ... 73110.html
- https://www.beatthegmat.com/permutation- ... 57412.html
- https://www.beatthegmat.com/simple-one-t270061.html
- https://www.beatthegmat.com/mouse-pellets-t274303.html


MEDIUM
- https://www.beatthegmat.com/combinatoric ... 73194.html
- https://www.beatthegmat.com/arabian-hors ... 50703.html
- https://www.beatthegmat.com/sub-sets-pro ... 73337.html
- https://www.beatthegmat.com/combinatoric ... 73180.html
- https://www.beatthegmat.com/digits-numbers-t270127.html
- https://www.beatthegmat.com/doubt-on-sep ... 71047.html
- https://www.beatthegmat.com/combinatoric ... 67079.html


DIFFICULT
- https://www.beatthegmat.com/wonderful-p- ... 71001.html
- https://www.beatthegmat.com/ps-counting-t273659.html
- https://www.beatthegmat.com/permutation- ... 73915.html
- https://www.beatthegmat.com/please-solve ... 71499.html
- https://www.beatthegmat.com/no-two-ladie ... 75661.html
- https://www.beatthegmat.com/laniera-s-co ... 15764.html

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image

Junior | Next Rank: 30 Posts
Posts: 25
Joined: Wed Oct 07, 2015 12:04 pm

by gmatbeater1989 » Wed Oct 14, 2015 10:52 am
yass20015 wrote:How many different five-digit codes can be picked from the digits 1 through 6 if the middle digit must be odd and no two digits might be the same?

A) 420
B) 360
C) 180
D) 120
E) 60
Ignoring the part about the middle digit having to be odd, there are 6x5x4x3x2 codes
Half of those will have an odd number in the middle, so the answer is (6x5x4x3x2)/2 = 360