Heights and mass of the maximal - height blocks #
The arguments follow Crmarić, Kovač, and Rupčić, §2. The collision estimate is proved by the falling - factorial recurrence, so no probability space is needed.
Mathlib supplies the multinomial formula and the relation between falling factorials and binomial coefficients. See the individual proofs for the declarations used.
A bound independent of the multiplicities, including repeated choices.
theorem
Autoconvolutions.Digits.multinomial_of_distinct
{ι : Type u_1}
(I : Finset ι)
(a : ι → ℕ)
(ha : ∀ i ∈ I, a i ≤ 1)
:
If every occupied digit was chosen only once, the bound is attained.
Proportion of ordered strings with no repeated letter.
Equations
- Autoconvolutions.Digits.distinctFraction r k = ↑(r.descFactorial k) / ↑r ^ k
Instances For
Extending a distinct string of length k has exactly r - k available choices. The equality also holds when k exceeds the alphabet size.