Number of quadrilaterals formed out of N points.

677 Views Asked by At

How can I calculate the number of $4$-vertex convex polygons (quadrilaterals) that can be formed out of $n$ given points, where $n \geq 4$?

Note: Points can be collinear. So triangles with $3$ sides but $4$ vertices are also allowed.