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
pn=(3n)=6n(n−1)(n−2)
The condition given in the question is
pn+1−pn=66
Compute each term:
pn+1=(3n+1)=6(n+1)n(n−1)
pn=(3n)=6n(n−1)(n−2)
Subtracting, we get
pn+1−pn=6(n+1)n(n−1)−n(n−1)(n−2)
Factor out the common term n(n−1):
pn+1−pn=6n(n−1)[(n+1)−(n−2)]=6n(n−1)×3=2n(n−1)
Set this equal to the given value 66:
2n(n−1)=66⟹n(n−1)=132
This is a quadratic equation:
n2−n−132=0
Factoring (or using the quadratic formula) gives
(n−12)(n+11)=0⟹n=12(positive solution)
The distinct prime factors of 12 are 2 and 3. Their sum is
2+3=5
Therefore, the required sum is 5.
Option C which is: 5