2ndheptagonalnumber

<-- Enter heptagonal number statement
  

Calculate heptagonal number 2

The formula for heptagonal number n is as follows
Hn  =  n(5n - 3)
  2

Given n = 2, we have:
H2  =  2(5(2) - 3)
  2

H2  =  2(10 - 3)
  2

H2  =  2(7)
  2

H2  =  14
  2

H2 = 7