This question doesn't support checking answers.
687. Shuffling Cards

Publish Date:

A standard deck of 52 playing cards, which consists of thirteen ranks (Ace, Two, ..., Ten, King, Queen and Jack) each in four suits (Clubs, Diamonds, Hearts and Spades), is randomly shuffled. Let us call a rank perfect if no two cards of that same rank appear next to each other after the shuffle.

It can be seen that the expected number of ranks that are perfect after a random shuffle equals $\frac {4324} {425} \approx 10.1741176471$.

Find the probability that the number of perfect ranks is prime. Give your answer rounded to 10 decimal places.

Press F12 and use the "Console" tab to view the output of your codes.

Loading...