6thoctagonalnumber

<-- Enter octagonal number statement
  

Calculate octagonal number 6

The formula for octagonal number n is as follows
On = n(3n - 2)

Given n = 6, we have:
On = 6(3(6) - 2)
On = 6(18 - 2)
On = 6(16)
O6 = 96