Combinations That Sums Up to an Amount

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/9348/. Also, please do not modify any references to the original work (if any) contained in this content.
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
Created by this request
Integer partition This online calculator generates all possible partitions of an entered positive integer. |
URL copied to clipboard
Similar calculators
PLANETCALC, Combinations That Sums Up to an Amount
Comments