# Magic hexagon

﻿
Magic hexagon

A magic hexagon of order n is an arrangement of numbers in a centered hexagonal pattern with n cells on each edge, in such a way that the numbers in each row, in all three directions, sum to the same magic constant. A normal magic hexagon contains the consecutive integers from 1 to 3n2 − 3n + 1. It turns out that magic hexagons exist only for n = 1 (which is trivial) and n = 3. Moreover, the solution of order 3 is essentially unique.[1] Meng also gave a less intricate constructive proof.[2]

 Order 1 M = 1 Order n=3 M = 38

The order-3 magic hexagon has been published many times as a 'new' discovery. An early reference, and possibly the first discoverer, is Ernst von Haselberg (1887).

Although there are no normal magical hexagons with order greater than 3, certain abnormal ones do exist. In this case, abnormal means starting the sequence of numbers other than with 1. Arsen Zahray discovered these order 4 and 5 hexagons:

 Order 4 M = 111 Order 5 M = 244

The order 4 hexagon starts with 3 and ends with 39, its rows summing to 111. The order 5 hexagon starts with 6 and ends with 66 and sums to 244.

An order 6 hexagon can be seen below. It was created by Louis Hoelbling, October 11, 2004:

It starts with 21, ends with 111, and its sum is 546.

The largest magic hexagon so far was discovered using simulated annealing by Arsen Zahray on 22 March 2006:

It starts with 2, ends with 128 and its sum is 635.

However, a slightly larger, order 8 magic hexagon was generated by Louis K. Hoelbling on February 5, 2006:

It starts with -84 and ends with 84, and its sum is 0.

## Proof

Here is a proof sketch that no normal magic hexagons exist except those of order 1 and 3.

The magic constant M of a normal magic hexagon can be determined as follows. The numbers in the hexagon are consecutive, and run from 1 to (3n^2-3n+1). Hence their sum is a triangular number, namely

$s={1\over{2}}(3n^2-3n+1)(3n^2-3n+2)={9n^4-18n^3+18n^2-9n+2\over{2}}$

There are r = (2n − 1) rows running along any given direction (E-W, NE-SW, or NW-SE). Each of these rows sum up to the same number M. Therefore:

$M={s\over{r}}={1\over{2n-1}}{9n^4-18n^3+18n^2-9n+2\over{2}}={9n^4-18n^3+18n^2-9n+2\over{2(2n-1)}}.$

Rewriting this as

$32M=72n^3-108n^2+90n-27+{5\over2n-1}$

shows that 5/(2n − 1) must be an integer. The only n ≥ 1 that meet this condition are n = 1 and n = 3.

## Another type of magic hexagon

Hexagons can also be constructed with triangles, as the following diagrams show.

 Order 2 Order 2 with numbers 1–24

This type of configuration can be called a T-hexagon and it has many more properties than the hexagon of hexagons.

As with the above, the rows of triangles run in three directions and there are 24 triangles in a T-hexagon of order 2. In general, a T-hexagon of order n has 6n2 triangles. The sum of all these numbers is given by:

${S}={6n^2(6n^2 + 1)\over 2}$

If we try to construct a magic T-hexagon of side n, we have to choose n to be even, because there are r = 2n rows so the sum in each row must be

$M={S\over R}={3n^2(6n^2+1)\over 2n}$

For this to be an integer, n has to be even. To date, magic T-hexagons of order 2, 4, 6 and 8 have been discovered. The first was a magic T-hexagon of order 2, discovered by John Baker on 13 September 2003. Since that time, John has been collaborating with David King, who discovered that there are 59,674,527 non-congruent magic T-hexagons of order 2.

Magic T-hexagons have a number of properties in common with magic squares, but they also have their own special features. The most surprising of these is that the sum of the numbers in the triangles that point upwards is the same as the sum of those in triangles that point downwards (no matter how large the T-hexagon). In the above example,

17 + 20 + 22 + 21 + 2 + 6 + 10 + 14 + 3 + 16 + 12 + 7
= 5 + 11 + 19 + 9 + 8 + 13 + 4 + 1 + 24 + 15 + 23 + 18
= 150

To find out more about magic T-hexagons, visit Hexagonia or the Hall of Hexagons.

### Notes

1. ^ <Trigg, C. W. "A Unique Magic Hexagon", Recreational Mathematics Magazine, January–February 1964. Retrieved on 2009-12-16.
2. ^ <Meng, F. "Research into the Order 3 Magic Hexagon", Shing-Tung Yau Awards, October 2008. Retrieved on 2009-12-16.

### References

• Baker. J. E. and King, D. R. (2004) "The use of visual schema to find properties of a hexagon" Visual Mathematics, Volume 5, Number 3
• Baker, J. E. and Baker, A. J. (2004) "The hexagon, nature's choice" Archimedes, Volume 4

• hexagonal tortoise problem

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• Magic Realm — Designer(s) Richard Hamblen Publisher(s) Avalon Hill Publication date 1979 Players 1 …   Wikipedia

• List of Magic: The Gathering sets — Magic sets redirects here. For the query optimization algorithm, see Magic Sets algorithm. These are tables of Magic: The Gathering card sets. A trading card game published by Wizards of the Coast, Magic is primarly marketed in base/core sets and …   Wikipedia

• Heroes of Might and Magic IV — Infobox VG title = Heroes of Might and Magic IV developer = New World Computing publisher = The 3DO Company designer = Gus Smedstad version = 3.0 released = genre = Turn based strategy modes = Single player, single system multiplayer, and network …   Wikipedia

• Space Mountain (Magic Kingdom) — Space Mountain at the Magic Kingdom opened on January 15, 1975.Infobox Disney ride name=Space Mountain caption= park=Magic Kingdom land=Tomorrowland designer=WED Enterprises manufacturer= type=Steel Roller coaster theme= control system=… …   Wikipedia

• Heroes of Might and Magic IV (card game) — Heroes of Might Magic IV Collectible Card and Tile Game is a 2005 collectible card game created by DGA Games. Game pieces The game is played on maps created at the start of the game from map tiles. As the places on the tiles are too small to… …   Wikipedia

• Hexagone magique — En mathématiques, un hexagone magique d ordre n est un arrangement de nombres formant un gabarit hexagonal centré avec n cellules sur chaque côté. La somme des nombres dans chaque rangée ou dans les trois directions font la même somme. Un… …   Wikipédia en Français

• List of mathematics articles (M) — NOTOC M M estimator M group M matrix M separation M set M. C. Escher s legacy M. Riesz extension theorem M/M/1 model Maass wave form Mac Lane s planarity criterion Macaulay brackets Macbeath surface MacCormack method Macdonald polynomial Machin… …   Wikipedia

• 38 (number) — This article discusses the number thirty eight. For the year 38 CE, see 38. For other uses of 38, see 38 (disambiguation) ← 37 39 → 38 ← …   Wikipedia

• 19 (number) — ← 18 20 → 19 ← 10 11 12 13 14 15 16 17 …   Wikipedia

• Magisches Sechseck — Ein magisches Sechseck ist eine sechseckige Anordnung von Zahlen, bei der die Summen aller Reihen in den drei Richtungen die gleiche Summe ergeben. Ein normales magisches Sechseck enthält die Zahlen von 1 bis 3n2 − 3n + 1. Dies existiert nur für… …   Deutsch Wikipedia

### Share the article and excerpts

Do a right-click on the link above