Partitioning problem++
Determine the number of non-negative integer solutions to an equation.
Theory:
The number of non-negative integer solutions to the equation:
is given by:
Where:
- : Total sum
- : Number of variables
Determine the number of non-negative integer solutions to an equation.
The number of non-negative integer solutions to the equation:
is given by:
Where: