1stoctagonalnumber

<-- Enter octagonal number statement
  

Calculate octagonal number 1

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

Given n = 1, we have:
On = 1(3(1) - 2)
On = 1(3 - 2)
On = 1(1)
O1 = 1