Let's say I have four colors. Red, Green, Blue, Black
I want to find all different combinations that those can be put to, being able to use sets of 4 colors, down to 1 color. Order will always be the same for the same colors. No duplicate sets are allowed.
So, I'm manually writing some of those combinations I can think of:
- Red, Green, Blue, Black
- Red, Green, Blue
- Red, Green, Black
- Red, Blue, Black
- Red, Blue
- Red, Black
- Red
- Green, Blue, Black
- Green, Black
- Green, Blue
- Green
- Red, Green
- Blue
- Black
I think I'm missing some. So, how is this called? Is it permutations? Combinations? What formula do all combinations come from? And finally, is there any online "calculator" to find all possible combinations of such a case?