Number of ways to put n objects in k bins, with each having at least one object

cosmos 4th November 2016 at 2:43pm

(n1k1)\binom{n-1}{k-1}

See Stars and bars