## The 24 game |
random trip report |

Given 4 numbers, can you arrange them in an arithmetic expression
(using +, -, *, and /) that evaluates to 24?

For example, if the numbers are 1, 4, 8 and 9, two solutions are

(4*(9-1))-8 = 24

((4*8)-9)+1 = 24

This web page (developed by David Anderson and Noah Klarreich) solves 24 puzzles using exhaustive search. The code (Python) is here.

Enter the 4 numbers below, then click OK.