World Library  
Flag as Inappropriate
Email this Article

Hexagonal number

Article Id: WHEBN0000494013
Reproduction Date:

Title: Hexagonal number  
Author: World Heritage Encyclopedia
Language: English
Subject: Triangular number, Hexagonal pyramidal number, Polygonal number, Pentagonal number, Perfect number
Collection: Figurate Numbers
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Hexagonal number

A hexagonal number is a figurate number. The nth hexagonal number hn 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 that they share one vertex.

The first four hexagonal numbers.

The formula for the nth hexagonal number

h_n= 2n^2-n = n(2n-1) =
where Mp is a Mersenne prime. No odd perfect numbers are known, hence all known perfect numbers are hexagonal.
For example, the 2nd hexagonal number is 2×3 = 6; the 4th is 4×7 = 28; the 16th is 16×31 = 496; and the 64th is 64×127 = 8128.

The largest number that cannot be written as a sum of at most four hexagonal numbers is 130. Adrien-Marie Legendre proved in 1830 that any integer greater than 1791 can be expressed in this way.

Hexagonal numbers can be rearranged into rectangular numbers of size n by (2n−1).

Hexagonal numbers should not be confused with centered hexagonal numbers, which model the standard packaging of Vienna sausages. To avoid ambiguity, hexagonal numbers are sometimes called "cornered hexagonal numbers".

Contents

  • Test for hexagonal numbers 1
  • Other properties 2
  • See also 3
  • External links 4

Test for hexagonal numbers

One can efficiently test whether a positive integer x is an hexagonal number by computing

n = \frac{\sqrt{8x+1}+1}{4}.

If n is an integer, then x is the nth hexagonal number. If n is not an integer, then x is not hexagonal.

Other properties

The nth number of the hexagonal sequence can also be expressed by using Sigma notation as

h_n = \sum_{i=0}^{n-1}{(4i+1)}

where the empty sum is taken to be 0.

See also

External links

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.