Tool to generate lists of multiple choice combinations by combining a selection with one choice by option / category or by drawing a random choice.
Combination of Choices - dCode
Tag(s) : Combinatorics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A choice combination is a series of choices made from among several possibilities. When several options have several choices (multiple choices: numbers, letters, colors, or other choices), then it is possible to list all the combinations of choices offered.
Enter the choices on each line in the generator and click on generate button
Example: All clothes combinations among 3 colors and 5 sizes:
1st multiple choice, the color red, green, blue
2nd multiple choice, the size XS S M L XL:
red | XS |
red | S |
red | M |
red | L |
red | XL |
green | XS |
green | S |
green | M |
green | L |
green | XL |
blue | XS |
blue | S |
blue | M |
blue | L |
blue | XL |
The total number is equal to the multiplication of the number of each possible choices.
Example: A car that can have 5 choices of colors, 2 choices of engine and 2 choices of gearbox, will have $ 5 \times 2 \times 2 = 20 $ distinct possibilities
Example: A 3-digit padlock with 10 choices for the first digit, 10 choices for the second digit and 10 choices for the last digit will have $ 10 \times 10 \times 10 = 1000 $ possible combinations.
Filtering the results is a completely different operation which is not proposed here.
dCode offers a page dedicated to filtering number combinations.
For letter combinations to form words, dCode offers dedicated word search tools (like regular expression word search).
Combinatorial explosion is a phenomenon where the total number of possible combinations increases exponentially as the number of elements or options to be combined increases, often making the generation of these combinations impractical for large numbers of elements. To avoid this, limit the number of elements to choose from to reduce the complexity of the problem.
dCode retains ownership of the "Combination of Choices" source code. Except explicit open source licence (indicated Creative Commons / free), the "Combination of Choices" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Combination of Choices" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Combination of Choices" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Combination of Choices" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Combination of Choices on dCode.fr [online website], retrieved on 2024-12-04,