10217

# Coin Flips

In the ordered flip sequence HTTHHTHHHTHTTHHT, the four-flip sequence THHT occurs before HTHT. Two people could make a bet, each choosing a four-flip sequence, and then flip a coin until one of the sequences occurs. In the game, which sequence is best? Consider the two-flip sequences HH and TH. After three flips, the possibilities are HHH HHT HTH HTT THH THT TTH TTT. In these, HH appears first twice, while TH appears first four times. Already, TH has the advantage. This Demonstration shows how the four-flip sequences compare, with TTTT and HHHH left out, since neither is ever a good bet. Notice the counterclockwise ring of arrows on the outside—every flip sequence can win against at least one other. Thus, if you allow your victim to pick any sequence of four, you can always pick something better. The darkness of an arrow indicates how often one flip result will win against another.

### PERMANENT CITATION

Contributed by: Ed Pegg Jr
 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.
 © 2015 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS
 Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX Download or upgrade to Mathematica Player 7EX I already have Mathematica Player or Mathematica 7+