Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

PS_Probability_800Score

Expert replies
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.
Join the discussion
Source: — Problem Solving |

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
Join the discussion

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!
Join the discussion

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
Join the discussion

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
Join the discussion

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
Join the discussion

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!
Join the discussion