Question: For n, m Z+, let f(n, m) count the number of partitions of n where the summands form a non increasing sequence of positive

For n, m ∈ Z+, let f(n, m) count the number of partitions of n where the summands form a non increasing sequence of positive integers and no summand exceeds m. With n = 4 and m = 2, for example, we find that f(4, 2) = 3 because here we are concerned with the three partitions
4 = 2 + 2, 4 = 2+1 +1, 4 = l + l + l + l.
(a) Verify that for all n, m ∈ Z+,
f(n, m) = f(n - m, m) + f(n, m - 1).
(b) Write a computer program (or develop an algorithm) to compute f(n, m) for n, m ∈ Z+.
(c) Write a computer program (or develop an algorithm) to compute p(n), the number of partitions of a given positive integer n.

Step by Step Solution

3.56 Rating (177 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The partitions counted in fn m fall into two categories 1 Partitions where m is a summand These ar... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

954-M-L-A-L-S (8089).docx

120 KBs Word File

Students Have Also Explored These Related Linear Algebra Questions!