2017 AIME II Problem 13
Problem 13 of 15HarderAlgebraGeometryCombinatoricsProblem-Solving Techniques
For each integer let be the number of -element subsets of the vertices of a regular -gon that are the vertices of an isosceles triangle (including equilateral triangles). Find the sum of all values of such that
Your answer
Integer from 0 to 999
Show solution
Solution
Count isosceles triangles by apex. For a vertex of a regular -gon, the isosceles triangles whose two equal sides meet at have their other two vertices symmetric about the diameter through giving such pairs. Summing over all vertices counts each non-equilateral isosceles triangle once (it has one apex) and each equilateral triangle three times; equilateral triangles exist exactly when is a multiple of and then there are of them. Hence minus when is a multiple of
Writing and computing in each residue class gives for for for for for and for Setting each equal to gives gives gives and the other three cases have no positive integer solutions.
The sum of all such is
Tagged: regular polygon · counting shapes in figures · floor and ceiling functions · casework