Hexagonal number (source code)

= Hexagonal number
{wiki=Hexagonal_number}

A hexagonal number is a figurate number that represents a hexagon. The \\(n\\)th hexagonal number can be calculated using the formula: \\\[ H_n = n(2n - 1) \\\] where \\(n\\) is a positive integer. Hexagonal numbers can be visualized as a pattern of points arranged in the shape of a hexagon.