The number of ways to distribute $r$ $identical$ $objects$ into $n$ $distinct$ $boxes$ with at least $r_i$ objects in the $i^{th}$ box is:
$$C\left(\left(r-r_1-r_2-...-r_n\right)+n-1,n-1\right)$$
For example, suppose I had 12 identical objects in 4 distinct boxes, and with at least 1 object in $n$ boxes (each one).
Then I get:
$$C\left(\left(r-n\right)+n-1,n-1\right)$$
How can I prove the general formula listed above?