All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Probable Prime Poser (Posted on 2010-01-19) Difficulty: 2 of 5
A bag contains 10 marbles that are numbered 0 through 9. Precisely three marbles are drawn at random from the bag without replacement.

Determine the probability that a three-digit prime number (with non leading zero) can be constituted by rearrangement of digits corresponding to the three marbles (including the original order of the digits.)

As a bonus determine the corresponding probability if the three marbles were drawn with replacement at the outset.

See The Solution Submitted by K Sengupta    
Rating: 3.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution bonus solution | Comment 2 of 4 |

In addition to the 53 sets of digits without digit duplication, there are 33 with digit duplication.


digits    primes
011       101
112       211
113       113 131 311
115       151
118       181 811
119       191 911
133       313 331
166       661
188       881
199       199 919 991
223       223
227       227
229       229
233       233
277       277 727
299       929
334       433
335       353
337       337 373 733
338       383
344       443
377       773
388       883
449       449
499       499
557       557
577       577 757
599       599
677       677
778       787 877
779       797 977
788       887
799       997 86

The probability that the three digits drawn will contain no duplicates is (9/10)*(8/10) = 72/100; the probability the digits are all the same is 1/100 and the probability that there is just a matching pair is then 1 - 72/100 - 1/100 = 1 - 73/100 = 27/100.

As before, under the condition that all the digits are different, the probability they'd have the digits to make a prime is 53/120. But the condition itself has 72/100 probability to make the overall probability contribution of this case equal to 159/500.

The situation of all the digits the same contributes nothing to the probability of forming a prime, as no primes have all three the same digit, as 111 is not prime.

In the 27/100 case that there is just a pair of matching digits, the conditional probability of being able to form a prime is the 33 cases above divided by the number of possible such combinations. That number of combinations is 10*9 = 90 as there are 10 ways of choosing the individual number and 9 ways remaining of choosing the doubled digit. Or you could look at it the other way around in order of choosing and it's still the same product.  So the contribution to the overall probability of the doubles is (27/100)*(33/90) = 99/1000.

So the probability, when drawing is with replacement is

159/500 + 99/1000 = 417/1000.


  Posted by Charlie on 2010-01-19 17:00:55
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (13)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information