2007 AIME II Problems

Scroll down and press Start to try the exam! Or, go to the printable PDF, answer key, or professional solutions curated by LIVE by Po-Shen Loh.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

Or jump straight to a single problem with its solution: 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15

Want to learn professionally through interactive video classes?

Learn LIVE

Timed

3:00:00

1.

A mathematical organization is producing a set of commemorative license plates. Each plate contains a sequence of five characters chosen from the four letters in AIME and the four digits in 2007.2007. No character may appear in a sequence more times than it appears among the four letters in AIME or the four digits in 2007.2007. A set of plates in which each possible sequence appears exactly once contains NN license plates. Find N10.\frac{N}{10}.

Answer: 372
Concepts:permutationscaseworkmultiplication principle
Difficulty rating: 1890
Small Hint:

Split into cases by how many 00’s the sequence uses; every other character can appear at most once

Big Hint:

With two 00’s, place them in (52)\binom{5}{2} ways and fill three spots from the six other characters

Solution:

The available characters are the seven distinct symbols A, I, M, E, 2,2, 0,0, 7,7, where 00 may be used up to twice and every other character at most once. Sequences using at most one 00 consist of five distinct characters chosen from the seven, in order: 76543=2520.7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 = 2520.

Sequences with two 00’s: choose the two positions for the 00’s in (52)=10\binom{5}{2} = 10 ways, then fill the remaining three positions with distinct characters from the other six in 654=1206 \cdot 5 \cdot 4 = 120 ways, for 12001200 sequences.

Thus N=2520+1200=3720,N = 2520 + 1200 = 3720, and N10=372.\frac{N}{10} = 372.

2.

Find the number of ordered triples (a,b,c)(a, b, c) where a,a, b,b, and cc are positive integers, aa is a factor of b,b, aa is a factor of c,c, and a+b+c=100.a + b + c = 100.

Answer: 200
Difficulty rating: 2070
Small Hint:

Since aa divides both bb and c,c, it must divide a+b+c=100a + b + c = 100

Big Hint:

Write b=asb = as and c=at:c = at: then s+t=100a1,s + t = \frac{100}{a} - 1, which has 100a2\frac{100}{a} - 2 positive solutions

Solution:

Since aa divides bb and c,c, it divides a+b+c=100.a + b + c = 100. Write b=asb = as and c=atc = at with s,t1;s, t \ge 1; then a(1+s+t)=100,a(1 + s + t) = 100, so s+t=100a1.s + t = \frac{100}{a} - 1. For positive ss and tt we need 100a3,\frac{100}{a} \ge 3, so a{1,2,4,5,10,20,25}.a \in \{1, 2, 4, 5, 10, 20, 25\}.

For each such a,a, the equation s+t=100a1s + t = \frac{100}{a} - 1 has 100a2\frac{100}{a} - 2 ordered positive solutions. Summing, (100+50+25+20+10+5+4)27=21414=200. \begin{aligned} &\small (100 + 50 + 25 + 20 + 10 + 5 + 4) \\ &\quad {}- 2 \cdot 7 \\ &= 214 - 14 = 200. \end{aligned}

3.

Square ABCDABCD has side length 13,13, and points EE and FF are exterior to the square such that BE=DF=5BE = DF = 5 and AE=CF=12.AE = CF = 12. Find EF2.EF^2.

Answer: 578
Difficulty rating: 2300
Small Hint:

Since 52+122=132,5^2 + 12^2 = 13^2, angles AEBAEB and CFDCFD are right angles

Big Hint:

Extend EAEA beyond AA and FDFD beyond DD to meet at G,G, and look for right triangles congruent to AEBAEB

Solution:

Since 52+122=132,5^2 + 12^2 = 13^2, triangles AEBAEB and CFDCFD are right-angled at EE and F,F, and they are congruent (sides 5,5, 12,12, 1313). Extend EAEA beyond AA and FDFD beyond DD until the two lines meet at G.G.

Then GAD=90EAB=ABE,GDA=90FDC=DCF=BAE. \begin{aligned} \angle GAD &= 90^\circ - \angle EAB \\ &= \angle ABE, \\ \angle GDA &= 90^\circ - \angle FDC \\ &= \angle DCF = \angle BAE. \end{aligned} These two angles sum to 90,90^\circ, so AGD=90,\angle AGD = 90^\circ, and triangle AGDAGD is congruent to BEABEA (equal angles and hypotenuse AD=BA=13AD = BA = 13). Hence GA=EB=5GA = EB = 5 and GD=EA=12.GD = EA = 12.

Therefore GE=GA+AE=5+12=17GE = GA + AE = 5 + 12 = 17 and GF=GD+DF=12+5=17,GF = GD + DF = 12 + 5 = 17, with a right angle between them at G,G, so EF2=172+172=578.EF^2 = 17^2 + 17^2 = 578.

4.

The workers in a factory produce widgets and whoosits. For each product, production time is constant and identical for all workers, but not necessarily equal for the two products. In one hour, 100100 workers can produce 300300 widgets and 200200 whoosits. In two hours, 6060 workers can produce 240240 widgets and 300300 whoosits. In three hours, 5050 workers can produce 150150 widgets and mm whoosits. Find m.m.

Answer: 450
Difficulty rating: 2020
Small Hint:

Let aa and bb be the worker-hours needed for one widget and one whoosit; each scenario gives one linear equation

Big Hint:

The first two scenarios give 3a+2b=13a + 2b = 1 and 4a+5b=2;4a + 5b = 2; the third supplies 150150 worker-hours in total

Solution:

Let aa and bb be the worker-hours required to make one widget and one whoosit. The three scenarios supply 100,100, 120,120, and 150150 worker-hours, so 300a+200b=100,240a+300b=120,150a+mb=150. \begin{aligned} 300a + 200b &= 100, \\ 240a + 300b &= 120, \\ 150a + mb &= 150. \end{aligned}

The first two equations simplify to 3a+2b=13a + 2b = 1 and 4a+5b=2,4a + 5b = 2, giving a=17a = \frac{1}{7} and b=27.b = \frac{2}{7}. Substituting into the third, 1507+2m7=150,\frac{150}{7} + \frac{2m}{7} = 150, so 150+2m=1050150 + 2m = 1050 and m=450.m = 450.

5.

The graph of the equation 9x+223y=20079x + 223y = 2007 is drawn on graph paper with each square representing one unit in each direction. How many of the 11 by 11 graph paper squares have interiors lying entirely below the graph and entirely in the first quadrant?

Answer: 888
Difficulty rating: 2390
Small Hint:

The segment runs from (0,9)(0, 9) to (223,0);(223, 0); count how many unit squares it cuts through in the 223×9223 \times 9 rectangle of 20072007 squares

Big Hint:

Since gcd(9,223)=1\gcd(9, 223) = 1 the segment hits no interior lattice point, so it crosses 223+91223 + 9 - 1 squares; symmetry splits the untouched squares evenly

Solution:

The line meets the axes at (223,0)(223, 0) and (0,9),(0, 9), so all qualifying squares lie inside the 223×9223 \times 9 rectangle, which contains 2239=2007223 \cdot 9 = 2007 unit squares. Because gcd(9,223)=1,\gcd(9, 223) = 1, the segment passes through no interior lattice point; it crosses 222222 interior vertical lines and 88 interior horizontal lines, entering a new square at each crossing, so it passes through the interiors of 223+91=231223 + 9 - 1 = 231 squares.

The other 2007231=17762007 - 231 = 1776 squares lie entirely above or entirely below the segment. The segment’s midpoint (2232,92)\left(\frac{223}{2}, \frac{9}{2}\right) is the center of the rectangle, so rotating by 180180^\circ about it swaps the two groups. Hence exactly half of them, 888,888, lie below the graph.

6.

An integer is called parity-monotonic if its decimal representation a1a2a3aka_1 a_2 a_3 \ldots a_k satisfies ai<ai+1a_i \lt a_{i+1} if aia_i is odd, and ai>ai+1a_i \gt a_{i+1} if aia_i is even. How many four-digit parity-monotonic integers are there?

Answer: 640
Difficulty rating: 2390
Small Hint:

Build the number from right to left, counting how many digits may immediately precede a given digit

Big Hint:

For every digit d,d, exactly 44 digits can precede it: the odd digits below dd together with the even digits above d.d. The digit 00 never qualifies.

Solution:

A digit aia_i may immediately precede ai+1=da_{i+1} = d exactly when aia_i is odd and less than d,d, or even and greater than d.d. Checking each dd from 00 to 9,9, this always allows exactly 44 digits: for example, d=0d = 0 allows 2,2, 4,4, 6,6, 8;8; d=4d = 4 allows 1,1, 3,3, 6,6, 8;8; d=9d = 9 allows 1,1, 3,3, 5,5, 7.7. (Raising dd by 11 trades odd choices for even ones, keeping the total at 4.4.) Note that 00 is never an allowed predecessor, since 00 is even but exceeds no digit.

So choose the last digit a4a_4 in 1010 ways, then each of a3,a_3, a2,a_2, a1a_1 in 44 ways; the leading digit is automatically nonzero. The count is 4310=640.4^3 \cdot 10 = 640.

7.

Given a real number x,x, let x\lfloor x \rfloor denote the greatest integer less than or equal to x.x. For a certain integer k,k, there are exactly 7070 positive integers n1,n_1, n2,n_2, ,\ldots, n70n_{70} such that k=n13=n23==n703 \begin{aligned} k &= \lfloor\sqrt[3]{n_1}\rfloor = \lfloor\sqrt[3]{n_2}\rfloor \\ &= \cdots = \lfloor\sqrt[3]{n_{70}}\rfloor \end{aligned} and kk divides nin_i for all ii such that 1i70.1 \le i \le 70. Find the maximum value of nik\frac{n_i}{k} for 1i70.1 \le i \le 70.

Answer: 553
Difficulty rating: 2510
Small Hint:

n3=k\lfloor\sqrt[3]{n}\rfloor = k means k3n<k3+3k2+3k+1;k^3 \le n \lt k^3 + 3k^2 + 3k + 1; count the multiples of kk in that range

Big Hint:

There are 3k+43k + 4 such multiples, so solve 3k+4=70,3k + 4 = 70, then take the largest multiple

Solution:

The condition n3=k\lfloor\sqrt[3]{n}\rfloor = k means k3n<(k+1)3k^3 \le n \lt (k+1)^3 =k3+3k2+3k+1.= k^3 + 3k^2 + 3k + 1. The multiples of kk in this range are kk2,k \cdot k^2, k(k2+1),k(k^2 + 1), ,\ldots, k(k2+3k+3),k(k^2 + 3k + 3), so there are exactly 3k+43k + 4 of them.

Setting 3k+4=703k + 4 = 70 gives k=22.k = 22. The maximum of nik\frac{n_i}{k} is k2+3k+3=484+66+3k^2 + 3k + 3 = 484 + 66 + 3 =553.= 553.

8.

A rectangular piece of paper measures 44 units by 55 units. Several lines are drawn parallel to the edges of the paper. A rectangle determined by the intersections of some of these lines is called basic if (i) all four sides of the rectangle are segments of drawn line segments, and (ii) no segments of drawn lines lie inside the rectangle.

Given that the total length of all lines drawn is exactly 20072007 units, let NN be the maximum possible number of basic rectangles determined. Find the remainder when NN is divided by 1000.1000.

Answer: 896
Difficulty rating: 2840
Small Hint:

With hh drawn lines of length 44 and vv of length 5,5, we get 4h+5v=2007,4h + 5v = 2007, and adjacent pairs form (h1)(v1)(h-1)(v-1) basic rectangles

Big Hint:

Maximize xyxy over 4x+5y=1998:4x + 5y = 1998: take xx satisfying x2(mod5)x \equiv 2 \pmod 5 and as close as possible to the vertex 9994\frac{999}{4}

Solution:

Suppose hh of the drawn lines have length 44 and vv have length 5,5, so 4h+5v=2007.4h + 5v = 2007. A basic rectangle is bounded by two adjacent lines in each direction, so the lines determine (h1)(v1)(h - 1)(v - 1) basic rectangles. Setting x=h1x = h - 1 and y=v1,y = v - 1, we must maximize xyxy subject to 4x+5y=1998.4x + 5y = 1998.

As a function of x,x, the product xy=x19984x5xy = x \cdot \frac{1998 - 4x}{5} is a downward parabola with vertex at x=9994=249.75.x = \frac{999}{4} = 249.75. For yy to be an integer we need 4x1998(mod5),4x \equiv 1998 \pmod 5, i.e. x2(mod5).x \equiv 2 \pmod 5. The nearest candidates are x=247x = 247 (giving y=202y = 202 and product 4989449894) and x=252x = 252 (giving y=198y = 198 and product 4989649896).

So N=49896,N = 49896, and the remainder upon division by 10001000 is 896.896.

9.

Rectangle ABCDABCD is given with AB=63AB = 63 and BC=448.BC = 448. Points EE and FF lie on AD\overline{AD} and BC\overline{BC} respectively, such that AE=CF=84.AE = CF = 84. The inscribed circle of triangle BEFBEF is tangent to EF\overline{EF} at point P,P, and the inscribed circle of triangle DEFDEF is tangent to EF\overline{EF} at point Q.Q. Find PQ.PQ.

Answer: 259
Difficulty rating: 2650
Small Hint:

Compute BE,BE, BF,BF, and EFEF with the Pythagorean theorem; triangles BEFBEF and DFEDFE turn out congruent

Big Hint:

The tangency point splits EFEF by tangent lengths: EP=sBFEP = s - BF and FQ=sDE,FQ = s - DE, where ss is the common semiperimeter. Then PQ=EFEPFQ.PQ = EF - EP - FQ.

Solution:

Place A=(0,0),A = (0, 0), B=(63,0),B = (63, 0), C=(63,448),C = (63, 448), D=(0,448),D = (0, 448), so E=(0,84)E = (0, 84) and F=(63,364).F = (63, 364). Then BE=DF=632+842BE = DF = \sqrt{63^2 + 84^2} =2132+42=105,= 21\sqrt{3^2 + 4^2} = 105, BF=DE=44884=364,BF = DE = 448 - 84 = 364, and EF=632+2802EF = \sqrt{63^2 + 280^2} =792+402=287.= 7\sqrt{9^2 + 40^2} = 287. In particular triangles BEFBEF and DFEDFE are congruent, with common semiperimeter s=105+364+2872=378.s = \frac{105 + 364 + 287}{2} = 378.

In any triangle, the distance from a vertex to the incircle’s tangency points on its two sides is the semiperimeter minus the opposite side. In triangle BEF,BEF, EP=sBFEP = s - BF =378364=14;= 378 - 364 = 14; in triangle DEF,DEF, FQ=sDEFQ = s - DE =378364=14.= 378 - 364 = 14.

Therefore PQ=EFEPFQPQ = EF - EP - FQ =2871414=259.= 287 - 14 - 14 = 259.

10.

Let SS be a set with six elements. Let PP be the set of all subsets of S.S. Subsets AA and BB of S,S, not necessarily distinct, are chosen independently and at random from P.P. The probability that BB is contained in at least one of AA or SAS - A is mnr,\frac{m}{n^r}, where m,m, n,n, and rr are positive integers, nn is prime, and mm and nn are relatively prime. Find m+n+r.m + n + r. (The set SAS - A is the set of all elements of SS which are not in A.A.)

Answer: 710
Difficulty rating: 2840
Small Hint:

Condition on A=k|A| = k and count the sets BB with BAB \subseteq A or BSA;B \subseteq S - A; only the empty set satisfies both

Big Hint:

Sum over kk the expression (6k)(2k+26k1)\binom{6}{k}\left(2^k + 2^{6-k} - 1\right) using k(6k)2k=36\sum_k \binom{6}{k} 2^k = 3^6

Solution:

Fix AA with A=k.|A| = k. There are 2k2^k subsets BAB \subseteq A and 26k2^{6-k} subsets BSA,B \subseteq S - A, and only the empty set is counted twice, so 2k+26k12^k + 2^{6-k} - 1 choices of BB succeed. Since there are (6k)\binom{6}{k} sets AA of size kk and 262^6 choices for each of AA and B,B, the probability is 1212k=06(6k)(2k+26k1)=23626212, \begin{aligned} &\frac{1}{2^{12}}\sum_{k=0}^{6} \binom{6}{k}\left(2^k + 2^{6-k} - 1\right) \\ &= \frac{2 \cdot 3^6 - 2^6}{2^{12}}, \end{aligned} using k(6k)2k=k(6k)26k\sum_k \binom{6}{k} 2^k = \sum_k \binom{6}{k} 2^{6-k} =(1+2)6=36.= (1+2)^6 = 3^6.

This simplifies to 3625211=697211.\frac{3^6 - 2^5}{2^{11}} = \frac{697}{2^{11}}. Since 697=1741697 = 17 \cdot 41 is odd, we take m=697,m = 697, n=2,n = 2, r=11,r = 11, and m+n+r=710.m + n + r = 710.

11.

Two long cylindrical tubes of the same length but different diameters lie parallel to each other on a flat surface. The larger tube has radius 7272 and rolls along the surface toward the smaller tube, which has radius 24.24. It rolls over the smaller tube and continues rolling along the flat surface until it comes to rest on the same point of its circumference as it started, having made one complete revolution. If the smaller tube never moves, and the rolling occurs with no slipping, the larger tube ends up a distance xx from where it starts. The distance xx can be expressed in the form aπ+bc,a\pi + b\sqrt{c}, where a,a, b,b, and cc are integers and cc is not divisible by the square of any prime. Find a+b+c.a + b + c.

Answer: 179
Difficulty rating: 3060
Small Hint:

When the tubes touch while both rest on the ground, the segment joining their centers has length 9696 and vertical component 4848

Big Hint:

Total turning is 360:360^\circ: while crossing the small tube, the big tube’s rotation equals the center’s 120120^\circ sweep plus the angular contribution from the contact arc; the rest is flat rolling

Solution:

When the rolling tube touches both the ground and the small tube, the segment between centers has length 72+24=9672 + 24 = 96 and vertical component 7224=48,72 - 24 = 48, so it makes a 3030^\circ angle with the horizontal. As the big tube rolls over the small one, its center swings along an arc of radius 9696 about the small tube’s center, from 3030^\circ above the horizontal on one side to 3030^\circ on the other: a sweep of 120,120^\circ, advancing the center horizontally by 296cos30=963.2 \cdot 96\cos 30^\circ = 96\sqrt{3}.

During that sweep, the contact arc on the small tube is 1202472=40120^\circ \cdot \frac{24}{72} = 40^\circ worth of the big tube’s circumference, and the sweep itself also rotates the big tube by 120,120^\circ, so crossing the small tube turns the big tube by 160160^\circ in all. To complete exactly one revolution, the remaining 360160=200360^\circ - 160^\circ = 200^\circ of turning happens rolling on flat ground, where the center advances the rolled distance 2003602π72=80π.\frac{200}{360} \cdot 2\pi \cdot 72 = 80\pi.

Hence x=80π+963,x = 80\pi + 96\sqrt{3}, and a+b+c=80+96+3=179.a + b + c = 80 + 96 + 3 = 179.

12.

The increasing geometric sequence x0,x_0, x1,x_1, x2,x_2, \ldots consists entirely of integral powers of 3.3. Given that n=07log3(xn)=308\sum_{n=0}^{7} \log_3(x_n) = 308 and 56log3(n=07xn)57,56 \le \log_3\left(\sum_{n=0}^{7} x_n\right) \le 57, find log3(x14).\log_3(x_{14}).

Answer: 91
Difficulty rating: 2650
Small Hint:

Write xn=3a+bnx_n = 3^{a+bn} with integers aa and b1;b \ge 1; the log-sum condition gives 2a+7b=772a + 7b = 77

Big Hint:

The sum x0++x7x_0 + \cdots + x_7 lies strictly between x7x_7 and 3x7,3 x_7, so its base-33 log pins down a+7ba + 7b

Solution:

Every term is a power of 33 and the ratio is a quotient of powers of 3,3, so xn=3a+bnx_n = 3^{a + bn} for integers aa and b,b, with b1b \ge 1 since the sequence increases. The first condition gives n=07(a+bn)=8a+28b=308,\sum_{n=0}^{7} (a + bn) = 8a + 28b = 308, i.e. 2a+7b=77.2a + 7b = 77.

For the second condition, x7=3a+7bx_7 = 3^{a+7b} is the largest term, and x7<n=07xn<x7(1+13+19+)=32x7<3x7, \begin{aligned} x_7 &\lt \sum_{n=0}^{7} x_n \\ &\lt x_7\left(1 + \tfrac{1}{3} + \tfrac{1}{9} + \cdots\right) \\ &= \tfrac{3}{2}\,x_7 \lt 3x_7, \end{aligned} so log3(xn)\log_3\left(\sum x_n\right) lies strictly between a+7ba + 7b and a+7b+1.a + 7b + 1. The given bounds then force a+7b=56.a + 7b = 56.

Subtracting from 2a+7b=772a + 7b = 77 yields a=21,a = 21, then b=5.b = 5. Therefore log3(x14)=a+14b=21+70\log_3(x_{14}) = a + 14b = 21 + 70 =91.= 91.

13.

A triangular array of squares has one square in the first row, two in the second, and, in general, kk squares in the kkth row for 1k11.1 \le k \le 11. With the exception of the bottom row, each square rests on two squares in the row immediately below, as illustrated in the figure. In each square of the eleventh row, a 00 or a 11 is placed. Numbers are then placed into the other squares, with the entry for each square being the sum of the entries in the two squares below it. For how many initial distributions of 00’s and 11’s in the bottom row is the number in the top square a multiple of 3?3?

Answer: 640
Difficulty rating: 2920
Small Hint:

Each entry feeds upward like Pascal’s triangle: for bottom entries x0,x_0, ,\ldots, x10,x_{10}, the top square is i(10i)xi\sum_i \binom{10}{i} x_i

Big Hint:

Modulo 3,3, except for i=0,i = 0, 1,1, 9,9, 10,10, the coefficient (10i)\binom{10}{i} vanishes, so only x0+x1+x9+x10x_0 + x_1 + x_9 + x_{10} matters

Solution:

Label the bottom-row entries x0,x_0, x1,x_1, ,\ldots, x10.x_{10}. Since each square is the sum of the two below it, the contributions accumulate with Pascal’s-triangle weights: the top square equals i=010(10i)xi.\sum_{i=0}^{10} \binom{10}{i} x_i.

Modulo 3,3, direct checking (or Lucas’ theorem with 10=101310 = 101_3) shows that for 2i8,2 \le i \le 8, (10i)0,\binom{10}{i} \equiv 0, while (100)=(1010)=1\binom{10}{0} = \binom{10}{10} = 1 and (101)=(109)=101.\binom{10}{1} = \binom{10}{9} = 10 \equiv 1. So the top square is a multiple of 33 exactly when x0+x1+x9+x10x_0 + x_1 + x_9 + x_{10} 0(mod3).\equiv 0 \pmod 3.

Because the four entries are 00 or 1,1, their sum is divisible by 33 only when it is 00 or 3:3: either all four are 00 (one way) or exactly three are 11 (four ways), for 55 choices. The remaining seven entries x2,x_2, ,\ldots, x8x_8 are free, so the count is 527=640.5 \cdot 2^7 = 640.

14.

Let f(x)f(x) be a polynomial with real coefficients such that f(0)=1,f(0) = 1, f(2)+f(3)=125,f(2) + f(3) = 125, and for all x,x, f(x)f(2x2)=f(2x3+x).f(x)f(2x^2) = f(2x^3 + x). Find f(5).f(5).

Answer: 676
Difficulty rating: 3060
Small Hint:

If λ\lambda is a root, so is 2λ3+λ;2\lambda^3 + \lambda; compare leading coefficients to see ff is monic

Big Hint:

No root can have λ1|\lambda| \ne 1 (moduli would grow forever, or the root product couldn’t be ±1\pm 1); then 2λ2+1=1|2\lambda^2 + 1| = 1 forces λ2=1\lambda^2 = -1

Solution:

The given values rule out a constant polynomial. If ff has degree mm and leading coefficient a,a, the leading coefficients of the two sides of f(x)f(2x2)=f(2x3+x)f(x)f(2x^2) = f(2x^3 + x) are a22ma^2 2^m and a2m,a 2^m, so a=1.a = 1. The equation also shows that whenever λ\lambda is a root, 2λ3+λ2\lambda^3 + \lambda is a root as well.

If some root had λ>1,|\lambda| \gt 1, then 2λ3+λ2λ3λ>λ,|2\lambda^3 + \lambda| \ge 2|\lambda|^3 - |\lambda| \gt |\lambda|, and iterating would produce infinitely many distinct roots — impossible. Since ff is monic with f(0)=1,f(0) = 1, the product of the roots has modulus 1,1, so no root can have modulus less than 11 either: every root satisfies λ=1.|\lambda| = 1. Then 2λ3+λ2\lambda^3 + \lambda must also have modulus 1,1, so 2λ2+1=1.|2\lambda^2 + 1| = 1. Writing λ2=cosθ+isinθ,\lambda^2 = \cos\theta + i\sin\theta, we get (2cosθ+1)2+4sin2θ=1,(2\cos\theta + 1)^2 + 4\sin^2\theta = 1, which simplifies to cosθ=1,\cos\theta = -1, so λ2=1.\lambda^2 = -1.

Thus every root is ±i,\pm i, and real coefficients pair them up: f(x)=(x2+1)n.f(x) = (x^2 + 1)^n. The condition f(2)+f(3)=5n+10n=125f(2) + f(3) = 5^n + 10^n = 125 gives n=2,n = 2, so f(5)=262=676.f(5) = 26^2 = 676.

15.

Four circles ω,\omega, ωA,\omega_A, ωB,\omega_B, and ωC\omega_C with the same radius are drawn in the interior of triangle ABCABC such that ωA\omega_A is tangent to sides ABAB and AC,AC, ωB\omega_B to BCBC and BA,BA, ωC\omega_C to CACA and CB,CB, and ω\omega is externally tangent to ωA,\omega_A, ωB,\omega_B, and ωC.\omega_C. If the sides of triangle ABCABC are 13,13, 14,14, and 15,15, the radius of ω\omega can be represented in the form mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Answer: 389
Difficulty rating: 3270
Small Hint:

The centers of ωA,\omega_A, ωB,\omega_B, ωC\omega_C lie on the angle bisectors, forming a triangle similar to ABCABC shrunk toward the incenter by factor rxr\frac{r - x}{r}

Big Hint:

The center of ω\omega is equidistant from those three centers, so 2x2x equals the circumradius of the shrunken triangle, namely RrxrR \cdot \frac{r - x}{r}

Solution:

Let xx be the common radius, and let OA,O_A, OB,O_B, OCO_C be the centers of ωA,\omega_A, ωB,\omega_B, ωC.\omega_C. Each is at distance xx from two sides of the triangle, so each lies on an angle bisector, and the sides of triangle OAOBOCO_A O_B O_C are parallel to those of ABCABC at distance x.x. Hence OAOBOCO_A O_B O_C is the image of ABCABC under the homothety centered at the incenter II with ratio rxr,\frac{r - x}{r}, where rr is the inradius; in particular its circumradius is Rrxr,R \cdot \frac{r - x}{r}, where RR is the circumradius of ABC.ABC.

The center of ω\omega is at distance 2x2x from each of OA,O_A, OB,O_B, OCO_C (externally tangent equal circles), so it is the circumcenter of OAOBOCO_A O_B O_C and 2x=Rrxr.2x = R \cdot \frac{r - x}{r}. For the 1313-1414-1515 triangle, s=21s = 21 and Heron’s formula gives area 21876=84,\sqrt{21 \cdot 8 \cdot 7 \cdot 6} = 84, so r=8421=4r = \frac{84}{21} = 4 and R=131415484=658.R = \frac{13 \cdot 14 \cdot 15}{4 \cdot 84} = \frac{65}{8}.

Then 2x=6584x42x = \frac{65}{8} \cdot \frac{4 - x}{4} gives 64x=26065x,64x = 260 - 65x, so x=260129.x = \frac{260}{129}. Since 129=343129 = 3 \cdot 43 shares no factor with 260,260, the answer is m+n=260+129=389.m + n = 260 + 129 = 389.