第 521 题:(2011 AIME I, 10)
The probability that a set of three distinct vertices chosen at random from among the vertices of a regular $n$-gon determine an obtuse triangle is $\frac{93}{125}$. Find the sum of all possible values of $n$.
- A triangle is obtuse iff its vertices lie in an open semicircle. Counting from the first vertex clockwise: $n\binom k2$ obtuse triangles if $n=2k+1$, and $n\binom{k-1}2$ if $n=2k$.
- So $P=\frac{3(n-3)}{4(n-2)}$ for odd $n$ and $\frac{3(n-4)}{4(n-1)}$ for even $n$. Setting each equal to $\frac{93}{125}$ gives $3n=381$, $n=127$; and $3n=1128$, $n=376$.
- The sum is $503$. The answer is $\boxed{503}$.
The probability that a set of three distinct vertices chosen at random from among the vertices of a regular $n$-gon determine an obtuse triangle is $\frac{45}{61}$. Find the sum of all possible values of $n$.