1987 AIME Problems

15 problems · 180 minutes

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.

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

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

Want to learn professionally through interactive video classes?

Learn LIVE

Timed

3:00:00

1.

An ordered pair (m,n)(m,n) of nonnegative integers is called “simple” if adding m+nm+n in base 1010 requires no carrying. Find the number of simple ordered pairs that sum to 1492.1492.
Answer: 300
Concepts:digitsplace valuemultiplication principle
Small hint:
Treat the four decimal places independently
Big hint:
A target digit dd can be split into an ordered pair of digits in d+1d+1 ways without carrying
Solution:
For a target digit d,d, there are d+1d+1 ordered pairs of nonnegative digits with sum d.d. The four digits 1,1, 4,4, 9,9, 22 therefore give 2,2, 5,5, 10,10, 33 choices independently. The answer is 2⋅5⋅10⋅3=300.2\cdot5\cdot10\cdot3=300.

2.

What is the largest possible distance between two points, one on the sphere of radius 1919 centered at (−2,−10,5)(-2,-10,5) and the other on the sphere of radius 8787 centered at (12,8,−16)?(12,8,-16)?
Answer: 137
Difficulty rating: 1340
Small hint:
First find the distance between the two centers
Big hint:
The maximum occurs along the line of centers, on the two outward sides
Solution:
The squared distance between the centers is 142+182+(−21)2=961,14^2+18^2+(-21)^2=961, so they are 961=31\sqrt{961}=31 apart. By the triangle inequality, the greatest point-to-point distance is obtained on the line of centers and equals 19+31+87=137.19+31+87=137.

3.

A proper divisor of a natural number is a positive integral divisor other than 11 and the number itself. A natural number greater than 11 is called “nice” if it equals the product of its distinct proper divisors. What is the sum of the first ten nice numbers?
Answer: 182
Difficulty rating: 1830
Small hint:
Express the product of all positive divisors in terms of the number and its divisor count
Big hint:
The nice numbers are exactly those having four positive divisors
Solution:
If NN has dd positive divisors, their product is Nd2.N^{\frac{d}{2}}. Removing 11 and NN leaves product Nd2−1,N^{\frac{d}{2}-1}, which equals NN exactly when d=4.d=4. Thus nice numbers are precisely p3p^3 and pqpq for distinct primes. The first ten are 6,6, 8,8, 10,10, 14,14, 15,15, 21,21, 22,22, 26,26, 27,27, 33,33, whose sum is 182.182.

4.

Find the area of the region enclosed by the graph of ∣x−60∣+∣y∣=∣x4∣.|x-60|+|y|=|\frac{x}{4}|.
Answer: 480
Difficulty rating: 1810
Small hint:
Solve for ∣y∣|y| and determine where its right-hand side is nonnegative
Big hint:
The boundary is a kite whose vertices occur at the breakpoints of the absolute values
Solution:
We need ∣y∣=∣x∣4−∣x−60∣≥0.|y|=\frac{|x|}{4}-|x-60|\geq0. This forces 48≤x≤80.48\leq x\leq80. At x=48,x=48, x=60,x=60, x=80,x=80, the boundary values are respectively y=0,y=0, y=±15,y=\pm15, y=0.y=0. Hence the region is a kite with perpendicular diagonals 80−48=3280-48=32 and 30,30, so its area is 12(32)(30)=480.\frac12(32)(30)=480.

5.

Find 3x2y23x^2y^2 if xx and yy are integers such that y2+3x2y2=30x2+517.y^2+3x^2y^2=30x^2+517.
Answer: 588
Difficulty rating: 2070
Small hint:
Move a suitable multiple of 3x2+13x^2+1 to create a product
Big hint:
Factor 507507 and use that 3x2+1≡1(mod3)3x^2+1\equiv1\pmod3
Solution:
Rearranging gives (3x2+1)(y2−10)=507,(3x^2+1)(y^2-10)=507, where 507=3⋅132.507=3\cdot13^2. The positive divisors of 507507 congruent to 1(mod3)1\pmod3 are 1,1, 13,13, 169.169. If 3x2+1=1,3x^2+1=1, then x2=0x^2=0 but y2=517,y^2=517, which is not a square. If 3x2+1=13,3x^2+1=13, then x2=4x^2=4 and y2=49.y^2=49. Finally, 3x2+1=1693x^2+1=169 gives x2=56,x^2=56, not a square. Therefore 3x2y2=3⋅4⋅49=588.3x^2y^2=3\cdot4\cdot49=588.

6.

Rectangle ABCDABCD is divided into four parts of equal area by five segments as shown, where XY=YB+BC+CZ,XY=YB+BC+CZ, YB+BC+CZ=ZW,YB+BC+CZ=ZW, ZW=WD+DA+AX,ZW=WD+DA+AX, and PQ∥AB.PQ\parallel AB. Find ABAB (in cm) if BC=19BC=19 cm and PQ=87PQ=87 cm.
Answer: 193
Difficulty rating: 2270
Small hint:
Call the common boundary length tt and the rectangle width LL
Big hint:
Equal areas above and below PQPQ place PQPQ halfway up the rectangle
Solution:
Put AB=LAB=L and let the four equal boundary lengths be t.t. Writing AX=xAX=x and DW=w,DW=w, the left boundary condition gives x+w=t−19.x+w=t-19. Substituting XY=ZW=tXY=ZW=t into the right condition gives 2L+38=4t,2L+38=4t, so t=L+192.t=\frac{L+19}{2}.
The upper and lower central regions are trapezoids with the same bases tt and 87.87. Since their areas are equal, PQPQ lies halfway up the 1919-cm rectangle. Each central region therefore has area 19(t+87)4.\frac{19(t+87)}{4}. This is one quarter of the rectangle, 19L4,\frac{19L}{4}, so t+87=L.t+87=L. Combining with t=L+192t=\frac{L+19}{2} yields L=193.L=193.

7.

Let [r,s][r,s] denote the least common multiple of positive integers r,r, s.s. Find the number of ordered triples (a,b,c)(a,b,c) for which [a,b]=1000,[a,b]=1000, [b,c]=2000,[b,c]=2000, and [c,a]=2000.[c,a]=2000.
Small hint:
Treat the exponents of 22 and 55 independently
Big hint:
For each prime, translate every least common multiple into a condition on pairwise maxima
Solution:
For the exponent of 5,5, all three pairwise maxima equal 3.3. Thus at least two exponents are 3:3: there is one all-33 triple and 3⋅33\cdot3 triples with exactly two 33’s, for 1010 choices.
For the exponent of 2,2, the first pair has maximum 33 while the other two have maximum 4.4. The exponent of cc must be 4,4, and the exponents of aa and bb lie in {0,1,2,3}\{0,1,2,3\} with maximum 3,3, giving 42−32=74^2-3^2=7 choices. Independence gives 10⋅7=70.10\cdot7=70.

8.

What is the largest positive integer nn for which there is a unique integer kk such that 815<nn+k<713?\frac8{15}<\frac{n}{n+k}<\frac7{13}?
Answer: 112
Difficulty rating: 1860
Small hint:
Solve both inequalities for kk
Big hint:
Study the integers in the open interval (6n7,7n8)(\frac{6n}{7},\frac{7n}{8})
Solution:
The inequalities are equivalent to 6n7<k<7n8.\frac{6n}{7}<k<\frac{7n}{8}. This interval has length n56.\frac{n}{56}. At n=112n=112 it is (96,98),(96,98), containing only 97.97. For n>112n>112 its length exceeds 2,2, so it contains at least two integers. Thus the largest possible nn is 112.112.

9.

Triangle ABCABC has a right angle at BB and contains a point PP for which PA=10,PA=10, PB=6,PB=6, and ∠APB=∠BPC=∠CPA.\angle APB=\angle BPC=\angle CPA. Find PC.PC.
Answer: 33
Difficulty rating: 2380
Small hint:
The three equal angles around PP are each 120∘120^\circ
Big hint:
Use vectors from PP and translate the right angle at BB into a dot product
Solution:
Let a,\mathbf a, b,\mathbf b, and c\mathbf c be the vectors from PP to A,A, B,B, C,C, and put ∣c∣=x.|\mathbf c|=x. Their pairwise angles are 120∘,120^\circ, so a⋅b=−30,\mathbf a\cdot\mathbf b=-30, b⋅c=−3x,\mathbf b\cdot\mathbf c=-3x, and a⋅c=−5x.\mathbf a\cdot\mathbf c=-5x. Since AB⊥BC,AB\perp BC,
(a−b)⋅(c−b)=0.(\mathbf a-\mathbf b)\cdot(\mathbf c-\mathbf b)=0. Expanding gives −5x+30+3x+36=0,-5x+30+3x+36=0, so x=33.x=33.

10.

Al walks down an escalator that is moving up and counts 150150 steps. Bob walks up and counts 7575 steps. If Al’s walking speed is three times Bob’s, how many steps are visible at a given time? Assume this is constant.
Answer: 120
Difficulty rating: 1770
Small hint:
Let Bob’s speed be b,b, the escalator’s upward speed be e,e, and the visible count be NN
Big hint:
Write NN as net speed times travel time for each person
Solution:
Bob’s time is 75b,\frac{75}{b}, so N=(b+e)(75b),N=(b+e)(\frac{75}{b}), or N=75(1+eb).N=75(1+\frac{e}{b}). Al’s time is 1503b=50b,\frac{150}{3b}=\frac{50}{b}, so N=(3b−e)(50b),N=(3b-e)(\frac{50}{b}), or N=150−50eb.N=150-\frac{50e}{b}. Equating gives 125eb=75,\frac{125e}{b}=75, hence eb=35\frac{e}{b}=\frac{3}{5} and N=75(1+35)=120.N=75(1+\frac{3}{5})=120.

11.

Find the largest possible kk for which 3113^{11} is expressible as the sum of kk consecutive positive integers.
Answer: 486
Difficulty rating: 2070
Small hint:
Write the sum as k(2a+k−1)2\frac{k(2a+k-1)}{2}
Big hint:
The only possible lengths divide 2⋅3112\cdot3^{11}; then enforce a positive first term
Solution:
If the first term is a,a, then 2⋅311=k(2a+k−1).2\cdot3^{11}=k(2a+k-1). Thus kk is 3j3^j or 2⋅3j.2\cdot3^j. The largest viable even choice is k=2⋅35=486,k=2\cdot3^5=486, for which 2a+k−1=36=7292a+k-1=3^6=729 and a=122>0.a=122>0. The next candidates, 363^6 and 2⋅36,2\cdot3^6, force a nonpositive first term, as do all larger choices. Hence k=486.k=486.

12.

Let mm be the smallest integer whose cube root has the form n+r,n+r, where nn is a positive integer and 0<r<11000.0<r<\frac{1}{1000}. Find n.n.
Answer: 19
Difficulty rating: 2110
Small hint:
For fixed n,n, the smallest possible integer is m=n3+1m=n^3+1
Big hint:
Compare n3+1n^3+1 with (n+0.001)3(n+0.001)^3
Solution:
For a given n,n, the closest integer cube-root candidate above nn is m=n3+1.m=n^3+1. We need n3+1<(n+0.001)3,n^3+1<(n+0.001)^3, or 1<0.003n2+0.000003n+10−9.1<0.003n^2+0.000003n+10^{-9}. This fails at n=18n=18 and holds at n=19.n=19. The right-hand side is increasing for positive n,n, so every smaller nn fails; every larger nn has a larger least candidate m=n3+1.m=n^3+1. Hence the smallest mm occurs with n=19.n=19.

13.

A given sequence r1,r_1, r2,r_2, …,\ldots, rnr_n of distinct real numbers can be put in ascending order by means of one or more “bubble passes.” A bubble pass through a given sequence consists of comparing the second term with the first term, and exchanging them if and only if the second term is smaller, then comparing the third term with the second term and exchanging them if and only if the third term is smaller, and so on in order, through comparing the last term, rn,r_n, with its current predecessor and exchanging them if and only if the last term is smaller.
The example below shows how the sequence 1,1, 9,9, 8,8, 77 is transformed into the sequence 1,1, 8,8, 7,7, 99 by one bubble pass. The numbers compared at each step are underlined.
1‾9‾8719‾8‾7189‾7‾1879\begin{aligned} \underline{1}\quad\underline{9}\quad8\quad7\\ 1\quad\underline{9}\quad\underline{8}\quad7\\ 1\quad8\quad\underline{9}\quad\underline{7}\\ 1\quad8\quad7\quad9 \end{aligned}
Suppose that n=40,n=40, and that the terms of the initial sequence r1,r_1, r2,r_2, …,\ldots, r40r_{40} are distinct from one another and are in random order. Let pq,\frac{p}{q}, in lowest terms, be the probability that the number that begins as r20r_{20} will end up, after one bubble pass, in the 3030th place. Find p+q.p+q.
Answer: 931
Difficulty rating: 2450
Small hint:
After the comparison reaching position j,j, that position holds the maximum of the first jj original terms
Big hint:
Characterize the relative ranks of r20r_{20} and r31r_{31} among the first 3131 terms
Solution:
For r20r_{20} to move right to position 30,30, it must exceed every other term among r1,…,r30.r_1,\ldots,r_{30}. It stops at position 3030 exactly when r31>r20.r_{31}>r_{20}. Thus among the first 3131 terms, r31r_{31} must be greatest and r20r_{20} second greatest. These two ordered rank assignments have probability 131⋅130=1930.\frac1{31}\cdot\frac1{30}=\frac1{930}. Therefore p+q=1+930=931.p+q=1+930=931.

14.

Compute (104+324)(224+324)⋅(344+324)(464+324)⋅(584+324)(44+324)(164+324)⋅(284+324)(404+324)⋅(524+324).\frac{\begin{gathered}(10^4+324)(22^4+324)\\{}\cdot(34^4+324)(46^4+324)\\{}\cdot(58^4+324)\end{gathered}}{\begin{gathered}(4^4+324)(16^4+324)\\{}\cdot(28^4+324)(40^4+324)\\{}\cdot(52^4+324)\end{gathered}}.
Answer: 373
Difficulty rating: 2380
Small hint:
Use Sophie Germain’s identity with 324=4⋅34324=4\cdot3^4
Big hint:
If g(x)=x2+6x+18,g(x)=x^2+6x+18, rewrite x4+324x^4+324 as g(x−6)g(x)g(x-6)g(x)
Solution:
Let g(x)=x2+6x+18.g(x)=x^2+6x+18. Sophie Germain’s identity gives x4+324=g(x−6)g(x).x^4+324=g(x-6)g(x). The numerator therefore supplies g(4),g(10),…,g(58),g(4),g(10),\ldots,g(58), while the denominator supplies g(−2),g(4),…,g(52).g(-2),g(4),\ldots,g(52). Everything cancels except g(58)g(−2)=582+6(58)+184−12+18=373010=373.\begin{aligned}\frac{g(58)}{g(-2)}&=\frac{58^2+6(58)+18}{4-12+18}\\&=\frac{3730}{10}=373.\end{aligned}

15.

Squares S1,S_1, S2S_2 are inscribed in right triangle ABCABC as shown. Find AC+CBAC+CB if area⁡(S1)=441\operatorname{area}(S_1)=441 and area⁡(S2)=440.\operatorname{area}(S_2)=440.
Answer: 462
Difficulty rating: 2450
Small hint:
Let the legs be aa and bb and use the first square to relate abab to a+ba+b
Big hint:
For the second square, use the altitude to the hypotenuse and similar cross-sections
Solution:
Put p=a+b,p=a+b, q=ab,q=ab, and let the hypotenuse be c.c. Since S1S_1 has side 21,21, the standard leg-aligned-square relation gives 21=aba+b,21=\frac{ab}{a+b}, so q=21p.q=21p. Hence c2=p2−2q=p(p−42).c^2=p^2-2q=p(p-42).
The altitude to the hypotenuse is h=qc.h=\frac{q}{c}. If the side of S2S_2 is t,t, similarity gives t=chc+h.t=\frac{ch}{c+h}. Substitution simplifies this to t=21cp−21.t=\frac{21c}{p-21}. Therefore 440=441p(p−42)(p−21)2.440=\frac{441p(p-42)}{(p-21)^2}. Since p(p−42)=(p−21)2−441,p(p-42)=(p-21)^2-441, this becomes 440=441(1−441(p−21)2).440=441\left(1-\frac{441}{(p-21)^2}\right). Thus (p−21)2=4412,(p-21)^2=441^2, and p>42p>42 gives p=462.p=462.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.