Probability

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 258
Joined: Thu Mar 29, 2007 3:15 am
Thanked: 7 times
Followed by:1 members

Probability

by anju » Thu Sep 04, 2008 1:12 pm
-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8

Legendary Member
Posts: 1153
Joined: Wed Jun 20, 2007 6:21 am
Thanked: 146 times
Followed by:2 members

by parallel_chase » Thu Sep 04, 2008 2:53 pm
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8
My answer is 7/8.

7 digits, last 3 are 1, 0 is not included.

Therefore we only have to consider 4 digits.

each digit can be filled with 8 letters (2,3,4,5,6,7,8,9)

4 prime numbers and 4 non prime numbers

probability of exactly 1 prime

probability of picking non prime letter for first digit is 1/2
probability of picking non prime letter for second digit is 1/2
probability of picking non prime letter for third digit is 1/2
probability of picking prime letter for fourth digit is 1/2

1/2*1/2*1/2*1/2 = 1/16

Similarly, probability of exactly 0 prime

will be 1/2*1/2*1/2*1/2 = 1/16

1-1/16+1/16 = probability of at least 2 prime


1/16 + 1/16 = 2/16

1-2/16 = 14/16 = 7/8

I dont know where I am going wrong. Whats the source.

Senior | Next Rank: 100 Posts
Posts: 50
Joined: Tue Mar 11, 2008 6:30 am
Thanked: 6 times

by bourne159 » Thu Sep 04, 2008 3:08 pm
parallel_chase wrote:
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8
My answer is 7/8.

7 digits, last 3 are 1, 0 is not included.

Therefore we only have to consider 4 digits.

each digit can be filled with 8 letters (2,3,4,5,6,7,8,9)

4 prime numbers and 4 non prime numbers

probability of exactly 1 prime

probability of picking non prime letter for first digit is 1/2
probability of picking non prime letter for second digit is 1/2
probability of picking non prime letter for third digit is 1/2
probability of picking prime letter for fourth digit is 1/2

1/2*1/2*1/2*1/2 = 1/16

Similarly, probability of exactly 0 prime

will be 1/2*1/2*1/2*1/2 = 1/16

1-1/16+1/16 = probability of at least 2 prime


1/16 + 1/16 = 2/16

1-2/16 = 14/16 = 7/8

I dont know where I am going wrong. Whats the source.
You almost got it. There are 4 ways in which one out of 4 numbers is a prime. So you need to multiply 1/16 with 4
probability one prime + probability of no primes = 4 * 1/16 + 1/16 = 5/16

probability of atleast two primes = 1 - 5/16 = 11/16 (B)

Legendary Member
Posts: 1153
Joined: Wed Jun 20, 2007 6:21 am
Thanked: 146 times
Followed by:2 members

by parallel_chase » Thu Sep 04, 2008 3:16 pm
You almost got it. There are 4 ways in which one out of 4 numbers is a prime. So you need to multiply 1/16 with 4
probability one prime + probability of no primes = 4 * 1/16 + 1/16 = 5/16

probability of atleast two primes = 1 - 5/16 = 11/16 (B)
Thanks !!! I feel like i just missed it.

Master | Next Rank: 500 Posts
Posts: 154
Joined: Tue Aug 26, 2008 12:59 pm
Location: Canada
Thanked: 4 times

by canuckclint » Thu Sep 04, 2008 8:01 pm
Guys,
Do it this simple and standard way:

Probability that a position is prime: 4/8 = 1/2
Probability that a position is not prime: 4/8 = 1/2

P(2 prime) = 1/2 * 1/2 * 1/2 * 1/2 = 1/16 and then permute below
..

P(2 prime) = 1/16 (4c2) = 6/16
Need to permute P1P2## because this can be permuted 6 ways.

P(3 prime) = 1/16 (4c3) = 4/16

P(4 prime) = 1/16 (4c4) = 1/16

Sum the above 6/16 + 4/16 + 1/16 and whola 11/16

Junior | Next Rank: 30 Posts
Posts: 25
Joined: Wed Oct 29, 2008 7:26 pm

by gmattakers » Thu Oct 30, 2008 3:23 pm
A difficult question actually

Junior | Next Rank: 30 Posts
Posts: 25
Joined: Tue Sep 30, 2008 6:36 am

Re: Probability

by bjp2008 » Thu Nov 06, 2008 4:48 am
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8
- - - - - - - 7 places . Last 3 was occupied by 1.
Rest 4 will be occupied by:
2 prime, 2 non prime ---- 4C2*4C2
3 prime , 1 non prime ---- 4C3*4C1
4 prime ---- 4C4
No of telephone numbers with at least 2 primes = 4!(4C2*4C2 + 4C3*4C1 +4C4) = 4!*53
Probability = 4!*53 / 4!*8C4
=53/70.
I dont know whether this approach is right or wrong. Please help.

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 » Thu Nov 06, 2008 1:47 pm
parallel_chase wrote:
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8
My answer is 7/8.

7 digits, last 3 are 1, 0 is not included.

Therefore we only have to consider 4 digits.

each digit can be filled with 8 letters (2,3,4,5,6,7,8,9)
Maybe I'm missing something - why don't we also consider 1 as a possible digit for the remaining numbers? The question doesn't say that 1 appears in only the last 3 digits.

So, there should be 9 possibilities for the other 4 spots: {1, 2, 3, 4, 5, 6, 7, 8, 9}, of which 4 {2, 3, 5, 7} are primes.

If we want at least 2 primes, then we want either 2 primes, 3 primes or 4 primes. Alternatively, the only things we do NOT want are 0 primes and 1 prime.

Using the negative approach:

Prob 0 primes = 4C0 * (5/9)^4
Prob 1 prime = 4C1 * (5/9)^3 * (4/9)^1

Prob NOT getting 0 or 1 prime = 1 - (Prob 0 Primes + Prob 1 Prime)

However, we should be able to see right away that the final answer is not going to be a nice neat fraction, which means we won't get any of the listed choices. So, it's apparently correct to ignore the digit "1", although I really can't see why that's the case (unless the question has been incorrectly reproduced).

* * *

So, reading the question as "1 appeared in only the last 3 places", we do indeed have a binary situation - the probability of a prime is 1/2 and the probability of a non-prime is 1/2. Accordingly, this is a great question to apply Pascal's Triangle (discussed in detail here: https://www.beatthegmat.com/coin-flip-qu ... 17911.html)

Looking at the n=4 row (since we have 4 digits to fill), we see:

1 4 6 4 1

We want at least 2 primes, so we add 6 + 4 + 1 to get 11 desired results.
To find the total number of possibilities, we add the entire row to get 16.

Therefore, the probability of getting at least 2 primes out of 4 digits is 11/16.
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

User avatar
Legendary Member
Posts: 2134
Joined: Mon Oct 20, 2008 11:26 pm
Thanked: 237 times
Followed by:25 members
GMAT Score:730

by logitech » Thu Nov 06, 2008 4:53 pm
bourne159 wrote:
parallel_chase wrote:
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) ½
e) 5/8
My answer is 7/8.

7 digits, last 3 are 1, 0 is not included.

Therefore we only have to consider 4 digits.

each digit can be filled with 8 letters (2,3,4,5,6,7,8,9)

4 prime numbers and 4 non prime numbers

probability of exactly 1 prime

probability of picking non prime letter for first digit is 1/2
probability of picking non prime letter for second digit is 1/2
probability of picking non prime letter for third digit is 1/2
probability of picking prime letter for fourth digit is 1/2

1/2*1/2*1/2*1/2 = 1/16

Similarly, probability of exactly 0 prime

will be 1/2*1/2*1/2*1/2 = 1/16

1-1/16+1/16 = probability of at least 2 prime


1/16 + 1/16 = 2/16

1-2/16 = 14/16 = 7/8

I dont know where I am going wrong. Whats the source.
You almost got it. There are 4 ways in which one out of 4 numbers is a prime. So you need to multiply 1/16 with 4
probability one prime + probability of no primes = 4 * 1/16 + 1/16 = 5/16

probability of atleast two primes = 1 - 5/16 = 11/16 (B)
Very good thinking. Hats off! 8)
LGTCH
---------------------
"DON'T LET ANYONE STEAL YOUR DREAM!"

Master | Next Rank: 500 Posts
Posts: 145
Joined: Mon Sep 29, 2008 1:14 am
Thanked: 13 times

by mental » Sat Nov 08, 2008 12:07 am
Thanks Stuart for clearing the doubts

I approached with 9 digits, as 1 included.
none of the answers were matching

it should have said "1 appeared in the last 3 places only"

Newbie | Next Rank: 10 Posts
Posts: 1
Joined: Wed Feb 08, 2012 2:43 am

by zee123 » Wed Feb 08, 2012 2:44 am
You almost got it. There are 4 ways in which one out of 4 numbers is a prime. So you need to multiply 1/16 with 4
probability one prime + probability of no primes = 4 * 1/16 + 1/16 = 5/16

probability of atleast two primes = 1 - 5/16 = 11/16 (B)


Why do we multiply 1/16 by 4?

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 7294
Joined: Sat Apr 25, 2015 10:56 am
Location: Los Angeles, CA
Thanked: 43 times
Followed by:29 members

by Scott@TargetTestPrep » Fri Feb 02, 2018 11:26 am
anju wrote:-- John wrote a phone number on a note that was later lost. John can remember that the number had 7 digits, the digit 1 appeared in the last three places and 0 did not appear at all. What is the probability that the phone number contains at least two prime digits?

a) 15/16
b) 11/16
c) 11/12
d) �
e) 5/8
We know that the single-digit numbers that are primes are 2, 3, 5, and 7.

Since the last three digits are all 1's, we only have to deal with the first 4 digits, in which none of them is 0 (and we are also going to assume that none of the first 4 digits is 1).

Thus, the probability that the first 4 digits are all primes (where each digit can be 2 to 9, inclusive) is:

4/8 x 4/8 x 4/8 x 4/8 = (1/2)^4 = 1/16

The probability that exactly 3 of the first 4 digits are primes is:

(4/8 x 4/8 x 4/8 x 4/8) x 4C3 = (1/2)^4 x 4 = 4/16

Notice that the last factor 4C3 is the number of ways one can arrange 3 prime digits in 4 spots. The probability that exactly 2 of the first 4 digits are primes is:

(4/8 x 4/8 x 4/8 x 4/8) x 4C2 = (1/2)^4 x 6 = 6/16

Thus, the probability that the phone number contains at least two prime digits is:

1/16 + 4/16 + 6/16 = 11/16

Answer: B

Scott Woodbury-Stewart
Founder and CEO
[email protected]

Image

See why Target Test Prep is rated 5 out of 5 stars on BEAT the GMAT. Read our reviews

ImageImage