2026 AIME I 考试题目

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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Or jump straight to one 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

考试时间还剩下:

3:00:00

1.

Patrick started walking at a constant speed along a straight road from his school to the park. One hour after Patrick left, Tanya started running at a constant speed of 22 miles per hour faster than Patrick walked, following the same straight road from the school to the park. One hour after Tanya left, José started bicycling at a constant speed of 77 miles per hour faster than Tanya ran, following the same straight road from the school to the park. All three people arrived at the park at the same time. The distance from the school to the park is mn\frac{m}{n} miles, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Answer: 277
Concepts:distance rate and timesystem of equations

Difficulty rating: 1840

Solution:

Let vv be Patrick's speed in miles per hour and TT his travel time in hours. Then Tanya travels for T1T - 1 hours at speed v+2,v + 2, and José travels for T2T - 2 hours at speed v+9v + 9 (which is 77 more than Tanya's speed). Since all three cover the same distance, vT=(v+2)(T1)=(v+9)(T2).vT = (v+2)(T-1) = (v+9)(T-2).

Expanding the first equality gives 0=2Tv2,0 = 2T - v - 2, so v=2T2.v = 2T - 2. Expanding the second gives 0=9T2v18,0 = 9T - 2v - 18, so 2v=9T18.2v = 9T - 18. Substituting, 4T4=9T18,4T - 4 = 9T - 18, hence T=145T = \frac{14}{5} and v=185.v = \frac{18}{5}.

The distance is vT=185145=25225,vT = \frac{18}{5} \cdot \frac{14}{5} = \frac{252}{25}, which is in lowest terms, so m+n=252+25=277.m + n = 252 + 25 = 277.

2.

Find the number of positive integer palindromes written in base 10,10, with no zero digits, and whose digits add up to 13.13. For example, 4212442124 has these properties. Recall that a palindrome is a number whose representation reads the same from left to right as from right to left.

Answer: 62
Solution:

A palindrome with an even number of digits has each digit appearing in a mirrored pair, so its digit sum is even. Since 1313 is odd, the palindrome has an odd number of digits, and if mm is the middle digit, the rest of the digit sum 13m13 - m is split evenly between the two halves, so mm is odd. A one-digit palindrome would need m=13,m = 13, which is impossible.

The palindrome is determined by its middle digit mm and the block of digits to the left of center: a nonempty string of nonzero digits with sum s=13m2.s = \frac{13 - m}{2}. For m=1,3,5,7,9m = 1, 3, 5, 7, 9 we get s=6,5,4,3,2.s = 6, 5, 4, 3, 2. Since s6,s \le 6, every digit of such a string is automatically at most 9,9, so the number of strings is the number of compositions of s,s, which is 2s12^{s-1} (each of the s1s - 1 gaps between units is either a break or not).

The total is 25+24+23+22+21=32+16+8+4+2=62.2^{5} + 2^{4} + 2^{3} + 2^{2} + 2^{1} = 32 + 16 + 8 + 4 + 2 = 62.

3.

A hemisphere with radius 200200 sits on top of a horizontal circular disk with radius 200,200, and the hemisphere and disk have the same center. Let T\mathcal{T} be the region of points PP in the disk such that a sphere of radius 4242 can be placed on top of the disk at PP and lie completely inside the hemisphere. The area of T\mathcal{T} divided by the area of the disk is pq,\frac{p}{q}, where pp and qq are relatively prime positive integers. Find p+q.p + q.

Answer: 79
Solution:

A sphere of radius 4242 resting on the disk at PP has its center 4242 directly above P.P. It lies inside the hemisphere of radius 200200 exactly when its center is within 20042=158200 - 42 = 158 of the common center O.O. If dd is the distance from OO to P,P, the center of the sphere is at distance d2+422\sqrt{d^2 + 42^2} from O,O, so the condition is d2+4221582.d^2 + 42^2 \le 158^2.

By difference of squares, d21582422=116200=23200.d^2 \le 158^2 - 42^2 = 116 \cdot 200 = 23200. Thus T\mathcal{T} is a disk of radius 23200,\sqrt{23200}, and the ratio of areas is 232002002=2320040000=2950.\frac{23200}{200^2} = \frac{23200}{40000} = \frac{29}{50}. Therefore p+q=29+50=79.p + q = 29 + 50 = 79.

4.

Find the number of integers less than or equal to 100100 that are equal to a+b+aba + b + ab for some choice of distinct positive integers aa and b.b.

Answer: 70
Solution:

Since a+b+ab=(a+1)(b+1)1,a + b + ab = (a+1)(b+1) - 1, an integer nn is representable exactly when n+1=xyn + 1 = xy for distinct integers x=a+1x = a + 1 and y=b+1y = b + 1 that are each at least 2.2. So we count integers n+1n + 1 in {2,3,,101}\{2, 3, \ldots, 101\} that admit such a factorization.

A prime has no factorization into two factors that are both at least 2,2, and the square of a prime p2p^2 factors that way only as pp,p \cdot p, which is not allowed. Every other composite MM works: if pp is its smallest prime factor, then M=pMpM = p \cdot \frac{M}{p} with Mp>p\frac{M}{p} \gt p since M>p2.M \gt p^2. In {2,,101}\{2, \ldots, 101\} there are 2626 primes (the 2525 primes below 100,100, together with 101101) and 44 prime squares (4,4, 9,9, 25,25, 4949).

The count is 100264=70.100 - 26 - 4 = 70.

5.

A plane contains points AA and BB with AB=1.AB = 1. Point AA is rotated in the plane counterclockwise through an acute angle θ\theta around point BB to point A.A'. Then BB is rotated in the plane clockwise through angle θ\theta around point AA' to point B.B'. Suppose AB=43.AB' = \frac{4}{3}. The value of cosθ\cos\theta can be written as mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Answer: 65

Difficulty rating: 2400

Solution:

Work in the complex plane with B=0B = 0 and A=1.A = 1. Rotating zz about PP through angle φ\varphi counterclockwise gives P+eiφ(zP).P + e^{i\varphi}(z - P). So A=eiθ,A' = e^{i\theta}, and rotating BB clockwise through θ\theta about AA' gives B=A+eiθ(0A)=eiθeiθeiθ=eiθ1.B' = A' + e^{-i\theta}(0 - A') = e^{i\theta} - e^{-i\theta}e^{i\theta} = e^{i\theta} - 1.

Then AB2=eiθ22=(cosθ2)2+sin2θ=54cosθ.AB'^2 = \left|e^{i\theta} - 2\right|^2 = (\cos\theta - 2)^2 + \sin^2\theta = 5 - 4\cos\theta. Setting this equal to (43)2=169\left(\frac{4}{3}\right)^2 = \frac{16}{9} gives 4cosθ=5169=299,4\cos\theta = 5 - \frac{16}{9} = \frac{29}{9}, so cosθ=2936\cos\theta = \frac{29}{36} (indeed positive, consistent with θ\theta acute). Thus m+n=29+36=65.m + n = 29 + 36 = 65.

6.

The product of all positive real numbers xx satisfying the equation xlog2026x20=26x\sqrt[20]{x^{\log_{2026} x}} = 26x is an integer P.P. Find the number of positive integer divisors of P.P.

Answer: 441
Solution:

Let t=log2026x.t = \log_{2026} x. Taking log2026\log_{2026} of both sides of x(log2026x)/20=26xx^{(\log_{2026} x)/20} = 26x gives t220=log202626+t,that ist220t20log202626=0.\frac{t^2}{20} = \log_{2026} 26 + t, \qquad \text{that is} \qquad t^2 - 20t - 20\log_{2026} 26 = 0. The discriminant 400+80log202626400 + 80\log_{2026} 26 is positive, so there are two real roots t1,t2,t_1, t_2, each giving a valid positive solution x=2026t.x = 2026^{t}.

By Vieta's formulas t1+t2=20,t_1 + t_2 = 20, so the product of the solutions is 2026t12026t2=202620.2026^{t_1} \cdot 2026^{t_2} = 2026^{20}. Since 2026=210132026 = 2 \cdot 1013 and 10131013 is prime, P=220101320P = 2^{20} \cdot 1013^{20} has 2121=44121 \cdot 21 = 441 positive divisors.

7.

Find the number of functions π\pi mapping the set A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\} onto AA such that for every aA,a \in A, π(π(π(π(π(π(a))))))=a.\pi(\pi(\pi(\pi(\pi(\pi(a)))))) = a.

Answer: 396

Difficulty rating: 2510

Solution:

A function from a finite set onto itself is a bijection, so π\pi is a permutation of six elements, and the condition says π6\pi^6 is the identity. A permutation satisfies π6=id\pi^6 = \mathrm{id} exactly when every cycle in its cycle decomposition has length dividing 6.6. Among the possible lengths 11 through 6,6, only 44 and 55 fail to divide 6.6.

We subtract the permutations containing a 44-cycle or a 55-cycle from 6!=720.6! = 720. Cycle type 4+1+14+1+1 gives 6!42!=90,\frac{6!}{4 \cdot 2!} = 90, type 4+24+2 gives 6!42=90,\frac{6!}{4 \cdot 2} = 90, and type 5+15+1 gives 6!5=144,\frac{6!}{5} = 144, for 90+90+144=32490 + 90 + 144 = 324 excluded permutations.

The count is 720324=396.720 - 324 = 396.

8.

Let NN be the number of positive integer divisors of 170171717017^{17} that leave a remainder of 55 upon division by 12.12. Find the remainder when NN is divided by 1000.1000.

Answer: 244
Solution:

Since 17017=7111317,17017 = 7 \cdot 11 \cdot 13 \cdot 17, the divisors of 170171717017^{17} are 7a11b13c17d7^a 11^b 13^c 17^d with each exponent between 00 and 17.17. Modulo 1212 we have 131,13 \equiv 1, and 7211217217^2 \equiv 11^2 \equiv 17^2 \equiv 1 (as 17517 \equiv 5), so the residue of a divisor is 7α11β5δ(mod12),7^{\alpha} \, 11^{\beta} \, 5^{\delta} \pmod{12}, where α,β,δ\alpha, \beta, \delta are the parities of a,b,d.a, b, d.

The four possible values 1,5,7,111, 5, 7, 11 multiply like the group {1,5,7,11}\{1, 5, 7, 11\} mod 12,12, in which 7115.7 \cdot 11 \equiv 5. Checking the eight parity patterns, the residue is 55 exactly when (α,β,δ)=(0,0,1)(\alpha, \beta, \delta) = (0, 0, 1) or (1,1,0).(1, 1, 0). Each parity condition is satisfied by 99 of the 1818 choices of that exponent, while cc is free with 1818 choices.

Therefore N=299918=26244,N = 2 \cdot 9 \cdot 9 \cdot 9 \cdot 18 = 26244, and the remainder mod 10001000 is 244.244.

9.

Joanne has a blank fair six-sided die and six stickers each displaying a different integer from 11 to 6.6. Joanne rolls the die and then places the sticker labeled 11 on the top face of the die. She then rolls the die again, places the sticker labeled 22 on the top face, and continues this process to place the rest of the stickers in order. If the die ever lands with a sticker already on its top face, the new sticker is placed to cover the old sticker. Let pp be the conditional probability that at the end of the process exactly one face has been left blank, given that all the even-numbered stickers are visible on faces of the die. Then pp can be written as mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Answer: 29
Solution:

Let f1,,f6f_1, \ldots, f_6 be the top faces rolled, independent and uniform over the six faces. Sticker ii goes on face fif_i and ends up visible exactly when fjfif_j \ne f_i for all j>ij \gt i (sticker 66 is always visible). So the conditioning event is f3,f4,f5,f6f2f_3, f_4, f_5, f_6 \ne f_2 and f5,f6f4.f_5, f_6 \ne f_4. Counting choices in the order f1,f2,f3,f4,f5,f6f_1, f_2, f_3, f_4, f_5, f_6 gives 665544=144006 \cdot 6 \cdot 5 \cdot 5 \cdot 4 \cdot 4 = 14400 sequences out of 66.6^6.

A face is blank exactly when it never appears among f1,,f6,f_1, \ldots, f_6, so exactly one blank face means the sequence takes exactly 55 distinct values, i.e. there is exactly one coincidence fi=fjf_i = f_j with i<ji \lt j and all other values distinct. The coincidence must not violate the conditioning: pairs (2,j)(2, j) and (4,5),(4, 5), (4,6)(4, 6) are forbidden, leaving the 99 pairs (1,2),(1,2), (1,3),(1,3), (1,4),(1,4), (1,5),(1,5), (1,6),(1,6), (3,4),(3,4), (3,5),(3,5), (3,6),(3,6), (5,6).(5,6). For each allowed pair, the five distinct values can be assigned in 65432=7206 \cdot 5 \cdot 4 \cdot 3 \cdot 2 = 720 ways, and every constraint holds automatically because the only repeated value occupies an allowed pair. That gives 9720=64809 \cdot 720 = 6480 sequences.

Therefore p=648014400=920,p = \frac{6480}{14400} = \frac{9}{20}, and m+n=9+20=29.m + n = 9 + 20 = 29.

10.

Let ABC\triangle ABC have side lengths AB=13,AB = 13, BC=14,BC = 14, and CA=15.CA = 15. Triangle ABC\triangle A'B'C' is obtained by rotating ABC\triangle ABC about its circumcenter so that AC\overline{A'C'} is perpendicular to BC,\overline{BC}, with AA' and BB not on the same side of line BC.B'C'. Find the integer closest to the area of hexagon AACCBB.AA'CC'BB'.

Answer: 156
Solution:

Place B=(0,0),B = (0,0), C=(14,0),C = (14,0), A=(5,12).A = (5,12). The circumcenter lies on x=7,x = 7, and equating distances to BB and AA gives O=(7,338).O = \left(7, \frac{33}{8}\right). The direction of AC\overline{AC} is CA=(9,12),C - A = (9, -12), parallel to (3,4).(3, -4). A rotation through φ\varphi makes AC\overline{A'C'} vertical exactly when it sends (3,4)(3,-4) to (0,±5),(0, \pm 5), so (cosφ,sinφ)=(45,35)(\cos\varphi, \sin\varphi) = \left(\frac{4}{5}, -\frac{3}{5}\right) or (45,35).\left(-\frac{4}{5}, \frac{3}{5}\right). Rotating each vertex about OO and checking the line BCB'C' shows that AA' and BB are on opposite sides only for cosφ=45,\cos\varphi = \frac{4}{5}, sinφ=35.\sin\varphi = -\frac{3}{5}.

With this rotation, P=O+R(PO)P' = O + R(P - O) gives A=(818,938),B=(4340,20140),C=(818,278).A' = \left(\tfrac{81}{8}, \tfrac{93}{8}\right), \qquad B' = \left(-\tfrac{43}{40}, \tfrac{201}{40}\right), \qquad C' = \left(\tfrac{81}{8}, -\tfrac{27}{8}\right). For example, AO=(2,638)A - O = \left(-2, \tfrac{63}{8}\right) rotates to (258,152),\left(\tfrac{25}{8}, \tfrac{15}{2}\right), giving A=(818,938).A' = \left(\tfrac{81}{8}, \tfrac{93}{8}\right).

The hexagon AACCBBA A' C C' B B' is simple with these vertices in order, so the shoelace formula on (5,12),(5,12), (818,938),\left(\tfrac{81}{8}, \tfrac{93}{8}\right), (14,0),(14,0), (818,278),\left(\tfrac{81}{8}, -\tfrac{27}{8}\right), (0,0),(0,0), (4340,20140)\left(-\tfrac{43}{40}, \tfrac{201}{40}\right) gives area 155710=155.7.\frac{1557}{10} = 155.7. The closest integer is 156.156.

11.

The integers from 11 to 6464 are placed in some order into an 8×88 \times 8 grid of cells with one number in each cell. Let ai,ja_{i,j} be the number placed in the cell in row ii and column j,j, and let MM be the sum of the absolute differences between adjacent cells. That is, M=i=18j=17(ai,j+1ai,j+aj+1,iaj,i).M = \sum_{i=1}^{8} \sum_{j=1}^{7} \left( |a_{i,j+1} - a_{i,j}| + |a_{j+1,i} - a_{j,i}| \right). Find the remainder when the maximum possible value of MM is divided by 1000.1000.

Answer: 896

Difficulty rating: 3160

Solution:

View the grid as a graph whose 112112 edges join adjacent cells. Each edge contributes its larger endpoint value positively and its smaller one negatively, so M=vcvav,M = \sum_v c_v a_v, where ava_v is the entry in cell vv and cvc_v is the number of neighbors of vv with smaller entries minus the number with larger entries. Then cvdeg(v),|c_v| \le \deg(v), which is 44 for the 3636 interior cells, 33 for the 2424 edge cells, and 22 for the 44 corners, and vcv=0\sum_v c_v = 0 since each edge contributes +1+1 and 1.-1.

Because vcv=0,\sum_v c_v = 0, M=vcv(av652)vdeg(v)av652.M = \sum_v c_v \left(a_v - \tfrac{65}{2}\right) \le \sum_v \deg(v)\left|a_v - \tfrac{65}{2}\right|. By the rearrangement inequality this is maximized by pairing the 3636 values farthest from 652\frac{65}{2} (namely 111818 and 474764,64, whose deviations total 828828) with the interior cells, the next 2424 values (19193030 and 353546,46, totaling 192192) with the edge cells, and 31313434 (totaling 44) with the corners. Hence M4828+3192+24=3896.M \le 4 \cdot 828 + 3 \cdot 192 + 2 \cdot 4 = 3896.

Equality requires every cell holding a value at most 3232 to be smaller than all its neighbors and every value at least 3333 to be larger, which a checkerboard achieves: put 113232 on the black cells (111818 on interior blacks, 19193030 on edge blacks, 31313232 on black corners) and 33336464 on the white cells (33333434 on corners, 35354646 on edges, 47476464 in the interior). Every neighbor pair then compares white over black, so M=3896,M = 3896, and the answer is 3896mod1000=896.3896 \bmod 1000 = 896.

12.

Triangle ABC\triangle ABC lies in plane P\mathcal{P} with AB=6,AB = 6, AC=4,AC = 4, and BAC=90.\angle BAC = 90^\circ. Let DD be the reflection across BC\overline{BC} of the centroid of ABC.\triangle ABC. Four spheres, all on the same side of P,\mathcal{P}, have radii 1,2,3,1, 2, 3, and rr and are tangent to P\mathcal{P} at points A,A, B,B, C,C, and D,D, respectively. The four spheres are also each tangent to a second plane T\mathcal{T} and are all on the same side of T.\mathcal{T}. The value of rr can be written as mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Answer: 161
Solution:

A sphere of radius ρ\rho tangent to P\mathcal{P} at PP has center P+ρk,P + \rho k, where kk is the upward unit normal of P.\mathcal{P}. Write T\mathcal{T} as {x:nx=c}\{x : n \cdot x = c\} with unit normal n=(n1,n2,h)n = (n_1, n_2, h) in coordinates where P\mathcal{P} is the xyxy-plane. Tangency with all spheres on the same side means n(P+ρk)c=ρn \cdot (P + \rho k) - c = \rho for each sphere, that is n1xP+n2yPc=(1h)ρ.n_1 x_P + n_2 y_P - c = (1 - h)\rho. Here h1,h \ne 1, since otherwise the left side would be constant while the radii differ. So ρ=g(P)\rho = g(P) for the affine function g(x,y)=n1x+n2yc1h.g(x,y) = \frac{n_1 x + n_2 y - c}{1 - h}.

Take A=(0,0),A = (0,0), B=(6,0),B = (6,0), C=(0,4).C = (0,4). The affine function with g(A)=1,g(A) = 1, g(B)=2,g(B) = 2, g(C)=3g(C) = 3 is g(x,y)=1+x6+y2.g(x,y) = 1 + \frac{x}{6} + \frac{y}{2}. The centroid is G=(2,43),G = \left(2, \frac{4}{3}\right), and line BCBC is 2x+3y=12.2x + 3y = 12. Since 22+34312=4,2 \cdot 2 + 3 \cdot \frac{4}{3} - 12 = -4, reflecting gives D=G+813(2,3)=(4213, 12439).D = G + \frac{8}{13}\,(2, 3) = \left(\frac{42}{13},\ \frac{124}{39}\right).

Therefore r=g(D)=1+164213+1212439=1+2139+6239=12239.r = g(D) = 1 + \frac{1}{6} \cdot \frac{42}{13} + \frac{1}{2} \cdot \frac{124}{39} = 1 + \frac{21}{39} + \frac{62}{39} = \frac{122}{39}. (Such a plane exists: the normal condition (1h)2g2=1h2(1-h)^2\left|\nabla g\right|^2 = 1 - h^2 with g2=518\left|\nabla g\right|^2 = \frac{5}{18} gives h=1323.h = -\frac{13}{23}.) Since gcd(122,39)=1,\gcd(122, 39) = 1, the answer is 122+39=161.122 + 39 = 161.

13.

For each nonnegative integer rr less than 502502 define Sr=m0(10,000502m+r),S_r = \sum_{m \ge 0} \binom{10{,}000}{502m + r}, where (10,000n)\binom{10{,}000}{n} is defined to be 00 when n>10,000.n \gt 10{,}000. That is, SrS_r is the sum of all the binomial coefficients of the form (10,000k)\binom{10{,}000}{k} for which 0k10,0000 \le k \le 10{,}000 and krk - r is a multiple of 502.502.

Find the number of integers in the list S0,S_0, S1,S_1, S2,S_2, ,\ldots, S501S_{501} that are multiples of the prime number 503.503.

Answer: 39

Difficulty rating: 3370

Solution:

Work in the ring F503[x]/(x5021).\mathbb{F}_{503}[x]/(x^{502} - 1). Reducing (1+x)10000=k(10000k)xk(1 + x)^{10000} = \sum_k \binom{10000}{k} x^k replaces each exponent kk by kmod502,k \bmod 502, so (1+x)10000r=0501Srxr(mod503, x5021).(1+x)^{10000} \equiv \sum_{r=0}^{501} S_r \, x^r \pmod{503,\ x^{502} - 1}.

Since 503503 is prime, (1+x)5031+x503(mod503),(1+x)^{503} \equiv 1 + x^{503} \pmod{503}, and x503=xx502x,x^{503} = x \cdot x^{502} \equiv x, so (1+x)5031+x(1+x)^{503} \equiv 1 + x in this ring. Writing 10000=19503+443,10000 = 19 \cdot 503 + 443, (1+x)10000=((1+x)503)19(1+x)443(1+x)19(1+x)443=(1+x)462.(1+x)^{10000} = \left((1+x)^{503}\right)^{19} (1+x)^{443} \equiv (1+x)^{19} (1+x)^{443} = (1+x)^{462}. As 462<502,462 \lt 502, no exponents fold, so Sr(462r)(mod503)S_r \equiv \binom{462}{r} \pmod{503} for 0r501,0 \le r \le 501, where (462r)=0\binom{462}{r} = 0 for r>462.r \gt 462.

For 0r4620 \le r \le 462 the binomial coefficient (462r)\binom{462}{r} is not divisible by 503:503: both 462462 and rr are single digits in base 503,503, so Lucas' theorem gives a nonzero value (indeed (462r)=462!r!(462r)!\binom{462}{r} = \frac{462!}{r!\,(462-r)!} involves no factor of 503503). Hence Sr0(mod503)S_r \equiv 0 \pmod{503} exactly for r=463,464,,501,r = 463, 464, \ldots, 501, which is 501463+1=39501 - 463 + 1 = 39 values.

14.

In an equiangular pentagon, the sum of the squares of the side lengths equals 308,308, and the sum of the squares of the diagonal lengths equals 800.800. The square of the perimeter of the pentagon can be expressed as mn,m\sqrt{n}, where mm and nn are positive integers and nn is not divisible by the square of any prime. Find m+n.m + n.

Answer: 681
Solution:

In an equiangular pentagon each side direction turns by the exterior angle 72,72^\circ, so the sides are the vectors skuks_k u_k for k=1,,5,k = 1, \ldots, 5, where uk=(cos72k,sin72k)u_k = (\cos 72k^\circ, \sin 72k^\circ) and kskuk=0.\sum_k s_k u_k = 0. Write Q=sk2=308,Q = \sum s_k^2 = 308, P1=ksksk+1,P_1 = \sum_{k} s_k s_{k+1}, and P2=ksksk+2P_2 = \sum_k s_k s_{k+2} (indices cyclic). Each diagonal is a sum of two consecutive side vectors, so its square is sk+12+sk+22+2sk+1sk+2cos72,s_{k+1}^2 + s_{k+2}^2 + 2 s_{k+1} s_{k+2} \cos 72^\circ, and summing all five gives 800=2Q+2cos72P1,so2cos72P1=800616=184.800 = 2Q + 2\cos 72^\circ \, P_1, \qquad \text{so} \qquad 2\cos 72^\circ \, P_1 = 800 - 616 = 184.

Expanding kskuk2=0,\left|\sum_k s_k u_k\right|^2 = 0, the angle between uku_k and uk+1u_{k+1} is 7272^\circ and between uku_k and uk+2u_{k+2} is 144:144^\circ: 0=Q+2cos72P1+2cos144P2=308+1842cos36P2,0 = Q + 2\cos 72^\circ \, P_1 + 2\cos 144^\circ \, P_2 = 308 + 184 - 2\cos 36^\circ \, P_2, so 2cos36P2=492.2\cos 36^\circ \, P_2 = 492. Using cos72=514\cos 72^\circ = \frac{\sqrt{5} - 1}{4} and cos36=5+14,\cos 36^\circ = \frac{\sqrt{5} + 1}{4}, we get 2P1=184cos72=184(5+1)2P_1 = \frac{184}{\cos 72^\circ} = 184\left(\sqrt{5} + 1\right) and 2P2=492cos36=492(51).2P_2 = \frac{492}{\cos 36^\circ} = 492\left(\sqrt{5} - 1\right).

The square of the perimeter is (sk)2=Q+2P1+2P2=308+1845+184+4925492=6765.\left(\sum s_k\right)^2 = Q + 2P_1 + 2P_2 = 308 + 184\sqrt{5} + 184 + 492\sqrt{5} - 492 = 676\sqrt{5}. Therefore m+n=676+5=681.m + n = 676 + 5 = 681.

15.

Let a,a, b,b, and nn be positive integers with both aa and bb greater than or equal to 22 and less than or equal to 2n.2n. Define an a×ba \times b cell loop in a 2n×2n2n \times 2n grid of cells to be the 2a+2b42a + 2b - 4 cells that surround an (a2)×(b2)(a-2) \times (b-2) (possibly empty) rectangle of cells in the grid. For example, the following diagram shows a way to partition a 6×66 \times 6 grid of cells into 44 cell loops.

Find the number of ways to partition a 10×1010 \times 10 grid of cells into 55 cell loops so that every cell of the grid belongs to exactly one cell loop.

Answer: 83

Difficulty rating: 3700

Solution:

Since the five loops cover (2(ai+bi)4)=100\sum \left(2(a_i + b_i) - 4\right) = 100 cells, (ai+bi)=60.\sum (a_i + b_i) = 60. Every loop has an even number of cells, so no odd-by-odd rectangle can be exactly filled by loops; and filling a rectangle whose shortest even side is ee requires at least e2\frac{e}{2} loops, since peeling off an outermost loop shrinks that side by exactly 22 while splitting a rectangle into smaller ones only adds up such requirements. Now consider the outermost loops of a partition (those whose rectangles lie inside no other loop's rectangle): their rectangles tile the 10×1010 \times 10 square. If outermost rectangle RiR_i has shortest even side ei,e_i, it uses niei2n_i \ge \frac{e_i}{2} loops and covers at most 10ei10\,e_i cells. Summing over the tiling, 10010ei20ni=100,100 \le \sum 10\,e_i \le 20 \sum n_i = 100, so equality holds throughout: each RiR_i spans the full 1010 in one direction, has even width ei,e_i, and is filled with exactly ei2\frac{e_i}{2} loops. Two full-length slabs in different directions would overlap, so the outermost rectangles are the whole square or parallel slabs, and the same equality argument repeats inside every loop's inner rectangle.

Let s(w)s(w) be the number of ways to fill a full-height slab of even width ww with w2\frac{w}{2} loops. A width-22 slab is a single loop: s(2)=1.s(2) = 1. A width-44 slab is a 10×410 \times 4 loop around an 8×28 \times 2 loop: s(4)=1.s(4) = 1. A width-66 slab is a 10×610 \times 6 loop around an 8×48 \times 4 region holding two loops — either nested (8×48 \times 4 around 6×26 \times 2) or two 8×28 \times 2 slabs — so s(6)=2.s(6) = 2. A width-88 slab surrounds an 8×68 \times 6 region holding three loops: an 8×68 \times 6 loop around a 6×46 \times 4 region with two loops (22 ways as before), or full-height strips of widths 2+2+22 + 2 + 2 (11 way), or widths 2+42 + 4 in two orders (22 ways), so s(8)=5.s(8) = 5. The same recursion counts the full square: a 10×1010 \times 10 loop around an 8×88 \times 8 region with four loops, where the 4×4,4 \times 4, 6×6,6 \times 6, and 8×88 \times 8 regions admit 3,3, then 3+3+3=9,3 + 3 + 3 = 9, then 9+9+9=279 + 9 + 9 = 27 fillings (single nested loop, vertical strips, or horizontal strips at each stage).

Finally, tally the outermost structures. The single 10×1010 \times 10 rectangle gives 2727 partitions. For parallel slabs, the widths form a composition of 1010 into even parts with at least two parts, and orientations (vertical or horizontal) double the count: (2,2,2,2,2)(2,2,2,2,2) gives 1;1; (4,2,2,2)(4,2,2,2) in 44 orders gives 4;4; (4,4,2)(4,4,2) in 33 orders gives 3;3; (6,2,2)(6,2,2) in 33 orders gives 32=6;3 \cdot 2 = 6; (6,4)(6,4) in 22 orders gives 22=4;2 \cdot 2 = 4; and (8,2)(8,2) in 22 orders gives 25=10,2 \cdot 5 = 10, for 2828 per orientation. The total is 27+228=83.27 + 2 \cdot 28 = 83.