A probability question about removing stones from piles
Statement
I have run across a question that seems like it should have a well known answer, but I can't find one, so I thought I would ask this hive mind:
Suppose we start with t piles of s rocks each. In a given turn, I will choose at random (with equal probabilities) one of the piles that still has at least one rock in it and remove one of the rocks from that pile. After I have removed k total rocks (with k less than st), what is the expected number of piles that are left? It would be even nicer to know what the probability is that a given number of piles remain or the expected size of the largest pile or things of that nature.
I have done some monte carlo simulations and I would be happy to share those results, but I am curious if anyone has any insights into this or has run across something similar in the literature.
Thanks!
Posed by user4535 · pr.probability, co.combinatorics
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-98876.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-98876.lean
import Mathlib /-! # A probability question about removing stones from piles Source: https://mathoverflow.net/questions/98876 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_98876 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_98876