Problem

Source: Bosnia and Herzegovina TST 2014 day 2 problem 2

Tags: floor function, LaTeX, combinatorics unsolved, combinatorics



It is given regular $n$-sided polygon, $n \geq 6$. How many triangles they are inside the polygon such that all of their sides are formed by diagonals of polygon and their vertices are vertices of polygon?