The Expressionist

Given a set of numbers and a set of operators, the Expressionist will compute all expressions involving a permutation or combination of these numbers and operators.

Numbersany list of signed integer
Operatorsany list of + - * / % min max
Result filterEmpty or signed integer
permutationcombination
numbers
operators
Show set
Min
Max
Count
 
 
 
 

About the Expressionist

Is it possible to express the number 21 through numbers 1, 5, 6 and 7 and any of the operations +, -, * and /? You don't get the answer? The Expressionist can help!

You can choose to have the numbers and operators permuted or combined independently. Take for example the sets 1,5,6,7 and +,-,*,/. Typical cases of expressions are listed in the following table.

Casespermuted operatorscombined operators
permuted numbers5/1+6*71+5+6+7
combined numbers1/1+1-11+1+1+1

The computation of all expressions can become quite lengthy, in part because the display of thousands of lines is time consuming. The expressionist lets you therefore filter the results and displays only those expressions matching a specific number.

Have fun!