Samiksha Jaiswal (Editor)

Heptagonal number

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Heptagonal number

A heptagonal number is a figurate number that represents a heptagon. The n-th heptagonal number is given by the formula

Contents

5 n 2 3 n 2 .

The first few heptagonal numbers are:

1, 7, 18, 34, 55, 81, 112, 148, 189, 235, 286, 342, 403, 469, 540, 616, 697, 783, 874, 970, 1071, 1177, 1288, 1404, 1525, 1651, 1782, … (sequence A000566 in the OEIS)

Parity

The parity of heptagonal numbers follows the pattern odd-odd-even-even. Like square numbers, the digital root in base 10 of a heptagonal number can only be 1, 4, 7 or 9. Five times a heptagonal number, plus 1 equals a triangular number.

Generalized heptagonal numbers

A generalized heptagonal number is obtained by the formula

T n + T n 2 ,

where Tn is the nth triangular number. The first few generalized heptagonal numbers are:

1, 4, 7, 13, 18, 27, 34, 46, 55, 70, 81, 99, 112, … (sequence A085787 in the OEIS)

Every other generalized heptagonal number is a regular heptagonal number. Besides 1 and 70, no generalized heptagonal numbers are also Pell numbers.

Sum of reciprocals

A formula for the sum of the reciprocals of the heptagonal numbers is given by:

n = 1 2 n ( 5 n 3 ) = 1 15 π 25 10 5 + 2 3 ln ( 5 ) + 1 + 5 3 ln ( 1 2 10 2 5 ) + 1 5 3 ln ( 1 2 10 + 2 5 )

Heptagonal roots

In analogy to the square root of x, one can calculate the heptagonal root of x, meaning the number of terms in the sequence up to and including x.

The heptagonal root of x is given by the formula

n = 40 x + 9 + 3 10 .

Derivation of heptagonal root formula

The heptagonal roots n of x are derived by:

x = 5 n 2 3 n 2 2 x = 5 n 2 3 n 5 n 2 3 n 2 x = 0 n = ( 3 ) ± ( 3 ) 2 ( 4 × 5 × 2 x ) 2 × 5 (use quadratic formula to solve for n) n = 3 ± 9 ( 40 x ) 10 n = 3 ± 9 + 40 x 10

Rearrange this to:

n = ± 40 x + 9 + 3 10 ,

and taking the only positive value gives the formula for n associated with a given x.

References

Heptagonal number Wikipedia