|
|
|||
|
|
| IntegerPartitions[n] 给出把整数 n 划分成一系列较小的整数的所有可能的方法。 |
| IntegerPartitions[n, k] 给出最多划分成 k 个整数。 |
| IntegerPartitions[n, {k}] 给出精确的划分成 k 个整数。 |
| IntegerPartitions[n, {kmin, kmax}] 给出在 kmin 和 kmax 两个整数之间划分。 |
| IntegerPartitions[n, kspec, {s1, s2, ...}] 给出只包括 si 的划分。 |
| IntegerPartitions[n, kspec, sspec, m] 给出第一个 m 划分。 |