形式陈述
对整数 $n\ge0$
的整数解数为
$$ \binom{n+k-1}{k-1}. $$证明把 $n$
($n\ge k\ge1$
直觉
隔板把一串不可区分物品切成有标签的盒子。每种星号与隔板排列对应且只对应一组非负整数解。
例子与边界
把 $7$
推论与应用
隔板法用于多重组合、单项式计数、整数格点、概率分布和生成函数系数解释。
参考资料
- Eric Lehman, F. Thomson Leighton, and Albert R. Meyer, Mathematics for Computer Science, rev. 2018,§15.5, Cor. 15.5.3; Problems 15.7 and 15.19(b)–(c)。
- Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th ed., McGraw-Hill, 2019,§6.5, generalized permutations and combinations。