In
mathematics and
combinatorics, a centered hexagonal number, or hex number,
is a
centered figurate number
The term figurate number is used by different writers for members of different sets of numbers, generalizing from triangular numbers to different shapes (polygonal numbers) and different dimensions (polyhedral numbers). The term can mean
* polyg ...
that represents a
hexagon
In geometry, a hexagon (from Greek , , meaning "six", and , , meaning "corner, angle") is a six-sided polygon. The total of the internal angles of any simple (non-self-intersecting) hexagon is 720°.
Regular hexagon
A '' regular hexagon'' has ...
with a dot in the center and all other dots surrounding the center dot in a
hexagonal lattice
The hexagonal lattice or triangular lattice is one of the five two-dimensional Bravais lattice types. The symmetry category of the lattice is wallpaper group p6m. The primitive translation vectors of the hexagonal lattice form an angle of 120° ...
. The following figures illustrate this arrangement for the first four centered hexagonal numbers:
:
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 :
:
1,
7,
19,
37,
61,
91,
127,
169, 217, 271, 331, 397, 469, 547, 631, 721, 817, 919.
Formula
The th centered hexagonal number is given by the formula
[
:
Expressing the formula as
:
shows that the centered hexagonal number for is 1 more than 6 times the th ]triangular number
A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots i ...
.
In the opposite direction, the ''index'' corresponding to the centered hexagonal number can be calculated using the formula
:
This can be used as a test for whether a number is centered hexagonal: it will be if and only if the above expression is an integer.
Recurrence and generating function
The centered hexagonal numbers satisfy the recurrence relation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
[
:
From this we can calculate the generating function . The generating function satisfies
:
The latter term is the ]Taylor series
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
of , so we get
:
and end up at
:
Properties
In base 10
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numer ...
one can notice that the hexagonal numbers' rightmost (least significant) digits follow the pattern 1–7–9–7–1 (repeating with period
Period may refer to:
Common uses
* Era, a length or span of time
* Full stop (or period), a punctuation mark
Arts, entertainment, and media
* Period (music), a concept in musical composition
* Periodic sentence (or rhetorical period), a concept ...
5).
This follows from the last digit of the triangle numbers which repeat 0-1-3-1-0 when taken modulo 5.
In base 6
A senary () numeral system (also known as base-6, heximal, or seximal) has six as its base. It has been adopted independently by a small number of cultures. Like decimal, it is a semiprime, though it is unique as the product of the only two con ...
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 centered hexagonal numbers is . That is, centered hexagonal pyramidal number A pyramidal number is a figurate number that represents a pyramid with a polygonal base and a given number of triangular sides. A pyramidal number is the number of points in a pyramid where each layer of the pyramid is an -sided polygon of points. ...
s and cubes
In geometry, a cube is a three-dimensional space, three-dimensional solid object bounded by six square (geometry), square faces, Facet (geometry), facets or sides, with three meeting at each vertex (geometry), vertex. Viewed from a corner it i ...
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
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
centered hexagonal numbers are cuban prime
A cuban prime is a prime number that is also a solution to one of two different specific equations involving differences between third powers of two integers ''x'' and ''y''.
First series
This is the first of these equations:
:p = \frac,\ x = ...
s.
The difference between and the th centered hexagonal number is a number of the form , while the difference between and the th centered hexagonal number is a pronic number A pronic number is a number that is the product of two consecutive integers, that is, a number of the form n(n+1).. The study of these numbers dates back to Aristotle. They are also called oblong numbers, heteromecic numbers,. or rectangular number ...
.
Applications
Centered hexagonal numbers have practical applications in packing problem
Packing problems are a class of optimization problems in mathematics that involve attempting to pack objects together into containers. The goal is to either pack a single container as densely as possible or pack all objects using as few conta ...
s. They arise when packing round items into larger round containers, such as Vienna sausage
A Vienna sausage (german: Wiener Würstchen, Wiener; Viennese/Austrian German: ''Frankfurter Würstel'' or ''Würstl''; Swiss German: ''Wienerli''; Swabian: ''Wienerle'' or ''Saitenwurst'') is a thin parboiled sausage traditionally made of por ...
s into round cans, or combining individual wire
Overhead power cabling. The conductor consists of seven strands of steel (centre, high tensile strength), surrounded by four outer layers of aluminium (high conductivity). Sample diameter 40 mm
A wire is a flexible strand of metal.
Wire is c ...
strands into a cable
Cable may refer to:
Mechanical
* Nautical cable, an assembly of three or more ropes woven against the weave of the ropes, rendering it virtually waterproof
* Wire rope, a type of rope that consists of several strands of metal wire laid into a hel ...
.
References
See also
*Hexagonal number
A hexagonal number is a figurate number. The ''n''th hexagonal number ''h'n'' is the number of ''distinct'' dots in a pattern of dots consisting of the ''outlines'' of regular hexagons with sides up to n dots, when the hexagons are overlaid so ...
* Magic hexagon
*Star number
A star number is a centered figurate number, a centered hexagram (six-pointed star), such as the Star of David, or the board Chinese checkers is played on.
The ''n''th star number is given by the formula ''Sn'' = 6''n''(''n'' − 1) + 1. The ...
{{DEFAULTSORT:Centered Hexagonal Number
Figurate numbers
Integer sequences