Table of Contents
Fetching ...

A coin flip game and generalizations of Fibonacci numbers

Jia Huang

TL;DR

This work analyzes the waiting time until the first occurrence of a fixed string $S$ in fair coin flips. By conditioning on initial runs and developing recursive relations for $E(S)$, it obtains exact formulas for terminating strings with up to four maximal runs or alternating patterns, including $E(H^k)=\!2^{k+1}-2$, $E(H^kT^\ell)=\!2^{k+\ell}$, and explicit three- and four-run expressions such as $E(H^kT^\ell H^m)=\!2^{k+\ell+m}+2^{\min\{k,m\}+1}-2$ and a two-case formula for $E(H^kT^\ell H^mT^d)$. The authors then link these stopping-time results to generalized Fibonacci numbers, introducing $F_n^k$, $\bar F_n^k$, and two-parameter families $F_n^{k,m}$ and $\tilde F_n^{k,m}$ to express $E_n(S)$ for more complex endings, with several summation identities derived via generating functions. They further analyze alternating ending strings and propose conjectures for arbitrary strings, highlighting symmetry properties and possible extensions to dice and broader probabilistic settings. The results reveal deep connections between stopping times in coin-flip sequences and generalized Fibonacci structures, with potential implications for combinatorial enumeration and probabilistic identities.

Abstract

We study a game in which one keeps flipping a coin until a given finite string of heads and tails occurs. We find the expected number of coin flips to end the game when the ending string consists of at most four maximal runs of heads or tails or alternates between heads and tails. This leads to some summation identities involving certain generalizations of the Fibonacci numbers.

A coin flip game and generalizations of Fibonacci numbers

TL;DR

This work analyzes the waiting time until the first occurrence of a fixed string in fair coin flips. By conditioning on initial runs and developing recursive relations for , it obtains exact formulas for terminating strings with up to four maximal runs or alternating patterns, including , , and explicit three- and four-run expressions such as and a two-case formula for . The authors then link these stopping-time results to generalized Fibonacci numbers, introducing , , and two-parameter families and to express for more complex endings, with several summation identities derived via generating functions. They further analyze alternating ending strings and propose conjectures for arbitrary strings, highlighting symmetry properties and possible extensions to dice and broader probabilistic settings. The results reveal deep connections between stopping times in coin-flip sequences and generalized Fibonacci structures, with potential implications for combinatorial enumeration and probabilistic identities.

Abstract

We study a game in which one keeps flipping a coin until a given finite string of heads and tails occurs. We find the expected number of coin flips to end the game when the ending string consists of at most four maximal runs of heads or tails or alternates between heads and tails. This leads to some summation identities involving certain generalizations of the Fibonacci numbers.
Paper Structure (4 sections, 16 theorems, 49 equations)

This paper contains 4 sections, 16 theorems, 49 equations.

Key Result

Lemma 2.1

For any integer $k\ge1$, we have $\sum_{i=1}^k \frac{1}{2^i} = 1-\frac{1}{2^k}$ and $\sum_{i=1}^k \frac{i}{2^i} = 2-\frac{k+2}{2^k}$.

Theorems & Definitions (39)

  • Lemma 2.1
  • proof
  • Theorem 2.2
  • proof
  • Lemma 2.3
  • proof
  • Lemma 2.4
  • proof
  • proof : Another proof for Theorem \ref{['thm1']}
  • Theorem 2.5
  • ...and 29 more