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

Home > Probability
52 Pickup (Posted on 2008-01-15) Difficulty: 3 of 5
52-pickup is the practical joke "game" where the mark finds out that the game consists of the proposer spraying all 52 cards of a deck into the air, letting them fall onto the floor, and then the mark has to pick them up.

Suppose all 52 cards are now on the floor, each card randomly and independently face up or down with probability 1/2.

What is the probability that the sum of the face-up cards (counting A, J, Q, K as 1, 11, 12, 13 respectively) is a multiple of 13?

See The Solution Submitted by Charlie    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Computer Solution | Comment 2 of 5 |
My intuition told me that the answer was 1/13, but I couldn't come up with a concrete reason why.  So I wrote the following C# program:

            int NUM_TRIALS = 10000000;
            int successes = 0;
            Random rand = new Random();
            for (int i = 0; i < NUM_TRIALS; ++i) // loop once per trial
            {
                int sum = 0;
                for (int j = 1; j <= 13; ++j) // once for each card rank
                {
                    for (int k = 0; k < 4; ++k) // once for each suit
                    {
                        if (rand.NextDouble() > .5) // 1/2 probability
                        {
                            sum += j;
                        }
                    }
                }
                if (sum % 13 == 0)
                {
                    successes++;
                }

            }
            Console.Out.Write((double)(successes) / NUM_TRIALS);

Output: 0.0769856
1/13 = .0769230

These values are close enough that I'm assuming that 1/13 is the correct answer. 

  Posted by Oren on 2008-01-16 04:19:51
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 (18)
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