1988 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.

One commercially available ten-button lock may be opened by depressing—in any order—the correct five buttons. One sample has {1,2,3,6,9}\{1,2,3,6,9\} as its combination. Suppose that these locks are redesigned so that sets of as many as nine buttons or as few as one button could serve as combinations. How many additional combinations would this allow?
Answer: 770
Concepts:combinationssubsetscomplementary counting
Small hint:
Count all nonempty proper subsets of the ten buttons
Big hint:
Subtract the five-button combinations that the original design already allowed
Solution:
The redesigned lock permits every nonempty subset except the full set, giving 210−2=10222^{10}-2=1022 combinations. The original lock permits (105)=252.\binom{10}{5}=252. Thus the number of additional combinations is 1022−252=770.1022-252=770.

2.

For any positive integer k,k, let f1(k)f_1(k) denote the square of the sum of the digits of k.k. For n≥2,n\geq2, let fn(k)=f1(fn−1(k)).f_n(k)=f_1(f_{n-1}(k)). Find f1988(11).f_{1988}(11).
Answer: 169
Difficulty rating: 1690
Small hint:
Compute the first several iterates until a value repeats
Big hint:
After the transient values, the sequence alternates between two numbers
Solution:
The iterates begin 4,4, 16,16, 49,49, 169,169, 256,256, followed by 169,169, 256,256, ….\ldots. Thus from the fourth iterate onward, even indices give 169169 and odd indices give 256.256. Since 19881988 is even, f1988(11)=169.f_{1988}(11)=169.

3.

Find (log⁡2x)2(\log_2 x)^2 if log⁡2(log⁡8x)=log⁡8(log⁡2x).\log_2(\log_8 x)=\log_8(\log_2 x).
Answer: 27
Difficulty rating: 1860
Small hint:
Set y=log⁡2xy=\log_2x and rewrite every base-88 logarithm in base 22
Big hint:
Solve the resulting linear equation for log⁡2y\log_2 y
Solution:
Put y=log⁡2x>0.y=\log_2x\gt0. Since log⁡8x=y3,\log_8x=\frac{y}{3}, the equation becomes log⁡2(y3)=13log⁡2y.\log_2(\frac{y}{3})=\frac13\log_2y. Hence 23log⁡2y=log⁡23,\frac23\log_2y=\log_23, so y=332=33.y=3^{\frac{3}{2}}=3\sqrt3. Therefore (log⁡2x)2=y2=27.(\log_2x)^2=y^2=27.

4.

Suppose that ∣xi∣<1|x_i|\lt1 for i=1,i=1, 2,2, …,\ldots, n.n. Suppose further that
∣x1∣+∣x2∣+⋯+∣xn∣=19+∣x1+x2+⋯+xn∣.\begin{aligned}&|x_1|+|x_2|+\cdots+|x_n|\\&=19+\bigl|x_1+x_2\\&\qquad+\cdots+x_n\bigr|.\end{aligned}
What is the smallest possible value of n?n?
Answer: 20
Difficulty rating: 1920
Small hint:
Let PP be the sum of the positive terms and NN the sum of the absolute values of the negative terms
Big hint:
The left side minus the final absolute value equals 2min⁡(P,N)2\min(P,N)
Solution:
Let PP be the sum of the positive xix_i and NN the sum of the absolute values of the negative xi.x_i. Then P+N−∣P−N∣=2min⁡(P,N)=19,\begin{aligned}P+N-|P-N|&=2\min(P,N)\\&=19,\end{aligned} so both PP and NN are at least 9.5.9.5. Because every ∣xi∣<1,|x_i|\lt1, each sign requires at least 1010 terms, giving n≥20.n\geq20. Equality is attainable with ten terms equal to 0.950.95 and ten equal to −0.95,-0.95, so the minimum is 20.20.

5.

Let mn,\frac{m}{n}, in lowest terms, be the probability that a randomly chosen positive divisor of 109910^{99} is an integer multiple of 1088.10^{88}. Find m+n.m+n.
Answer: 634
Small hint:
Write every divisor as 2a5b2^a5^b
Big hint:
Count exponent pairs with a≥88a\geq88 and b≥88b\geq88 and reduce the resulting probability
Solution:
Every divisor is 2a5b2^a5^b with 0≤a≤990\leq a\leq99 and 0≤b≤99,0\leq b\leq99, so there are 1002=10000100^2=10000 divisors. A multiple of 108810^{88} requires 88≤a≤9988\leq a\leq99 and 88≤b≤99,88\leq b\leq99, giving 122=14412^2=144 divisors. The probability is 14410000=9625,\frac{144}{10000}=\frac{9}{625}, and m+n=9+625=634.m+n=9+625=634.

6.

It is possible to place positive integers into the vacant twenty-one squares of the 5×55\times5 square shown below so that the numbers in each row and column form arithmetic sequences. Find the number that must occupy the vacant square marked by the asterisk (∗).(*).
Answer: 142
Small hint:
Index the rows and columns from 00 through 44
Big hint:
A grid whose rows and columns are arithmetic has the form A+Bi+Cj+DijA+Bi+Cj+Dij
Solution:
Index rows and columns from 00 to 4.4. The row and column conditions give the general entry A+Bi+Cj+Dij.A+Bi+Cj+Dij. The four shown values yield A+4B=0,A+B+C+D=74,A+2B+4C+8D=186,A+3B+2C+6D=103.\begin{aligned}A+4B&=0,\\A+B+C+D&=74,\\A+2B+4C+8D&=186,\\A+3B+2C+6D&=103.\end{aligned} Solving gives A=52,A=52, B=−13,B=-13, C=30,C=30, and D=5.D=5. The asterisk is at (i,j)=(0,3),(i,j)=(0,3), so its value is A+3C=52+90=142.A+3C=52+90=142.

7.

In triangle ABC,ABC, tan⁡∠CAB=227,\tan\angle CAB=\frac{22}{7}, and the altitude from AA divides BCBC into segments of length 33 and 17.17. What is the area of triangle ABC?ABC?
Answer: 110
Difficulty rating: 1870
Small hint:
Let the altitude have length hh and place its foot at the origin
Big hint:
Use cross product over dot product to express the tangent of the angle between the two side vectors
Solution:
Let the altitude length be h.h. From A,A, vectors to the endpoints of BCBC may be taken as (−3,−h)(-3,-h) and (17,−h).(17,-h). Therefore tan⁡∠CAB=20hh2−51=227.\tan\angle CAB=\frac{20h}{h^2-51}=\frac{22}{7}. Thus 11h2−70h−561=0,11h^2-70h-561=0, whose positive root is h=11.h=11. Since BC=3+17=20,BC=3+17=20, the area is 12(20)(11)=110.\frac12(20)(11)=110.

8.

The function f,f, defined on the set of ordered pairs of positive integers, satisfies the following properties:
f(x,x)=x,f(x,y)=f(y,x),(x+y)f(x,y)=yf(x,x+y).\begin{gathered}f(x,x)=x,\\f(x,y)=f(y,x),\\(x+y)f(x,y)=yf(x,x+y).\end{gathered}
Calculate f(14,52).f(14,52).
Answer: 364
Small hint:
Apply the third property to (x,y−x)(x,y-x) when y>xy\gt x
Big hint:
Compare the resulting subtraction rule with the same rule for lcm⁡(x,y)\operatorname{lcm}(x,y)
Solution:
For y>x,y\gt x, the third property applied to (x,y−x)(x,y-x) gives f(x,y)=yy−xf(x,y−x).f(x,y)=\frac{y}{y-x}f(x,y-x). The least common multiple obeys the identical relation, because gcd⁡(x,y)=gcd⁡(x,y−x).\gcd(x,y)=\gcd(x,y-x). Hence the quotient f(x,y)lcm⁡(x,y)\frac{f(x,y)}{\operatorname{lcm}(x,y)} is unchanged by each subtraction step of the Euclidean algorithm. On the diagonal it equals f(g,g)g=1,\frac{f(g,g)}{g}=1, so f(x,y)=lcm⁡(x,y).f(x,y)=\operatorname{lcm}(x,y). Therefore f(14,52)=14⋅52gcd⁡(14,52)=364.\begin{aligned}f(14,52)&=\frac{14\cdot52}{\gcd(14,52)}\\&=364.\end{aligned}

9.

Find the smallest positive integer whose cube ends in 888.888.
Answer: 192
Difficulty rating: 1880
Small hint:
The units digit forces the number to have the form 10a+210a+2
Big hint:
Reduce (10a+2)3≡888(mod1000)(10a+2)^3\equiv888\pmod{1000} first modulo 125125
Solution:
Write the number as 10a+2.10a+2. Expanding the required congruence modulo 125125 and dividing by 55 gives 20a2−a−1≡0(mod25).20a^2-a-1\equiv0\pmod{25}. Reducing first modulo 55 gives a≡4(mod5);a\equiv4\pmod5; substituting a=4+5ba=4+5b then gives b≡3(mod5).b\equiv3\pmod5. Thus a≡19(mod25),a\equiv19\pmod{25}, and the smallest candidate is 10(19)+2=192.10(19)+2=192. It is even, so its cube is also 0(mod8),0\pmod8, and indeed 1923=7,077,888.192^3=7{,}077{,}888.

10.

A convex polyhedron has for its faces 1212 squares, 88 regular hexagons, and 66 regular octagons. At each vertex of the polyhedron one square, one hexagon, and one octagon meet. How many segments joining vertices of the polyhedron lie in the interior of the polyhedron rather than along an edge or a face?
Answer: 840
Difficulty rating: 2170
Small hint:
Double-count face-vertex and face-edge incidences to find VV and EE
Big hint:
Count all vertex pairs, then subtract pairs lying together on a face, correcting the double count of edges
Solution:
The total number of face-vertex incidences is 12(4)+8(6)+6(8)=144.12(4)+8(6)+6(8)=144. Three faces meet at each vertex, so V=48.V=48. The same sum counts each edge twice, so E=72.E=72.
There are (482)=1128\binom{48}{2}=1128 vertex pairs. Summing pairs on faces gives 12(42)+8(62)+6(82)=360.12\binom42+8\binom62+6\binom82=360. Every edge was counted twice in this sum and every other same-face pair once, so the number of distinct boundary pairs is 360−E=288.360-E=288. Hence 1128−288=8401128-288=840 joining segments lie in the interior.

11.

Let w1,w_1, w2,w_2, …,\ldots, wnw_n be complex numbers. A line LL in the complex plane is called a mean line for the points w1,w_1, w2,w_2, …,\ldots, wnw_n if LL contains points (complex numbers) z1,z_1, z2,z_2, …,\ldots, znz_n such that
∑k=1n(zk−wk)=0.\sum_{k=1}^n(z_k-w_k)=0.
For the numbers w1=32+170i,w_1=32+170i, w2=−7+64i,w_2=-7+64i, w3=−9+200i,w_3=-9+200i, w4=1+27i,w_4=1+27i, and w5=−14+43i,w_5=-14+43i, there is a unique mean line with yy-intercept 3.3. Find the slope of this mean line.
Answer: 163
Difficulty rating: 1970
Small hint:
Average the equation ∑(zk−wk)=0\sum(z_k-w_k)=0
Big hint:
A mean line is exactly a line through the centroid of the given points
Solution:
The condition says that the average of the zkz_k equals the average of the wk.w_k. Since all zkz_k lie on L,L, their average lies on L;L; conversely, any line through the average works by taking all zkz_k equal to that point. The centroid satisfies xˉ=32−7−9+1−145=35,yˉ=170+64+200+27+435=5045.\begin{aligned}\bar x&=\frac{32-7-9+1-14}{5}=\frac35,\\\bar y&=\frac{170+64+200+27+43}{5}\\&=\frac{504}{5}.\end{aligned} The line through this point and (0,3)(0,3) has slope (5045−3)35=163.\frac{\bigl(\frac{504}{5}-3\bigr)}{\frac35}=163.

12.

Let PP be an interior point of triangle ABCABC and extend lines from the vertices through PP to the opposite sides. Let a,a, b,b, c,c, and dd denote the lengths of the segments indicated in the figure. Find the product abcabc if a+b+c=43a+b+c=43 and d=3.d=3.
Answer: 441
Small hint:
Express the three barycentric coordinates of PP using the ratios a:d,a:d, b:d,b:d, c:dc:d
Big hint:
Use 3a+3+3b+3+3c+3=1\frac3{a+3}+\frac3{b+3}+\frac3{c+3}=1 and expand symmetrically
Solution:
Along the cevian from A,A, the barycentric coordinate at AA is da+d,\frac{d}{a+d}, and similarly at the other vertices. Since the three coordinates sum to 11 and d=3,d=3, 3a+3+3b+3+3c+3=1.\frac3{a+3}+\frac3{b+3}+\frac3{c+3}=1. Put s1=a+b+c=43,s_1=a+b+c=43, s2=ab+bc+ca,s_2=ab+bc+ca, and s3=abc.s_3=abc. Clearing denominators gives 3(s2+6s1+27)=s3+3s2+9s1+27.\begin{aligned}3(s_2+6s_1+27)&=s_3+3s_2\\&\quad+9s_1+27.\end{aligned} Therefore s3=9s1+54,s_3=9s_1+54, so s3=9(43)+54=441.s_3=9(43)+54=441.

13.

Find aa if aa and bb are integers such that x2−x−1x^2-x-1 is a factor of ax17+bx16+1.ax^{17}+bx^{16}+1.
Answer: 987
Difficulty rating: 2380
Small hint:
Modulo x2−x−1,x^2-x-1, powers satisfy xn=Fnx+Fn−1x^n=F_nx+F_{n-1}
Big hint:
Set both coefficients of the linear remainder equal to zero and use Cassini’s identity
Solution:
Modulo x2−x−1,x^2-x-1, the relation x2=x+1x^2=x+1 gives xn=Fnx+Fn−1.x^n=F_nx+F_{n-1}. Hence the remainder is r(x)=(1597a+987b)x+(987a+610b+1).\begin{aligned}r(x)={}&(1597a+987b)x\\&+(987a+610b+1).\end{aligned} Both coefficients must vanish. The determinant of the coefficient matrix is 1597(610)−9872=11597(610)-987^2=1 by Cassini’s identity. Cramer’s rule then gives a=987.a=987.

14.

Let CC be the graph of xy=1,xy=1, and denote by C∗C^* the reflection of CC in the line y=2x.y=2x. Let the equation of C∗C^* be written in the form
12x2+bxy+cy2+d=0.12x^2+bxy+cy^2+d=0.
Find the product bc.bc.
Answer: 84
Difficulty rating: 2170
Small hint:
Find the reflection matrix for the line spanned by (1,2)(1,2)
Big hint:
Because reflection is its own inverse, substitute the reflected coordinates into uv=1uv=1
Solution:
Reflection in the line spanned by (1,2)(1,2) has matrix 15(−3443).\frac15\begin{pmatrix}-3&4\\4&3\end{pmatrix}. Thus a point (x,y)(x,y) on C∗C^* came from u=−3x+4y5u=\frac{-3x+4y}{5} and v=4x+3y5v=\frac{4x+3y}{5} on C.C. Substituting uv=1uv=1 gives −12x2+7xy+12y2−25=0,-12x^2+7xy+12y^2-25=0, or 12x2−7xy−12y2+25=0.12x^2-7xy-12y^2+25=0. Hence b=−7,b=-7, c=−12,c=-12, and bc=84.bc=84.

15.

In an office at various times during the day, the boss gives the secretary a letter to type, each time putting the letter on top of the pile in the secretary’s in-box. When there is time, the secretary takes the top letter off the pile and types it. There are nine letters to be typed during the day, and the boss delivers them in the order 1,1, 2,2, 3,3, 4,4, 5,5, 6,6, 7,7, 8,8, 9.9.
While leaving for lunch, the secretary tells a colleague that letter 88 has already been typed, but says nothing else about the morning’s typing. The colleague wonders which of the nine letters remain to be typed after lunch and in what order they will be typed. Based upon the above information, how many such after-lunch typing orders are possible? (That there are no letters left to be typed is one of the possibilities.)
Answer: 704
Small hint:
After 88 has been typed, any remaining letters among 1,…,71,\ldots,7 must later be typed in decreasing order
Big hint:
Separate the cases according to whether 99 was typed before lunch or remains to be inserted into the later order
Solution:
Any subset of 1,…,71,\ldots,7 can remain in the stack after 88 has been typed, and those remaining letters must later be typed in decreasing order. If 99 was already typed, choosing that subset gives 27=1282^7=128 possible orders.
If 99 remains, choose kk of the seven smaller letters and insert 99 into any of the k+1k+1 positions in their decreasing order. This gives ∑k=07(7k)(k+1)=7⋅26+27=576.\begin{aligned}\sum_{k=0}^7\binom7k(k+1)&=7\cdot2^6+2^7\\&=576.\end{aligned} Every such order can be realized by suitable morning choices, so the total is 128+576=704.128+576=704.
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.