How many coin tosses would you need until you get $n$ Heads or $m$ Tails?
Svante Janson, Lucy Martinez, Doron Zeilberger

TL;DR
This paper investigates the expected number of coin tosses needed to reach specified counts of Heads or Tails, using symbolic computation and providing a Maple package for efficient calculations.
Contribution
It introduces a computational approach and a Maple package for analyzing the stopping times in coin toss sequences with specified head/tail counts.
Findings
Provides formulas for expected number of tosses to reach n Heads or m Tails
Includes a Maple package for fast symbolic computation of moments
Analyzes related problems of reaching n Heads and m Tails
Abstract
We harness both human ingenuity and the power of symbolic computation to study the number of coin tosses until reaching Heads or Tails. We also talk about the closely related problem of reaching Heads and Tails. This paper is accompanied by a Maple package that enables fast computation of expectations, variances, and higher moments of these quantities.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHistory and Theory of Mathematics · Advanced Combinatorial Mathematics · Polynomial and algebraic computation
