Bunuel
scaredshikless
25. 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. 1/2
E. 5/8
I don't understand the explanation to this one (so I obviously got it wrong...).
Also, at first, I read it as 1 only appears once in the last three places. If that were the case, how would you solve this?
Thanks, folks.
The phone numbers is of a type: {X}{X}{X}{X}{1}{1}{1}.
{X}'s can take following values: 4 primes {2, 3, 5, 7} and 4 non-primes {4, 6, 8, 9}. Total 8 choices for each {X}. Probability that {X} will be prime is therefore \(\frac{4}{8}=\frac{1}{2}\) and probability of {X} will not be a prime is again \(\frac{1}{2}\).
We want at least 2 {X}'s out of 4 to be primes, which means 2, 3 or 4 primes.
Let's count the opposite probability and subtract it from 1.
Opposite probability of at least 2 primes is 0 or 1 prime:
So {P}{NP}{NP}{NP} and {NP}{NP}{NP}{NP}.
Scenario 1 prime - {P}{NP}{NP}{NP}: \(\frac{4!}{3!}*\frac{1}{2}*(\frac{1}{2})^3=\frac{4}{16}\). We are multiplying by \(\frac{4!}{3!}\) as scenario {P}{NP}{NP}{NP} can occur in several different ways: {P}{NP}{NP}{NP}, {NP}{P}{NP}{NP}, {NP}{NP}{P}{NP}, {NP}{NP}{NP}{P} - 4 ways (basically the # of permutations of 4 objects out ow which 3 are the same).
Scenario 0 prime - {NP}{NP}{NP}{NP}: \((\frac{1}{2})^4=\frac{1}{16}\).
Hence opposite probability = \(\frac{4}{16}+\frac{1}{16}=\frac{5}{16}\).
So probability of at least 2 primes is: 1-(Opposite probability) = \(1-\frac{5}{16}=\frac{11}{16}\)
Answer: A.
Just a small confusion
2,3,5,7 are primes , and 1,4,6,8,9 non primes ,just because there are 3 one's in the last three places it doesn't mean that 1 cannot be at any other place, question says boy remembers last three places having one's and
not that there are only 3 ones in the 7 digit number
the phone number could be {1 2 3 6 1 1 1 } this has two primes and 5 non primes and 4 one's
or { 8 2 2 6 1 1 1 } this has 2 primes and all the primes are same
first going the long way p( 2 primes ) +p( 3 primes )+p(4 primes )
\(\frac{4}{9} * \frac{4}{9} * \frac{5}{9} *\frac{5}{9} *1*1*1* \frac{4!}{2!2!}\) ( exactly two primes )
Multiplying by \(\frac{4!}{2!2!}\) as we can permutate only the first 4 digits , the last are fixed (1,1,1)
\(\frac{4}{9} * \frac{4}{9}* \frac{4}{9}*\frac{5}{9}*1*1*1 *\frac{4!}{3!}\) ( exactly 3 primes )( 3 of a kind )
\(\frac{4}{9} *\frac{4}{9} *\frac{4}{9} *\frac{4}{9} * 1,1,1\) ( exactly 4 primes )
Now for the case 2 primes, both the primes could be same or different then how does the notation \(\frac{4!}{2!2!}\) change , or does it remain the same ?
Similarly for the case of 3 primes the primes could be 2,2,2 all same or 2,3,5 all different then how does the notation \(\frac{4!}{3! }\) change or does it remain the same?
In this question we are taking primes as one kind and non primes as other kind , so it doesn't matter if the primes are all same or all different ? Is this statement correct?
1)
Please could you show how to do this sum individual probability way as I have tried above ?
2)
Also please consider the fact that 1 may have to be included as a non prime as the question does not explicitly state that there are only 3 ones in the phone number , he only remembers that the last three are ones.