Hi terrorsquid,

Let's consider a single card and see if we can find the distribution of the number of times it is flipped-- say x. At each card flip, the probability that our special card is selected is 1/50. Since the flips are independent, the total number of times the card is flipped follows a Binomial distribution with n = 50 and p = 1/50. So the probability the card is flipped x times is

Next, we would like to know the probability that x is even, i.e. P(0) + P(2) + P(4) + ... +P(50). To find this sum, expand (1/50 + 49/50)^50 by the binomial theorem:

Then do the same for (1/50 - 49/50)^50:

If we add these two equations, the odd-numbered terms cancel out and on the right-hand side we have twice the probability that x is even. So

and

This is the probability that our special card is left with the red side up. There are 50 cards in all, so the expected number of cards left with the red side up is

and the expected number of cards left blues side up is just 50 minus the expected number left red side up, i.e.

which is about 21.75.