Login
You're viewing the ruby.social public feed.
  • May 13, 2026, 1:24 AM

    @benleis Ooh looks fun!
    Let's say the expectation is `x` and look at the first 3 flips. We get:

    - T _ _ 50% of the time, which we'd expect to take 1+x flips in total because the counter resets after the T,
    - H T _ 25% of the time, which takes 2+x flips
    - H H T 12.5% of the time, which takes 3+x flips, and
    - H H H the remaining 12.5% which takes exactly 3 flips
    So x = (1+x)/2 + (2+x)/4 + (3+x)/8 + 3/8,
    which after some manipulation comes out to x = 14 flips

    💬 1🔄 2⭐ 1

Replies

  • May 13, 2026, 1:25 AM

    Makes kind of intuitive sense if you think of it taking an expected 8 attempts of 3 flips to hit HHH, but instead of "costing" the full 3 flips for every attempt, it only "costs" 1 flip for 4 out of the 8 attempts that start with T, 2 flips for 2 out of the 8 attempts, and 3 flips for the HHT and HHH attempts, summing up to 14 total flips

    💬 0🔄 0⭐ 0