Log in! (forgot password)
Coin Flip
On Monday, you flip a coin all day. You start flipping it until you see the pattern Head, Tail, Head. You record the number of flips required to reach this pattern, and start flipping again (and counting up from 1 again) until you see that pattern again, you record the second number, and start again. At the end of the day you average all of the numbers you’ve recorded.
On Tuesday you do the EXACT same thing except you flip until you see the pattern Head, Tail, Tail.
Will Monday’s number be higher than Tuesday’s, equal to Tuesday’s, or lower than Tuesday’s?
[if you’re checking your answer, enter “higher”, “lower”, or “equal”
Discussion
Yes, you guys are right. My deepest apologies.
If after a successful match you can’t use the next 2 flips for anything, then the chances are no longer equal.
Is it just me, or is “start flipping again until you see that pattern” just a tad ambiguous?
I see that the problem writer has edited the text, but adding “(and counting up from 1 again)” is still not clear. I always started counting up from 1 again. How about saying:
“On Monday, you flip a coin all day. You divide the number of flips by the number of times this pattern occurs with no overlaps (there are 2 non-counting flips after each successful match) to get the average distance between matches.”
you are supposed to start from scratch after finding the pattern…
QED indeed.
This analysis is completely wrong. Unhide my next comment to see why.
@ducksauce
I agree with omega7, your program doesn’t quite emulate the situation…
@omega7
very nice explanation for a cs 101 student!
I understood exactly what he meant :P By ‘start again’, I interpreted that as stop, record, and start again, i.e. clean slate.
You fail to adequately describe the setup of the riddle for the desired results without variation.
Depending on how you interpret “start again”, the answer will be different than the presented solution. If you flip a coin and get the following sequence:
HTHTHTH
the given answer would consider this as two sequences, one after three flips and another after seven flips. The answer changes if you consider this sequence to have “HTH” after three, five and seven flips.
I won’t spoil what the answer is for the different cases, but I will say it isn’t the same!
Difficulty
Currently: Moderate (5.6)
