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

Home > Probability
Three of a Kind (Posted on 2003-11-19) Difficulty: 4 of 5
You have a standard pack of 52 playing cards. You then shuffle them and begin to draw out cards until you have three of a kind. What is the most likely number of cards drawn when this happens?

You then shuffle another pack of 52 playing cards into the pile. What happens to the expected number of cards now? (i.e. does it double / halve / stay the same?)

No Solution Yet Submitted by Lewis    
Rating: 4.4000 (10 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Notes on the solution | Comment 35 of 39 |
(In reply to Analytic Solution:Computer aided for computations by Charlie)

The computation of each term is somewhat of a hybrid of combinations and permutations, as one select card is in the final position, with all 52 possibilities considered there, but only the combinations are considered for the first n-1 positions without regard to the order they are drawn.

The same computation was done also using UBASIC for the added precision and the builtin COMBI function. The results were the same, but the program looks nicer in QuickBasic, without the line numbers. UBASIC helped in the debugging as the need for the restriction on p+s being less than or equal to 12 was found by the argument checking that UBASIC does on the COMBI function, that I did not build into the subroutines in the QuickBasic program.
  Posted by Charlie on 2003-11-21 16:04:16

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 (0)
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