Magic Hexagons
Build a nineteen-cell magic hexagon with sum 38 in all three directions.
Junior Olympiad · Intermediate · 0 of 4 solved
Magic hexagon: 14 givens
Three directions instead of two
A magic hexagon places consecutive positive integers in hexagonal cells. Every straight row must have the same sum in all three directions. Rows near the boundary are shorter than the middle row, but their target is the same.
Every cell belongs to one row in each direction. Checking the horizontal rows alone leaves two entire families unchecked. Follow the slanting cell rows from one boundary to the opposite boundary as well.
Why seven cells cannot work
The smallest nontrivial regular hexagonal board has seven cells. In any one direction there are three disjoint rows. The numbers 1–7 total 28, so equal integer row sums would require , which is not an integer. This board is impossible.
There is also a local obstruction: two short rows sharing the same corner cell would require the two other cells to contain equal values. That contradicts using distinct numbers. An impossibility proof is a completed piece of mathematics; repeated unsuccessful attempts alone are not a proof.
Nineteen cells and the sum 38
The next regular board has rows of lengths 3, 4, 5, 4 and 3. There are nineteen cells and five rows in every direction. Since
the common sum must be . This calculation gives a necessary target. A construction is still needed to prove that it can be reached.
For example, the top row gives , and the middle row gives . Trace both slanting directions too. A short boundary row must usually contain larger values than a long row, which is a useful guide when beginning an empty board.
A brief historical connection
Clifford W. Adams searched for a construction for many years and corresponded with Martin Gardner, who passed it to Charles Trigg for analysis. The appeal of the puzzle is that a small board can hide a surprisingly demanding construction. Here we use a verified construction to create a gradual sequence of exercises; no uniqueness claim is needed to check your work.
Larger orders
For a regular hexagon with cells along each edge, the number of cells is
and the number of rows in one direction is . Using 1– would force common sum
If this is not an integer, the construction is impossible. If it is an integer, that alone does not establish existence. The one-cell case is a trivial exception to discussions about nontrivial boards.
A guided sequence
The Problems list on the right has four exercises using the classic nineteen-cell construction. Begin with 14 givens, then 10, then 5, and finally the empty board. Givens are nested in stable row order, so each step removes support from the same construction. Each exercise has independent progress.
Use a nearly complete row to force its missing value. Then examine the other two rows through that cell. Keep the given values fixed and use every number once. The game checks all fifteen rows and accepts any arrangement meeting those conditions.
Related chapters: Magic Rectangles, Number Squares, and Number Placement Graphs.