Last visit was: 18 Jul 2024, 11:09 It is currently 18 Jul 2024, 11:09
Toolkit
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

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.

# A password for a computer uses five digits from 0 to 9, inclusive. Wha

SORT BY:
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 94407
Own Kudos [?]: 642033 [9]
Given Kudos: 85997
GMAT Club Legend
Joined: 08 Jul 2010
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Posts: 6020
Own Kudos [?]: 13804 [2]
Given Kudos: 125
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
SVP
Joined: 20 Mar 2014
Posts: 2359
Own Kudos [?]: 3650 [3]
Given Kudos: 816
Concentration: Finance, Strategy
GMAT 1: 750 Q49 V44
GPA: 3.7
WE:Engineering (Aerospace and Defense)
GMAT Club Legend
Joined: 08 Jul 2010
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Posts: 6020
Own Kudos [?]: 13804 [0]
Given Kudos: 125
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

Kudos for a correct solution.

Prime numbers from 0 to 9: 2,3,5,7 (4 in number) and 0 = 5 favourable cases.

Total cases (0-9 digits) = 10

Probability of one digit to be Prime or Zero = (5/10) = 1/2

(1/2) will be the probability of one of the 5 digits of password to be Prime or Zero. But since password uses 5 digits so the probability of every place needs to be taken

Probability of all 5 digits to be prime or zero = (1/2)*(1/2)*(1/2)*(1/2)*(1/2) = (1/2)^5 = 1/32
Manager
Joined: 28 Jun 2015
Posts: 247
Own Kudos [?]: 295 [1]
Given Kudos: 47
Concentration: Finance
GPA: 3.5
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
1
Kudos
Allowed digits - (0, 2, 3, 5, 7).

Sample space = 10*10*10*10*10 = 10^5.

Favourable event - 5*5*5*5*5 = 5^5.

Probability = 5^5/10^5 = (5/10)^5 = (1/2)^5 = 1/32. Ans (A).
Retired Moderator
Joined: 29 Apr 2015
Posts: 717
Own Kudos [?]: 4234 [1]
Given Kudos: 302
Location: Switzerland
Concentration: Economics, Finance
Schools: LBS MIF '19
WE:Asset Management (Investment Banking)
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
1
Kudos
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

Kudos for a correct solution.

We have combinations with repetition and order does matter here.

Possible Combinations = Primes and 0's / Total combinations = 5^5/10^5 = 1/32

Intern
Joined: 04 Nov 2013
Posts: 26
Own Kudos [?]: 11 [1]
Given Kudos: 10
Concentration: Finance, Strategy
GPA: 4
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
1
Kudos
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

Kudos for a correct solution.

Numbers can repeat. Therefore, there are 10^5 possible choices.

If only prime numbers and zeros can be picked, that's 0, 2, 3, 5, and 7 - 5 total numbers. All of these can repeat as well. There are 5^5 possible choices.

5^5/10^5 = 5^5/(2^5*5^5) = 1/2^5 = 1/32

A
Math Expert
Joined: 02 Sep 2009
Posts: 94407
Own Kudos [?]: 642033 [0]
Given Kudos: 85997
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

Kudos for a correct solution.

800score Official Solution:

To calculate all the possibilities, there are 10 choices for each digit. The number of possibilities for five digits is 10 × 10 × 10 × 10 × 10 = 100,000 possible combinations.

Prime numbers constitute 2, 3, 5 and 7. In addition to zero, this is 5 total possibility for each digit. So the number of satisfactory variants is 5 × 5 × 5 × 5 × 5. So the probability is 1/2 × 1/2 × 1/2 × 1/2 × 1/2 = 1/32.

The right answer is choice (A).
GMAT Club Legend
Joined: 08 Jul 2010
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Posts: 6020
Own Kudos [?]: 13804 [0]
Given Kudos: 125
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

Kudos for a correct solution.

Single digit prime numbers are {2, 3, 5, 7} I.e. 4 prime numbers
So we have 4 choices {2,3,5,7} for each digit

i.e. Favorable outcomes = 5*5*5*5*5

Probability = (5*5*5*5*5) / (10*10*10*10*10) = 1/32

Target Test Prep Representative
Joined: 14 Oct 2015
Status:Founder & CEO
Affiliations: Target Test Prep
Posts: 19168
Own Kudos [?]: 22668 [1]
Given Kudos: 286
Location: United States (CA)
Re: A password for a computer uses five digits from 0 to 9, inclusive. Wha [#permalink]
1
Kudos
Bunuel wrote:
A password for a computer uses five digits from 0 to 9, inclusive. What is the probability that the digits of the password solely consist of prime numbers or zero?

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

We need to determine the probability that a 5-digit code, formed from numbers 0 to 9 inclusive, consists of only prime numbers or 0.

There are a total of 5 digits that are 0 or prime (recall that 1 is NOT a prime number):

0, 2, 3, 5, 7

The probability of selecting one of these digits is 5/10 = 1/2.

Thus, the probability that a password will consist solely of prime numbers or zero is:

1/2 x 1/2 x 1/2 x 1/2 x 1/2 = 1/32.