Hex Number
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
and
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many appl ...
, 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 * polygon ...
that represents a
hexagon In geometry, a hexagon (from Ancient Greek, Greek , , meaning "six", and , , meaning "corner, angle") is a six-sided polygon. The total of the internal angles of any simple polygon, simple (non-self-intersecting) hexagon is 720°. Regular hexa ...
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 :H(n) = n^3 - (n-1)^3 = 3n(n-1)+1 = 3n^2 - 3n +1. \, Expressing the formula as :H(n) = 1+6\left(\frac\right) 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 in ...
. In the opposite direction, the ''index'' corresponding to the centered hexagonal number H = H(n) can be calculated using the formula :n=\frac. 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 H(n) 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 ...
:H(n+1) = H(n) + 6n. From this we can calculate the
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
F(x) = \sum_ H(x) x^n. The generating function satisfies :F(x) = x + xF(x) + \sum_ 6n x^n. 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 serie ...
of \frac - 6x, so we get :(1 - x) F(x) = x + \frac - 6x = \frac and end up at :F(x) = \frac.


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 numeral ...
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 A numeral system (or system of numeration) is a writing system for expressing numbers; that is, a mathematical notation for representing numbers of a given set, using Numerical digit, digits or other symbols in a ...
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 solid object bounded by six square faces, facets or sides, with three meeting at each vertex. Viewed from a corner it is a hexagon and its net is usually depicted as a cross. The cube is the only r ...
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 A gnomon (; ) is the part of a sundial that casts a shadow. The term is used for a variety of purposes in mathematics and other fields. History A painted stick dating from 2300 BC that was excavated at the astronomical site of Taosi is the ol ...
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 p ...
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 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 ''M''. A normal magic he ...
*
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