Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: May 1, 2025, 10:33 pm
Poll: On average, which pattern takes fewer coin tosses? This poll is closed. |
|||
They'll happen equally fast, on average. | 11 | 78.57% | |
Tails, Heads, Tails takes fewer tosses. | 0 | 0% | |
Tails, Heads, Heads takes fewer tosses. | 2 | 14.29% | |
I can't figure it out. | 1 | 7.14% | |
Total | 14 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Thread Rating:
Coin Flipping Poll
|
RE: Coin Flipping Poll
April 17, 2010 at 3:53 am
(This post was last modified: April 17, 2010 at 3:56 am by Violet.)
![]() Oh... well now I feel like a moron... But then: I always feel like that! ![]() The question wasn't "which sequence done once takes fewer" (that would be 50/50). It is "which is statistically more common should this continue?" I have now learned to recognize the difference... : o I have learned something this otherwise blissfully ignorant day >_< Please give me a home where cloud buffalo roam
Where the dear and the strangers can play
Where sometimes is heard a discouraging word
But the skies are not stormy all day
Well, 14 of you voted. 11 got it wrong, and only 2 got it right (with 1 person not wanting to guess).
The answer is actually that Tails, Heads, Heads comes up with fewer tosses on average. The reasoning is quite easy, but first you need to understand what the question is asking. The question wasn't "Which result requires fewer tosses if you only have 3 tosses" as some people seem to have thought. In that case, the 11 would be correct. If you have only 3 tosses, then all combinations of the 3 tosses (HHH, HHT, HTH, HTT, THH, THT, TTH, TTT) are equally likely of coming up, so THH and THT both have an equal chance (1/8th) of coming up. However, the question was asking on average, which pattern took the fewest tosses to appear. That means, that if you toss three coins and get HTH, you haven't got either pattern yet and must continue flipping. The same goes for the other 5 patterns that don't equal either THH or THT. Since we are moving from left to right, we should be able to deduce that both patterns start with TH. This is the common factor between them, and it turns out to be very important. To answer the question, it is necessary to see what happens when each pattern is struck with failure. If we assume that the first and second coins flipped were T and H respectively, then both patterns have 2/3 completion. Something statistically significant happens on the next flip though: If the third flip is a H, then the THH pattern has been found, and we have to flip at least 3 more times to get a THT pattern. If the third flip is a T, then the THT pattern has been found, and we have to flip at least 2 more times to get a THH pattern. The THH pattern has a better chance of coming up because it doesn't overlap itself. A failure for the THT pattern means you have to start all over again, whilst a failure for the THH pattern means you already have the first T and so only need two more flips. In order to show this in an objective way, I wrote a piece of code: http://pastebin.com/cjkeMnhg It plays the game 10,000 times (to get a nice sample size), each time flipping 3 coins to start, and then continually flipping until both patterns are found. The average for each pattern is averaged and displayed as the result: Program Output Wrote:THH found after an average of 8.0015 (~8) flips. It doesn't stop there though. You can try it with other patterns, and it doesn't matter how big your patterns get, a T followed by a string of H will always come up with fewer tosses on average than the same length alternating pattern: Program Output Wrote:THHH found after an average of 16.035 (~16) flips. Statistics is fun! Points go to Paul the Human for the correct answer, and double points go to Zhalentine for posting a solution ![]() Better luck next time everyone else!
WoO!
*collects his winnings* Which way is the Blackjack table?
1 minus point to Adrian for swearing in the post title. Gilligan will be along shortly to issue you with your 'threat'.
(April 17, 2010 at 11:18 am)fr0d0 Wrote: 1 minus point to Adrian for swearing in the post title. Gilligan will be along shortly to issue you with your 'threat'. Fuck fuck fuckity fuck. Can I be threatened too now? ![]() Please give me a home where cloud buffalo roam
Where the dear and the strangers can play
Where sometimes is heard a discouraging word
But the skies are not stormy all day
|
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
Poll: You're in the Prisoner's Dilemma. | shadow | 35 | 6244 |
November 25, 2017 at 5:13 pm Last Post: vorlon13 |
|
Unfair Coin Flip | Tiberius | 103 | 15132 |
September 30, 2017 at 6:56 pm Last Post: Brian37 |
|
Bit flipping | SteelCurtain | 41 | 11772 |
April 26, 2016 at 9:55 am Last Post: pocaracas |
|
The "classic" counterfiet coin puzzle | jvwert | 18 | 9952 |
December 7, 2010 at 12:08 am Last Post: Rhizomorph13 |
Users browsing this thread: 1 Guest(s)