PS_Probability_800Score

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 140
Joined: Sat Feb 28, 2009 8:51 am
Location: India
Thanked: 14 times
Followed by:3 members

PS_Probability_800Score

by farooq » Mon Oct 05, 2009 8:20 pm
A password of a computer used five digits where they are from 0 and 9. What is the probability that the password solely consists of prime numbers and zero?

A 1/32
B 1/16
C 1/8
D 2/5
E 1/2


Correct Answer is A

What can be a simple way to solve this problem.
Regards,
Farooq Farooqui.
London. UK

It is your Attitude, not your Aptitude, that determines your Altitude.
Source: — Problem Solving |

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

Re: PS_Probability_800Score

by Brent@GMATPrepNow » Mon Oct 05, 2009 8:33 pm
farooq wrote:A password of a computer used five digits where they are from 0 and 9. What is the probability that the password solely consists of prime numbers and zero?

A 1/32
B 1/16
C 1/8
D 2/5
E 1/2


Correct Answer is A

What can be a simple way to solve this problem.
Aside: There are 10 possible options (0,1,2,3,4,5,6,7,8,9) for each digit.
5 of the options (0,2,3,5,7) are zero or prime.
So, P(a given digit is zero or prime) = 5/10 = 1/2

A quick way is to look at this as an AND probability.
P(all five digits are zero or prime) = P(1st digit is zero or prime AND 2nd digit is zero or prime AND 3rd digit is zero or prime AND 4th digit is zero or prime AND 5th digit is zero or prime)

This is equal to P(1st digit is zero or prime) x P(2nd digit is zero or prime) x P(3rd digit is zero or prime) x P(4th digit is zero or prime) x P(5th digit is zero or prime)

So, we get 1/2 x 1/2 x 1/2 x 1/2 x 1/2 = 1/32
Brent Hanneson - Creator of GMATPrepNow.com
Image

Master | Next Rank: 500 Posts
Posts: 186
Joined: Fri May 28, 2010 1:05 am
Thanked: 11 times

by jube » Mon Jun 14, 2010 12:06 pm
Hi,

I think there's one thing wrong with this answer - the first digit canNOT be 0 - since it's a 5 digit no. Therefore, 1st digit probability will be 4/9 and then 2nd, 3rd, 4th & 5th digits will be 1/2 each.

Therefore answer should be 1/36 - which is actually not even there in the options. :\

Can anyone tell me what I'm doing wrong here?

thanks!

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Mon Jun 14, 2010 12:18 pm
jube wrote:Hi,

I think there's one thing wrong with this answer - the first digit canNOT be 0 - since it's a 5 digit no. Therefore, 1st digit probability will be 4/9 and then 2nd, 3rd, 4th & 5th digits will be 1/2 each.

Therefore answer should be 1/36 - which is actually not even there in the options. :\

Can anyone tell me what I'm doing wrong here?

thanks!
Be careful! Don't make up a restriction that isn't mentioned in the problem. The problem states only that the password will be made up of 5 digits; there is no reason that the first digit cannot be zero.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

User avatar
GMAT Instructor
Posts: 3225
Joined: Tue Jan 08, 2008 2:40 pm
Location: Toronto
Thanked: 1710 times
Followed by:614 members
GMAT Score:800

by Stuart@KaplanGMAT » Mon Jun 14, 2010 5:57 pm
jube wrote:Hi,

I think there's one thing wrong with this answer - the first digit canNOT be 0 - since it's a 5 digit no.
Hi!

If the question referred to a 5 digit number, you'd be 100% correct in your analysis, since "0" isn't a significant digit in the first spot.

However, in this question we're talking about a 5 digit passcode. Is there any reason why a 5 digit passcode can't start with 0? No, of course not - so in this particular situation, 0 is an acceptable first digit.
Image

Stuart Kovinsky | Kaplan GMAT Faculty | Toronto

Kaplan Exclusive: The Official Test Day Experience | Ready to Take a Free Practice Test? | Kaplan/Beat the GMAT Member Discount
BTG100 for $100 off a full course

Master | Next Rank: 500 Posts
Posts: 268
Joined: Wed Mar 17, 2010 2:32 am
Thanked: 17 times

by this_time_i_will » Mon Jun 14, 2010 6:03 pm
password = _ _ _ _ _ (5 digits)
total ways = 10*10*10*10*10 = 10^5. (we have option of picking any one digit from 10 digits)
requireed way = 5*5*5*5*5 = 5^5.(we have option of picking any one digit from 0,2,3,5,7)

so required probability = 5^5/10^5 = 1/2^5 = 1/32

Master | Next Rank: 500 Posts
Posts: 186
Joined: Fri May 28, 2010 1:05 am
Thanked: 11 times

by jube » Mon Jun 14, 2010 10:50 pm
Stuart Kovinsky wrote:
jube wrote:Hi,

I think there's one thing wrong with this answer - the first digit canNOT be 0 - since it's a 5 digit no.
Hi!

If the question referred to a 5 digit number, you'd be 100% correct in your analysis, since "0" isn't a significant digit in the first spot.

However, in this question we're talking about a 5 digit passcode. Is there any reason why a 5 digit passcode can't start with 0? No, of course not - so in this particular situation, 0 is an acceptable first digit.
Ahh, got it! Thanks Stuart!