Today we are visiting a specific instance of a well-known basic mathematics game, the 24 Game. The "24 Game" is usually played with younger students because it helps them develop skills related to the basic arithmetic operations.
I am excited to tell you that I just released the alpha version of my “Pydont's” book, a book that compiles all my “Pydon't” articles. You can get the book at leanpub: leanpub.com/pydonts.
The "24 Game" is usually played with four different numbers from \(1\) to \(9\), for example drawn randomly out of a small deck with those numbers. For this blog post, you can forget about all that, I picked very specific numbers for you.
Using the four numbers \(3\), \(3\), \(8\) and \(8\) and the four arithmetic operations addition, subtraction, multiplication and division, you have to make an expression that evaluates to \(24\). The rules are simple:
I am not giving you a puzzle with a cheap trick involved. This is pure arithmetics.
An example valid expression would be \((3+3)\times (8+8)\) except this is not the solution because it gives \(96\) instead of \(24\).
Give it some thought, maybe take out a piece of paper and a pencil.
I heard of this from the same friend who told me about the "Fold the alphabet" problem.
Do not read the hint if you haven't spent some time thinking about the problem yet!
The intermediate steps do not have to evaluate to integer numbers.
You can read the solution here to compare with your own solution.
If you liked this article and would like to support the mathspp project, then you may want to buy me a slice of pizza 🍕.