论文部分内容阅读
问题 把n个相同的小球放入m个不同的盒子中 (n ≥m≥ 1) ,要求每个盒子非空 ,问有多少种不同的放法 ?这是一个常见的组合问题 ,可先将n个小球排成一列 ,然后在每两个小球的n- 1个空档中插入m- 1块隔板 ,这样就将n个小球分割成m组 ,每组小球依次放入m个盒子中 ,就得
The problem is to put n identical balls into m different boxes (n ≥ m ≥ 1), asking each box to be non-empty, and asking how many different ways to put it? This is a common combination problem. Put n balls in a row, then insert m - 1 baffle in n - 1 empty spaces of every two balls, so that n balls are divided into m groups, each ball is placed in turn In the m boxes, you have to