`a(n)` is the number of obtuse triangles whose vertice are vertice of a regular convex polygon of `n` sides. For example, `a(3)=a(4)=0` and `a(5)=5`.
Find `a(n)`.