If you find any of this useful, please consider donating via PayPal to help keep this site going.

Email news@statisticool.com to sign up to receive news and updates

The effect of information on guessing the color of playing cards


If someone asked you to guess the color of cards from a standard deck of playing cards, you'd have a 50% chance of being correct for each attempt, and one would expect to get a total of 26 correct on average.

However, if you are allowed to see the outcome of the cards you attempted to guess, you can use that information to increase your success. Start out by guessing a color randomly. Then, if more Blacks came up, guess Red, and vice versa. If an equal number of Black and Red came up then guess the next color randomly. Using this method one can always get 26 or more.

Here is a program for my calculator that I wrote to simulate this.

For n,1,trials
Disp n
#generate deck
Lbl start
For a,1,52
#Black = 1, Red = 0
#to ensure equal Black and Red
If sum(deck) <> 26: Goto start
#initial guess
For a,1,51
If sigma(deck[a],a,1,a)/a)>.5:0->guess[a+1]
If sigma(deck[a],a,1,a)/a)<.5:1->guess[a+1]
If sigma(deck[a],a,1,a)/a)=.5:rand(2)-1->guess[a+1]
For a,1,52
If deck[a]=guess[a]:1+rights->rights

Examine the vector c to see the number of cards guessed correctly for each trial. Simulations have shown the average is slightly over 30.

Please anonymously VOTE on the content you have just read:


If you enjoyed any of my content, please consider supporting it in a variety of ways:

AFFILIATE LINK DISCLOSURE: Some links included on this page may be affiliate links. If you purchase a product or service with the affiliate link provided I may receive a small commission (at no additional charge to you). Thank you for the support!