You are correct the as is .

This is a well-known problem which takes many forms.

It is counting the number of ways a positive integer, , can be partitioned into or fewer summands, P(N,k).

Example:

.

Tell your instructor to read chapter six ofMATHEMATICS OF CHOICEby Ivan Niven.