840. Sum of Products

A partition of is a set of positive integers for which the sum equals .
The partitions of 5 are: and .

Further we define the function as:

Now let be a partition of .
We assign to this particular partition the value:

is the sum of for all partitions of .
We can verify that .

We also define:

You are given .
Find .

840. 乘积之和

我们定义 的一个拆分(partition)为一个正整数集合,其所有元素之和为 。例如: 的所有拆分为

进一步定义函数 满足:

现在我们记 的某一个拆分为 ,并指定一个数 表示这个拆分的“价值”, 的计算方法为:

再令 所有拆分的 之和。已知:

再进一步的,令

已知:

之值。


这个链接 回到源站。

这个链接 回到详细版题目目录。