This question doesn't support checking answers.
528. Constrained Sums

Publish Date:

Let S(n,k,b) represent the number of valid solutions to x1 + x2 + ... + xkn, where 0 ≤ xmbm for all 1 ≤ mk.

For example, S(14,3,2) = 135, S(200,5,3) = 12949440, and S(1000,10,5) mod 1 000 000 007 = 624839075.

Find (10 ≤ k ≤ 15 S(10k,k,k)) mod 1 000 000 007.

Press F12 and use the "Console" tab to view the output of your codes.

Loading...