I was thinking about a little Problem. Imagine you write down five digits (0,1,...,9) on piece of paper.

You can now fill the gaps in between the digits with as many of the following symbols as you want:

"+", "-", "*", "/", "^", "(", ")", "="

The question is:

For every possible combination of five digits, is it possible to fill the gaps, so that the result is a legit equation?

If not, would it be possible if you add the squareroot and/or the factorial?

Edit: For example:

8 7 2 1 3 could become this equation: -8 + 7 = 2 - 1 * 3

## Build an equation

### Re: Build an equation

I have a solution for 5 digits and the symbols "+", "-", "*" and "/" (but without leading "-" like in "-3+5"

~83% of the combinations of five digits have a solution.

If you add the modulus operator "%", ~99% have a solution.

~83% of the combinations of five digits have a solution.

If you add the modulus operator "%", ~99% have a solution.