There are $36$ identical balls, $12$ boxes numbered $1$ to $12$, and two $6$-sided dice.
You start by placing each of the balls into one of the boxes. You then repeatedly roll the dice and take a ball from the box numbered with their sum. If there isn't any ball in that box, you just skip the round.
What is the best strategy to assign the balls to minimize the expected number of rounds needed to take all balls out?
I know how to use min-max Inclusion–exclusion principle to solve the problem which the balls are already assigned. But is there an effecient way to find out the best strategy?
And if there is a way to answer the question when the possibility to take a ball from the i-th box is $p_i$.
Thank you for your time.
You know that rolling two dices has 36 different outcomes and 12 different sums.
You should try to see how many different rolls has $i$ as sum and put that many balls in the box number $i$.
For example in the box number $7$ you should put $6$ different balls becuse rolling the dices you can get a $7$ in $6$ different ways $\{(1,6),\dots,(6,1)\}$.
In this way you are more likely to always remove a ball when you throw the dices.