4 ms·
You're almost there with your intuition. You just now need to simulate drawing two balls without replacement for each of your 101 urns (from first urn with n=0
by j7ake 3y ago
You're almost there with your intuition.
You just now need to simulate drawing two balls without replacement for each of your 101 urns (from first urn with n=0 to last urn with n=100).
Then you take the conditional probability of seeing the first ball as red, and calculating the number of times you see the next ball as red.
You will find that you are more likely to get red than green.