Hello, milkntea!

Here's a primitive approach . . .Do you know of any algorithm that can solve for in the equation:

. . . for

Suppse . . . We have 7 objects.

Place them in a row with a space between then: .

Select two of the spaces and insert "dividers".

So that: . .represents

. . .And: . .represents

Hence, there are: . possible solutions.

I'll leave it toto list them . . .you

.