返回题库

AIME 2017 II · 第 13 题

AIME 2017 II — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For each integer n3n\geq3, let f(n)f(n) be the number of 33-element subsets of the vertices of the regular nn-gon that are the vertices of an isosceles triangle (including equilateral triangles). Find the sum of all values of nn such that f(n+1)=f(n)+78f(n+1)=f(n)+78.

解析

Solution 1

Considering n(mod6)n \pmod{6}, we have the following formulas:

n0n\equiv 0: n(n4)2+n3\frac{n(n-4)}{2} + \frac{n}{3}

n2,4n\equiv 2, 4: n(n2)2\frac{n(n-2)}{2}

n3n\equiv 3: n(n3)2+n3\frac{n(n-3)}{2} + \frac{n}{3}

n1,5n\equiv 1, 5: n(n1)2\frac{n(n-1)}{2}

To derive these formulas, we note the following: Any isosceles triangle formed by the vertices of our regular nn-sided polygon PP has its sides from the set of edges and diagonals of PP. Notably, as two sides of an isosceles triangle must be equal, it is important to use the property that same-lengthed edges and diagonals come in groups of nn, unless nn is even when one set of diagonals (those which bisect the polygon) comes in a group of n2\frac{n}{2}. Three properties hold true of f(n)f(n):

When nn is odd there are n(n1)2\frac{n(n-1)}{2} satisfactory subsets (This can be chosen with nn choices for the not-base vertex, and n12\frac{n-1}{2} for the pair of equal sides as we have n1n-1 edges to choose from, and we must divide by 2 for over-count).*

  • Another explanation: For any diagonal or side of the polygon chosen as the base of the isosceles triangle, there is exactly 1 isosceles triangle that can be formed. So, the total number of satisfactory subsets is (n2)=n(n1)2.\dbinom{n}{2}=\dfrac{n(n-1)}{2}.

When nn is even there are n(n2)2\frac{n(n-2)}{2} satisfactory subsets (This can be chosen with nn choices for the not-base vertex, and n22\frac{n-2}{2} for the pair of equal sides as we have n1n-1 edges to choose from, one of them which is not satisfactory (the bisecting edge), and we must divide by 2 for over-count).

When nn is a multiple of three we additionally over-count equilateral triangles, of which there are n3\frac{n}{3}. As we count them three times, we are two times over, so we subtract 2n3\frac{2n}{3}.

Considering the six possibilities n0,1,2,3,4,5(mod6)n \equiv 0,1,2,3,4,5 \pmod{6} and solving, we find that the only valid solutions are n=36,52,157n = 36, 52, 157, from which the answer is 36+52+157=24536 + 52 + 157 = \boxed{245}.

Solution 2 (elaborates on the possible cases)

In the case that n0(mod3)n\equiv 0\pmod 3, there are n3\frac{n}{3} equilateral triangles. We will now count the number of non-equilateral isosceles triangles in this case.

Select a vertex PP of a regular nn-gon. We will count the number of isosceles triangles with their vertex at PP. (In other words, we are counting the number of isosceles triangles APB\triangle APB with A,B,PA, B, P among the vertices of the nn-gon, and AP=BPAP=BP.)

If the side APAP spans kk sides of the nn-gon (where k<n2k<\frac{n}{2}), the side BPBP must span kk sides of the nn-gon, and, thus, the side ABAB must span n2kn-2k sides of the nn-gon. As ABP\triangle ABP has three distinct vertices, the side ABAB must span at least one side, so n2k1n-2k \ge 1. Combining this inequality with the fact that 1k<n21\le k<\frac{n}{2} and kn3k\not = \frac{n}{3} (as ABP\triangle ABP cannot be equilateral), we find that there are n22\lceil\frac{n}{2}\rceil-2 possible kk.

As each of the nn vertices can be the vertex of a given triangle ABP\triangle ABP, there are (n22)n\left(\lceil \frac{n}{2} \rceil -2 \right)\cdot n non-equilateral isosceles triangles.

Adding in the n3\frac{n}{3} equilateral triangles, we find that for n0(mod3)n\equiv 0\pmod 3: f(n)=n3+(n22)nf(n) = \frac{n}{3}+\left(\lceil \frac{n}{2} \rceil -2\right)\cdot n.

On the other hand, if n1,2(mod3)n\equiv 1, 2\pmod 3, there are no equilateral triangles, and we may follow the logic of the paragraph above to find that f(n)=(n21)nf(n)=\left(\lceil \frac{n}{2} \rceil -1\right)\cdot n.

We may now rewrite the given equation, based on the remainder nn leaves when divided by 3.

Case 1: n0(mod3)n\equiv 0\pmod 3 The equation f(n+1)=f(n)+78f(n+1)=f(n)+78 for this case is (n+121)(n+1)=n3+(n22)n+78\left(\lceil \frac{n+1}{2} \rceil -1\right)\cdot (n+1)=\frac{n}{3}+\left(\lceil \frac{n}{2} \rceil -2\right)\cdot n+78.

In this case, nn is of the form 6k6k or 6k+36k+3, for some integer kk.

Subcase 1: n=6kn=6k Plugging into the equation above yields k=6n=36k=6\rightarrow n=36.

Subcase 2: n=6k+3n=6k+3 Plugging into the equation above yields 7k=757k=75, which has no integer solutions.

Case 2: n1(mod3)n\equiv 1\pmod 3 The equation f(n+1)=f(n)+78f(n+1)=f(n)+78 for this case is (n+121)(n+1)=(n21)n+78\left(\lceil \frac{n+1}{2} \rceil -1\right)\cdot (n+1)=\left(\lceil \frac{n}{2} \rceil -1\right)\cdot n+78.

In this case, nn is of the form 6k+16k+1 or 6k+46k+4, for some integer kk.

Subcase 1: n=6k+1n=6k+1 In this case, the equation above yields k=8n=52k=8\rightarrow n=52.

Subcase 2: n=6k+4n=6k+4 In this case, the equation above yields k=26n=157k=26\rightarrow n=157.

Case 3: n2(mod3)n\equiv 2\pmod 3 The equation f(n+1)=f(n)+78f(n+1)=f(n)+78 for this case is n+13+(n+122)(n+1)=(n21)n+78\frac{n+1}{3}+\left(\lceil \frac{n+1}{2} \rceil -2\right)\cdot (n+1)=\left(\lceil \frac{n}{2} \rceil -1\right)\cdot n+78.

In this case, nn is of the form 6k+26k+2 or 6k+56k+5, for some integer kk.

Subcase 1: n=6k+2n=6k+2 The equation above reduces to 5k=775k=77, which has no integer solutions.

Subcase 2: n=6k+5n=6k+5 The equation above reduces to k=80k=-80, which does not yield a positive integer solution for nn.


In summary, the possible nn are 36,52,15736, 52, 157, which add to 245\boxed{245}.

Solution 3

We first notice that when a polygon has ss sides where s≢0(mod3)s\not\equiv 0\pmod{3}, there cannot exist any three vertices that form an equilateral triangle. Also, the parity of ss and s+1s+1 also matters, since they influence how many isosceles triangles including equilateral triangles exist in the polygon. We can model an equation 2x+y=s2x+y=s, where the lines that are congruent connect the vertices that are xx vertices apart and the other line has vertices that are yy vertices apart. If ss is even, there are s22\frac{s-2}{2} solutions for (x,y)(x,y) which would create a unique type of isosceles triangle. We subtract two since yy cannot be zero. If ss is odd, there are s12\frac{s-1}{2} solutions for (x,y)(x,y). Next, we do casework on the congruence of s(mod3)s\pmod{3} and the parody of ss using the information above:

Case 1:

s≢0(mod3)s\not\equiv 0\pmod{3}, s+1≢0(mod3)s+1\not\equiv 0\pmod{3}

ss is even, s+1s+1 is odd

There are s22\frac{s-2}{2} unique types of isosceles triangles in the polygon with ss sides. Each isosceles triangle has a unique point which connects the two congruent sides. Therefore, for each type of isosceles triangle, there exists ss of those triangles since the unique point can be any of the ss vertices. There are s2\frac{s}{2} types of isosceles triangles in the polygon with s+1s+1 sides and s+1s+1 unique points for each type of triangle. Therefore, s2(s+1)s22(s)=78\frac{s}{2}\cdot{(s+1)}-\frac{s-2}{2}\cdot{(s)}=78. Solving, we get s=52s=52.

Case 2:

s≢0(mod3)s\not\equiv 0\pmod{3}, s+1≢0(mod3)s+1\not\equiv 0\pmod{3}

ss is odd, s+1s+1 is even

Using similar logic, there are s12(s)\frac{s-1}{2}\cdot{(s)} possible isosceles triangles in the ss sided polygon. There are s12(s+1)\frac{s-1}{2}\cdot{(s+1)} possible isosceles triangles in the s+1s+1 sided polygon. The difference should be 7878, so s12(s+1)s12(s)=78\frac{s-1}{2}\cdot{(s+1)}-\frac{s-1}{2}\cdot{(s)}=78. Solving gives s=157s=157.

For both of these cases, we don't have to worry about equilateral triangles since in both cases s,s+13s,s+1\nmid3.

Case 3:

s≢0(mod3)s\not\equiv 0\pmod{3}, s+10(mod3)s+1\equiv 0\pmod{3}

ss is even, s+1s+1 is odd

There are s22(s)\frac{s-2}{2}\cdot{(s)} possible isosceles triangles in the ss sided polygon. The s+1s+1 case is a bit more complicated, as we have to consider equilateral triangles as well. In this case, there is one solution where x=yx=y, which would produce an equilateral triangle. Therefore, we subtract that case to calculate only isosceles triangles with 2 congruent sides. Only isosceles triangles with exactly 2 congruent sides have a unique point, while there exist only s+13\frac{s+1}{3} distinct equilateral triangles in a polygon with s+1s+1 sides, the rest are equivalent and symmetrical. Therefore, there are (s21)(s+1)+s+13(\frac{s}{2}-1)\cdot{(s+1)}+\frac{s+1}{3} isosceles triangles with at least 2 congruent sides in a polygon with s+1s+1 sides. Putting it together, s21(s+1)+(s+13)s22(s)=78\frac{s}{2}-1\cdot{(s+1)}+(\frac{s+1}{3})-\frac{s-2}{2}\cdot{(s)}=78. Solving yields 5s=7725s=772 which is impossible since ss has to be an integer. Therefore, this case is not valid.

Case 4:

s≢0(mod3)s\not\equiv 0\pmod{3}, s+10(mod3)s+1\equiv 0\pmod{3}

ss is odd, s+1s+1 is even

There are s12(s)\frac{s-1}{2}\cdot{(s)} isosceles triangles in the ss sided polygon. Using the idea above, there are (s121)(s+1)(\frac{s-1}{2}-1)\cdot{(s+1)} isosceles triangles with 2 congruent sides in an s+1s+1 sided polygon. There are s+13\frac{s+1}{3} equilateral triangles. Therefore, (s121)(s+1)+(s+13)s12(s)=78(\frac{s-1}{2}-1)\cdot{(s+1)}+(\frac{s+1}{3})-\frac{s-1}{2}\cdot{(s)}=78. Looking at the left hand side, it is clear that ss has to be negative, which is not valid. Therefore, this case is not valid.

Case 5:

s0(mod3)s\equiv 0\pmod{3}, s+1≢0(mod3)s+1\not\equiv 0\pmod{3}

ss is even, s+1s+1 is odd

There are a total of (s221)(s)+(s3)(\frac{s-2}{2}-1)\cdot{(s)}+(\frac{s}{3}) isosceles triangles in a polygon with ss sides. There are a total of s2(s+1)\frac{s}{2}\cdot{(s+1)} isosceles triangles in a polygon with s+1s+1 sides. Therefore, s2(s+1)(s221)(s)(s3)=78\frac{s}{2}\cdot{(s+1)}-(\frac{s-2}{2}-1)\cdot{(s)}-(\frac{s}{3})=78. Simplifying, we get s=36s=36.

Case 6:

s0(mod3)s\equiv 0\pmod{3}, s+1≢0(mod3)s+1\not\equiv 0\pmod{3}

ss is odd, s+1s+1 is even

There are a total of (s121)(s)+(s3)(\frac{s-1}{2}-1)\cdot{(s)}+(\frac{s}{3}) isosceles triangles in the polygon with ss sides. There are s12(s+1)\frac{s-1}{2}\cdot{(s+1)} isosceles triangles in the polygon with s+1s+1 sides. Therefore,s12(s+1)(s121)(s)(s3)=78\frac{s-1}{2}\cdot{(s+1)}-(\frac{s-1}{2}-1)\cdot{(s)}-(\frac{s}{3})=78. Simplifying, we get 7s=4717s=471, which means ss is not an integer. Thus, this case is invalid.

Adding all the valid cases, we obtain 52+157+36=24552+157+36=\boxed{245}

~Magnetoninja

Solution 4 (Bash)

Notice that when mm is not a multiple of 33, f(m)=mm12f(m)=m\cdot \left\lfloor \frac{m-1}{2} \right\rfloor, and when mm is a multiple of 33, f(m)=mm12m32f(m)=m\cdot \left\lfloor \frac{m-1}{2} \right\rfloor-\frac{m}{3}\cdot 2.

This is because we can choose any point on the mm-gon to be the apex of the isosceles triangle, and we can choose from m12\left\lfloor \frac{m-1}{2} \right\rfloor pairs of vertices that oppose each other with respect to the apex point. If there is an extra point that is exactly opposite to the first point we chose, m12\frac{m-1}{2} is not an integer, and the extra point cannot form an isosceles triangle with the first point we chose (it would be a line). We take the floor to get rid of this case.

When mm is a multiple of 33, the mm-gon has m3\frac{m}{3} equilateral triangles, but we have counted each thrice (once for each vertex), so we have to subtract 2 for each equilateral triangle, thus the m32-\frac{m}{3}\cdot 2 term.

Now, define g(n)=f(n+1)f(n)g(n)=f(n+1)-f(n).

We bash, hoping to find a pattern:

\begin{alignat*}{3} f(3) &{}= 3\cdot1 - 2\cdot1 = 3 - 2 &{}= 1 &\qquad g(3) &{}= 4 - 1 &{}= 3 \\ f(4) &{}= 4\cdot1 &{}= 4 &\qquad g(4) &{}= 10 - 4 &{}= 6 \\ f(5) &{}= 5\cdot2 &{}= 10 &\qquad g(5) &{}= 8 - 10 &{}= -2 \\ f(6) &{}= 6\cdot2 - 2\cdot2 = 12 - 4 &{}= 8 &\qquad g(6) &{}= 21 - 8 &{}= 13 \\ f(7) &{}= 7\cdot3 &{}= 21 &\qquad g(7) &{}= 24 - 21 &{}= 3 \\ f(8) &{}= 8\cdot3 &{}= 24 &\qquad g(8) &{}= 30 - 24 &{}= 6 \\ f(9) &{}= 9\cdot4 - 2\cdot3 = 36 - 6 &{}= 30 &\qquad g(9) &{}= 40 - 30 &{}= 10 \\ f(10) &{}= 10\cdot4 &{}= 40 &\qquad g(10) &{}= 55 - 40 &{}= 15 \\ f(11) &{}= 11\cdot5 &{}= 55 &\qquad g(11) &{}= 52 - 55 &{}= -3 \\ f(12) &{}= 12\cdot5 - 2\cdot4 = 60 - 8 &{}= 52 &\qquad g(12) &{}= 78 - 52 &{}= 26 \\ f(13) &{}= 13\cdot6 &{}= 78 &\qquad g(13) &{}= 84 - 78 &{}= 6 \\ f(14) &{}= 14\cdot6 &{}= 84 &\qquad g(14) &{}= 95 - 84 &{}= 11 \\ f(15) &{}= 15\cdot7 - 2\cdot5 = 105 - 10 &{}= 95 &\qquad g(15) &{}= 112 - 95 &{}= 17 \\ f(16) &{}= 16\cdot7 &{}= 112 &\qquad g(16) &{}= 136 - 112 &{}= 24 \\ f(17) &{}= 17\cdot8 &{}= 136 &\qquad g(17) &{}= 132 - 136 &{}= -4 \\ f(18) &{}= 18\cdot8 - 2\cdot6 = 144 - 12 &{}= 132 &\qquad g(18) &{}= 171 - 132 &{}= 39 \\ f(19) &{}= 19\cdot9 &{}= 171 &\qquad g(19) &{}= 180 - 171 &{}= 9 \\ f(20) &{}= 20\cdot9 &{}= 180 &\qquad g(20) &{}= 196 - 180 &{}= 16 \\ f(21) &{}= 21\cdot10 - 2\cdot7 = 210 - 14 &{}= 196 &\qquad g(21) &{}= 220 - 196 &{}= 24 \\ f(22) &{}= 22\cdot10 &{}= 220 &\qquad g(22) &{}= 253 - 220 &{}= 33 \\ f(23) &{}= 23\cdot11 &{}= 253 &\qquad g(23) &{}= 248 - 253 &{}= -5 \\ f(24) &{}= 24\cdot11 - 2\cdot8 = 264 - 16 &{}= 248 &\qquad g(24) &{}= 300 - 248 &{}= 52 \\ f(25) &{}= 25\cdot12 &{}= 300 &\qquad g(25) &{}= 312 - 300 &{}= 12 \\ f(26) &{}= 26\cdot12 &{}= 312 &\qquad g(26) &{}= 333 - 312 &{}= 21 \\ f(27) &{}= 27\cdot13 - 2\cdot9 = 351 - 18 &{}= 333 &\qquad g(27) &{}= 364 - 333 &{}= 31 \\ f(28) &{}= 28\cdot13 &{}= 364 &\qquad g(28) &{}= 406 - 364 &{}= 42 \\ f(29) &{}= 29\cdot14 &{}= 406 &\qquad g(29) &{}= 400 - 406 &{}= -6 \\ f(30) &{}= 30\cdot14 - 2\cdot10 = 420- 20 &{}= 400 \end{alignat*}

We can see that every 6 rows there is a pattern. We will assume this pattern does not change for later numbers:

\begin{aligned} g(3) &= 3, & g(4) &= 6, & g(5) &= -2, & g(6) &= 13, & g(7) &= 3, & g(8) &= 6, \\ g(9) &= 10, & g(10) &= 15, & g(11) &= -3, & g(12) &= 26, & g(13) &= 6, & g(14) &= 11, \\ g(15) &= 17, & g(16) &= 24, & g(17) &= -4, & g(18) &= 39, & g(19) &= 9, & g(20) &= 16, \\ g(21) &= 24, & g(22) &= 33, & g(23) &= -5, & g(24) &= 52, & g(25) &= 12, & g(26) &= 21, \\ g(27) &= 31, & g(28) &= 42, & g(29) &= -6 \end{aligned}

We can describe this pattern as \begin{aligned} g(6x+3) &= 7x+3 \\ g(6x+4) &= 9x+6 \\ g(6x+5) &= -x-2 \\ g(6x+6) &= 13x+13 \\ g(6x+7) &= 3x+3 \\ g(6x+8) &= 5x+6 \\ \end{aligned}

where xx is a nonnegative integer.

Equating these to 7878 yields \begin{aligned} g(6x+3) &= 7x+3 = 78 \implies x \not\in \mathbb{Z}\\ g(6x+4) &= 9x+6 = 78 \implies x=8 \\ g(6x+5) &= -x-2 = 78 \implies x \not\geq 0\\ g(6x+6) &= 13x+13 = 78 \implies x=5\\ g(6x+7) &= 3x+3 = 78 \implies x=25\\ g(6x+8) &= 5x+6 = 78 \implies x \not\in \mathbb{Z}\\ \end{aligned}

Solving for the 3 cases where xx is a nonnegative integer yields 68+4=526\cdot8+4=52, 65+6=366\cdot5+6=36, and 625+7=1576\cdot25+7=157. Thus, our answer is 52+36+157=24552+36+157=\boxed{245}.

Video Solution

https://youtu.be/fFgakiw66WY

~MathProblemSolvingSkills.com