Articles

From one to ten with 5 ones

From one to ten with 5 ones

We have at our disposal five numbers "1" with which we can operate in any way to get all the numbers from 1 to 10.

To achieve each value, all available ones must be used.
For example, we can get the number zero as follows:

0 = (1 - 1) + (1 - 1) × 1

Are you able to get them all?

Solution

Here is an example of each number although there are more ways to get them:

1 = (1 + 1) - (1 + 1) + 1
2 = (1 + 1) + (1 + 1) × 1
3 = (1 + 1) + (1 + 1) + 1
4 = (1 + 1) × (1 + 1) × 1
5 = (1 + 1) × (1 + 1) + 1
6 = (1 + 1) × (1 + 1 + 1)

8 = 11 - 1 - 1 - 1
9 = 11 - 1 - 1 × 1
10 = (11 - 1) + (1 - 1)