A normal deck of playing cards contains 52 cards, four each with face values in the set . Suppose the deck is well shuffled so that each arrangement is equally likely. Write down the probability that the top and bottom cards have the same face value.
Consider the following algorithm for shuffling:
S1: Permute the deck randomly so that each arrangement is equally likely.
S2: If the top and bottom cards do not have the same face value, toss a biased coin that comes up heads with probability and go back to step if head turns up. Otherwise stop.
All coin tosses and all permutations are assumed to be independent. When the algorithm stops, let and denote the respective face values of the top and bottom cards and compute the probability that . Write down the probability that for some and the probability that for some . What value of will make and independent random variables? Justify your answer.