Number that represents a hexagon with a dot in the center
In mathematics and combinatorics, a centered hexagonal number, or hex number,[1][2] is a centeredfigurate number that represents a hexagon with a dot in the center and all other dots surrounding the center dot in a hexagonal lattice. The following figures illustrate this arrangement for the first four centered hexagonal numbers:
1
7
19
37
+1
+6
+12
+18
Centered hexagonal numbers should not be confused with cornered hexagonal numbers, which are figurate numbers in which the associated hexagons share a vertex.
The sequence of hexagonal numbers starts out as follows (sequence A003215 in the OEIS):
In base 10 one can notice that the hexagonal numbers' rightmost (least significant) digits follow the pattern 1–7–9–7–1 (repeating with period 5).
This follows from the last digit of the triangle numbers (sequence A008954 in the OEIS) which repeat 0-1-3-1-0 when taken modulo 5.
In base 6 the rightmost digit is always 1: 16, 116, 316, 1016, 1416, 2316, 3316, 4416...
This follows from the fact that every centered hexagonal number modulo 6 (=106) equals 1.
The sum of the first n centered hexagonal numbers is n3. That is, centered hexagonal pyramidal numbers and cubes are the same numbers, but they represent different shapes. Viewed from the opposite perspective, centered hexagonal numbers are differences of two consecutive cubes, so that the centered hexagonal numbers are the gnomon of the cubes. (This can be seen geometrically from the diagram.) In particular, prime centered hexagonal numbers are cuban primes.
The difference between (2n)2 and the nth centered hexagonal number is a number of the form 3n2 + 3n − 1, while the difference between (2n − 1)2 and the nth centered hexagonal number is a pronic number.
Applications
Many segmented mirrorreflecting telescopes have primary mirrors comprising a centered hexagonal number of segments (neglecting the central segment removed to allow passage of light) to simplify the control system.[3] Some examples: