Proposition 2.3 -- the coupon collector's expected time
ProvedMarkovMixing.coupon_expectationmarkov-chainsmixing-timesprobability
The expected number of independent uniform draws needed to collect all coupon types is
where is encoded by the tail-sum and is the fraction of draw sequences of length that miss some type.
Preamble
import Definitions.Def_mm_classical
Formal statement
namespace MarkovMixing
/-- **Proposition 2.3** (LPW): the expected number of uniform draws needed to
collect all `n` coupon types is `n ∑_{k=1}^n 1/k`. -/
theorem coupon_expectation (n : ℕ) (hn : 1 ≤ n) :
couponExpTime n = n * ∑ k ∈ Finset.Icc 1 n, (1 : ℝ) / k := by
sorry
end MarkovMixing
Source
D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, AMS 2009, https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf, Section 2.2, Proposition 2.3, p. 22