Show Permutations or Combinations
Choose one
...
Combinations or
Permutations or
Repeatable
Combinations: If one has 5 different objects (e.g. A, B, C, D, and E), how many ways can they be grouped as 3 objects when position does not matter (e.g. ABC, ABD, ABE, ACD, ACE, ADE are correct but CBA is not ok as is equal to ABC) - answer is 10 ways.
Enter number of different objects
:
Enter size of groups that can be taken from objects ( 1 to number above ):
- - [see below] - -
All combinations will be shown here
Someone requested more letters (items) taken more ways so I made a DOS executable based on the same code which is faster. In fact, too many items won't fit in the memory array of about 32K of JavaScript so this is the only way to do it. With the software you can have up to 26 letters of any number of ways up to 26 for the combinations. However, for the permutations and all possibilities, I can only give you 26 letters and up to 6 ways, but for some of these it may not be practical to save them or sift through the possibilities with my algorithm. But there is quite a bit more power than what can be done above. Get program at...
JavaScript © 1997 by John A. Byers,
Chemical Ecology