02 Nov '14 23:02>
This post is unavailable.
Please refer to our posting guidelines.
The post that was quoted here has been removedA little clarification is needed, for me anyway. What do you mean by diagonal? The polygon is specified as being convex but not regular, let's take a pentagon as the first non-trivial example, if the vertices are labelled p1,p2,p3,p4,p5 and lines as <1,2> = p1 - p2, then the set of possible lines are {<1,3>, <1,4>, <2, 4>, <2,5>, <3,5>, <3,1>, <4, 1>, <4,2>, <5, 2>, <5, 3>} is this set what you mean by diagonals? In other words is the problem to find the maximum number of regions enclosed by the set of lines {<p, q> | 0 < p,q < N} where the exterior lines form a convex polygon?
The post that was quoted here has been removedYou have a better method for calculating the number of generated vertices. I used brute force. I needed the two results for 1 + 2 + ··· + n and 1 + 2 + ··· n² to get the number of internal vertices. Your diagonal removing argument is a restatement of Euler's formula.