Triangle Sudoku
The Setup
Someone recently shared a fun math puzzle with me. It doesnât require immense math skills, but its quite satisfying when everything works out. Credit for the puzzle goes to Joachim Laukenmann, who regularly posts âZahlendreherâ (German for ânumber twisterâ), math puzzles from ETH ZĂŒrich. They are regularly posted in the Tages Anzeiger, a Swiss newspaper. Click here to see the original post on this puzzle.
The puzzle goes as follows. You have this setup of triangles:
The task is simple:
- Distribute all the numbers from to in the circles, using each number exactly once.
- When adding the three numbers around a gray triangle, the sum should be .
- Adding the numbers around a white triangle should result in .
Curious to try it youself? Should be solveable in 15 minutes.
Spoiler Ahead
You will find the solution down below.
The solution(s)
The first important insight stems from looking at two of the triangles next to each other. We will use arbitrary numbers and (yes, yes, I know, technically they are letters) and assume they satisfy the requirements number 2 and 3.
Requirement 2 and 3 tell us that the sum in the grey triangle is , the sum in the white triangle . We write this down in equation form below.
Subtracting the first from the second gives us , or equivalently . This simplifies things a lot. We have four corners to fill, with just three unkowns and . Lets start applying this pattern. We do this by setting the corners of the upper middle triangle to and , as depicted below.
From there on it is very easy to continue. For each triangle pair, if one side is complete, we fill in the opposite, missing corner. Doing this we get the following.
Now we apply the requirement number 1. All of the numbers need to be distinct, thus the numbers from to need to be turned into three non-overlapping and consecutive groups.
Further, we use the fact that since and sit on a white triangle, their sum must be . There is 6 combinations on how to arrange the groups on the range from to , only one of which satisfies . Either by manually checking, or by some more reasoning about parity and the group sizes, one arrives at the solution , and . Plugging in the numbers into our triangle, we can check that this is indeed a solution.
Are there more?
We have 6 ways to distribute and on the intial triangle, so there is at least six solutions in total. Are there any others? This question is left to the reader as an exercise.