Combinations That Sums Up to an Amount

Given a positive number, find all combinations of positive numbers that adds up to that number. Only combinations displayed, not permutations.

Example :
Given Number : 5
Combinations :
1+1+1+1+1
2 + 2 + 1
2 + 3
3 + 1 + 1
4 + 1

This is a request for a calculator left by a user.

There is still no calculator created for this request. If you are interested in implementing such a calculator, please leave a comment.
URL copied to clipboard
Creative Commons Attribution/Share-Alike License 3.0 (Unported) PLANETCALC, Combinations That Sums Up to an Amount

Comments