Hexagonal pyramidal number: Difference between revisions

Content deleted Content added
m make formula into display style; avoid redirect
Nmohar (talk | contribs)
m Edited for clarity of relation to hexagonal numbers
Line 1:
A '''hexagonal pyramidal number''' is a [[pyramidal number]] formed by adding the first few''n'' [[hexagonal number]]s. The first few ofhexagonal thesepyramidal numbers are:
:{{num|1}}, {{num|7}}, {{num|22}}, {{num|50}}, {{num|95}}, {{num|161}}, {{num|252}}, 372, 525, 715, 946, 1222, 1547, 1925 {{OEIS|A002412}}.
 
The ''n''th number in this sequence, representing the sum of the first ''n'' [[hexagonal number]]s, is given by the formula
:<math>\frac{n(n+1)(4n-1)}{6}.</math>