Triangle Sudoku

math puzzle
Back to Posts

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:

  1. Distribute all the numbers from 11 to 88 in the circles, using each number exactly once.
  2. When adding the three numbers around a gray triangle, the sum should be 1414.
  3. Adding the numbers around a white triangle should result in 1313.

Curious to try it youself? Should be solveable in 15 minutes.

The solution(s)

The first important insight stems from looking at two of the triangles next to each other. We will use arbitrary numbers a,b,ca,b,c and dd (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 1414, the sum in the white triangle 1313. We write this down in equation form below.

a+b+c=13a+b+d=14\begin{align} a + b + c &= 13 \\ a + b + d &= 14 \end{align}

Subtracting the first from the second gives us d−c=1d - c = 1, or equivalently d=c+1d = c + 1. This simplifies things a lot. We have four corners to fill, with just three unkowns a,ba,b and cc. Lets start applying this pattern. We do this by setting the corners of the upper middle triangle to a,b,ca,b,c and c+1c+1, 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 11 to 88 need to be turned into three non-overlapping and consecutive groups.

{a−1,a,a+1}{b,b+1}{c−1,c,c+1}\begin{array}{c} \{ a-1, a, a+1 \} \\ \{ b, b+1 \} \\ \{ c-1, c, c+1 \} \end{array}

Further, we use the fact that since a,ba,b and cc sit on a white triangle, their sum must be 1313. There is 6 combinations on how to arrange the groups on the range from 11 to 88, only one of which satisfies a+b+c=13a+b+c = 13. Either by manually checking, or by some more reasoning about parity and the group sizes, one arrives at the solution a=2a=2, b=4b = 4 and c=7c = 7. Plugging in the numbers into our triangle, we can check that this is indeed a solution.

Back to the Top