Last visit was: 24 Apr 2026, 06:59 It is currently 24 Apr 2026, 06:59
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
avatar
aniketb
Joined: 24 Aug 2012
Last visit: 19 Mar 2026
Posts: 29
Own Kudos:
147
 [22]
Given Kudos: 20
Status:MBA Aspirant
Location: India
Posts: 29
Kudos: 147
 [22]
1
Kudos
Add Kudos
21
Bookmarks
Bookmark this Post
avatar
dwingrider
Joined: 02 Nov 2013
Last visit: 14 Aug 2019
Posts: 4
Own Kudos:
4
 [4]
Given Kudos: 139
Posts: 4
Kudos: 4
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
avatar
aniketb
Joined: 24 Aug 2012
Last visit: 19 Mar 2026
Posts: 29
Own Kudos:
Given Kudos: 20
Status:MBA Aspirant
Location: India
Posts: 29
Kudos: 147
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,813
Own Kudos:
810,996
 [1]
Given Kudos: 105,870
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,813
Kudos: 810,996
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
aniketb
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

How can we have probability for 1st digit as 5/10, if 0 gets selected at first place its no longer a 5 digit number...

A 5-digit number cannot have 0 as its first digit while a 5-digit password can. For example, a password can be 00000.

Does this make sense?
avatar
aniketb
Joined: 24 Aug 2012
Last visit: 19 Mar 2026
Posts: 29
Own Kudos:
Given Kudos: 20
Status:MBA Aspirant
Location: India
Posts: 29
Kudos: 147
Kudos
Add Kudos
Bookmarks
Bookmark this Post
oh o..missed that. Thanks Bunuel.
User avatar
maggie27
Joined: 25 Apr 2014
Last visit: 19 May 2015
Posts: 75
Own Kudos:
Given Kudos: 1,474
Posts: 75
Kudos: 368
Kudos
Add Kudos
Bookmarks
Bookmark this Post
For sure a stupid question but still... why are we not doing a 10C5 here for total possible outcomes ? :oops:
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,813
Own Kudos:
810,996
 [3]
Given Kudos: 105,870
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,813
Kudos: 810,996
 [3]
1
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
maggie27
For sure a stupid question but still... why are we not doing a 10C5 here for total possible outcomes ? :oops:

For two reasons.

1. 10C5 gives the number of groups of 5 possible out of 10 when the order of the selection is not important. In passwords the order of the numbers is important

2. 10C5 gives 5 different numbers out of 10, while the numbers in passwords can be repeated.

Thus the total number of passwords is 10*10*10*10*10 (10 options for each of the 5 digits we have in the password).

Hope it's clear.
User avatar
maggie27
Joined: 25 Apr 2014
Last visit: 19 May 2015
Posts: 75
Own Kudos:
Given Kudos: 1,474
Posts: 75
Kudos: 368
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Thank You so much Bunuel :)
User avatar
Temurkhon
Joined: 23 Jan 2013
Last visit: 06 Apr 2019
Posts: 408
Own Kudos:
Given Kudos: 43
Schools: Cambridge'16
Schools: Cambridge'16
Posts: 408
Kudos: 325
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I got stuck looking for combination approach here, it was tempting. After shifting direct probability easily found that
it is just
(1/2)^5=1/32

i thing direct method is better anyway
User avatar
Abhigyanashakuntalam
User avatar
Current Student
Joined: 04 Nov 2014
Last visit: 17 Apr 2022
Posts: 51
Own Kudos:
Given Kudos: 16
Status:Remember to Always Think Twice
Location: India
GMAT 1: 740 Q49 V40
GPA: 3.51
GMAT 1: 740 Q49 V40
Posts: 51
Kudos: 32
Kudos
Add Kudos
Bookmarks
Bookmark this Post
good question.. but it should be given that the numbers may repeat.
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 23 Apr 2026
Posts: 22,283
Own Kudos:
26,534
 [1]
Given Kudos: 302
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 22,283
Kudos: 26,534
 [1]
Kudos
Add Kudos
Bookmarks
Bookmark this Post
aniketb
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

The total number of ways to select 5 digits to form a 5-digit password is 10^5. The number of ways to select the 5 digits that are either a prime (2, 3, 5, 7) or zero is 5^5. Therefore, the probability is 5^5/10^5 = (5/10)^5 = (1/2)^5 = 1/32.

Answer: A
avatar
lincy93
Joined: 12 Jan 2017
Last visit: 29 Nov 2019
Posts: 7
Own Kudos:
Given Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
How do we know whether the repetition of ghe digits are allowed or not.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,813
Own Kudos:
Given Kudos: 105,870
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,813
Kudos: 810,996
Kudos
Add Kudos
Bookmarks
Bookmark this Post
lincy93
How do we know whether the repetition of ghe digits are allowed or not.

Restriction that the repetition is not allowed is not given so we can assume that it's allowed though proper GMAT question would make this issue clearer.
User avatar
Krabhay
Joined: 18 Dec 2018
Last visit: 19 Dec 2018
Posts: 34
Own Kudos:
Posts: 34
Kudos: 10
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Total possible ways of designing a password = 105ways.
No of 0’s and prime no between 0 and 9 = 5 (1,2,3,5,7)
So, The probability of favorable arrangements = 105/55 = 1/32.
Hence, a is the answer.
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 24 Apr 2026
Posts: 8,629
Own Kudos:
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GMAT Focus 2: 645 Q83 V82 DI81
GPA: 4
WE:Marketing (Energy)
Products:
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,629
Kudos: 5,190
Kudos
Add Kudos
Bookmarks
Bookmark this Post
aniketb
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

total such no
0,2,3,5,7
5/10 ; 1/2
for 5 digits; (1/2)^5 = 1/32
IMOA
User avatar
exc4libur
Joined: 24 Nov 2016
Last visit: 22 Mar 2022
Posts: 1,680
Own Kudos:
Given Kudos: 607
Location: United States
Posts: 1,680
Kudos: 1,469
Kudos
Add Kudos
Bookmarks
Bookmark this Post
aniketb
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

SOLUTION 1 (CHOICES)

\(digits:0,1,2,3,…9=10\)
\(choices:0,2,3,5,7=5\)
\(favorable.outcomes:5^5\)
\(total.outcomes:10^5\)
\(p(zeros.primes)=5^5/10^5=1/32\)

Answer (A)

SOLUTION 2 (CASE BY CASE)

\(primes:2,3,5,7 = 4\)
\([00000:only.zero]…1^5•5!/5!=1\)
\([0000P:zeros.prime]…1^4•4•5!/4!=4•5=20\)
\([000PP:zeros.primes]…1^3•4^2•5!/3!2!=16•10=160\)
\([00PPP:zeros.primes]…1^2•4^3•5!/2!3!=64•10=640\)
\([0PPPP:zero.primes]…1•4^4•5!/4!=256•5=1280\)
\([PPPPP:primes]…4^5•5!/5!=1024\)
\([XXXX:any]…10^5=100,000\)
\(favorable.outcomes=1+20+160+640+1280+1024=3125\)
\(total.outcomes=100000\)
\(p(zeros.primes)=3125/100000=1/32\)

Answer (A)
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,972
Own Kudos:
Posts: 38,972
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109813 posts
Tuck School Moderator
853 posts