Let denote the total number of triangles formed by joining the vertices of an -side regular polygon. If , then the sum of all distinct prime divisors of is :
For a convex regular polygon, any choice of three distinct vertices forms a triangle. Hence, the total number of triangles that can be drawn is simply the combination
The condition given in the question is
Compute each term:
Subtracting, we get
Factor out the common term :
Set this equal to the given value 66:
This is a quadratic equation:
Factoring (or using the quadratic formula) gives
The distinct prime factors of are and . Their sum is
Therefore, the required sum is .
Option C which is: 5
Tagged Counting in geometry. Machine-assigned, so read it as a strong shortlist rather than a verdict.