Guide

Order of operations in Hard and Expert equations

Easy and Medium use equations with two numbers and an answer, like 17 + 8 = 25. Hard and Expert also include longer equations with three numbers and two different operators, such as 3 + 4 × 2 = 11. For these, the order matters, and the rules are the ones from school arithmetic.

The rules the puzzles use

  • Multiplication and division happen before addition and subtraction.
  • When two operations are of the same kind, they run left to right.
  • Every step has to be a positive whole number, including the middle steps, and the final answer.
3 + 4 × 2 = 3 + 8 = 1120 − 3 × 4 = 20 − 12 = 812 ÷ 3 + 5 = 4 + 5 = 918 ÷ 6 × 5 = 3 × 5 = 1510 − 4 + 3 = 6 + 3 = 9

The last two use operations of the same kind, so they run left to right. Doing 6 × 5 first in the fourth line would give 18 ÷ 30, which is not even a whole number. That is a quick way to see that left to right is the only reading that works.

Why some equations never appear

The generator rejects any equation where a middle step would be negative or fractional. 98 − 55 × 2 is rejected, because 55 × 2 is 110 and 98 − 110 is below zero. 7 ÷ 2 + 5 is rejected because 7 ÷ 2 is not a whole number. When you see a longer equation in a puzzle, you can trust that every step of it works out cleanly, and use that to narrow the candidates.

Solving one blank in a longer equation

Work in the reverse of the order the equation is calculated. Take away the addition or subtraction first, then undo the multiplication or division.

□ + 7 × 3 = 40 7 × 3 = 21, then 40 − 21 = 1924 ÷ □ + 5 = 11 11 − 5 = 6, then 24 ÷ 6 = 4, so □ = 49 × □ − 20 = 25 25 + 20 = 45, then 45 ÷ 9 = 5, so □ = 530 − 4 × □ = 6 30 − 6 = 24, then 24 ÷ 4 = 6, so □ = 6

In each case the last operation in the order is the first to be undone. If a tile gives a middle step that is negative or not a whole number, it cannot be the answer.

When there are two blanks

Use the positive-step rule as a filter. In A − B × C = D, the product B × C has to be less than A, so a large tile in the B or C cell is only possible when A is larger still. In A ÷ B + C = D, the division has to be exact, so A has to be a multiple of B. These two facts alone usually cut the candidates down to a few, and the crossing equations finish the job.

Common mistakes

  • Reading left to right every time. 3 + 4 × 2 is 11, not 14.
  • Forgetting that division must be exact. 12 ÷ 4 can appear and 12 ÷ 5 cannot.
  • Checking only the final answer. A tile that gives the right total through a negative middle step is not allowed.

Keep reading

Try it in a puzzle→