[
 {
  "id": "AIME2009-I4",
  "source": "AIME 1983-2023",
  "problem": "In parallelogram $ABCD$ , point $M$ is on $\\overline{AB}$ so that $\\frac {AM}{AB} = \\frac {17}{1000}$ and point $N$ is on $\\overline{AD}$ so that $\\frac {AN}{AD} = \\frac {17}{2009}$ . Let $P$ be the point of intersection of $\\overline{AC}$ and $\\overline{MN}$ . Find $\\frac {AC}{AP}$ .",
  "answer": "177"
 },
 {
  "id": "AIME1989-2",
  "source": "AIME 1983-2023",
  "problem": "Ten points are marked on a circle. How many distinct convex polygons of three or more sides can be drawn using some (or all) of the ten points as vertices? ",
  "answer": "968"
 },
 {
  "id": "AIME1998-9",
  "source": "AIME 1983-2023",
  "problem": "Two mathematicians take a morning coffee break each day.  They arrive at the cafeteria independently, at random times between 9 a.m. and 10 a.m., and stay for exactly $m$ minutes.  The probability that either one arrives while the other is in the cafeteria is $40 \\%,$ and $m = a - b\\sqrt {c},$ where $a, b,$ and $c$ are positive integers , and $c$ is not divisible by the square of any prime .  Find $a + b + c.$",
  "answer": "87"
 },
 {
  "id": "AIME2021-II14",
  "source": "AIME 1983-2023",
  "problem": "Let $\\Delta ABC$ be an acute triangle with circumcenter $O$ and centroid $G$ . Let $X$ be the intersection of the line tangent to the circumcircle of $\\Delta ABC$ at $A$ and the line perpendicular to $GO$ at $G$ . Let $Y$ be the intersection of lines $XG$ and $BC$ . Given that the measures of $\\angle ABC, \\angle BCA,$ and $\\angle XOY$ are in the ratio $13 : 2 : 17,$ the degree measure of $\\angle BAC$ can be written as $\\frac{m}{n},$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "592"
 },
 {
  "id": "AIME1987-14",
  "source": "AIME 1983-2023",
  "problem": "Compute \\[\\frac{(10^4+324)(22^4+324)(34^4+324)(46^4+324)(58^4+324)}{(4^4+324)(16^4+324)(28^4+324)(40^4+324)(52^4+324)}.\\]",
  "answer": "373"
 },
 {
  "id": "AIME2022-II5",
  "source": "AIME 1983-2023",
  "problem": "Twenty distinct points are marked on a circle and labeled $1$ through $20$ in clockwise order. A line segment is drawn between every pair of points whose labels differ by a prime number. Find the number of triangles formed whose vertices are among the original $20$ points.",
  "answer": "72"
 },
 {
  "id": "AIME2017-II6",
  "source": "AIME 1983-2023",
  "problem": "Find the sum of all positive integers $n$ such that $\\sqrt{n^2+85n+2017}$ is an integer.",
  "answer": "195"
 },
 {
  "id": "AIME2022-I15",
  "source": "AIME 1983-2023",
  "problem": "Let $x,$ $y,$ and $z$ be positive real numbers satisfying the system of equations: \\begin{align*} \\sqrt{2x-xy} + \\sqrt{2y-xy} &= 1 \\\\ \\sqrt{2y-yz} + \\sqrt{2z-yz} &= \\sqrt2 \\\\ \\sqrt{2z-zx} + \\sqrt{2x-zx} &= \\sqrt3. \\end{align*} Then $\\left[ (1-x)(1-y)(1-z) \\right]^2$ can be written as $\\frac{m}{n},$ where $m$ and $n$ are relatively prime positive integers. Find $m+n.$",
  "answer": "33"
 },
 {
  "id": "AIME2010-II15",
  "source": "AIME 1983-2023",
  "problem": "In triangle $ABC$ , $AC=13$ , $BC=14$ , and $AB=15$ . Points $M$ and $D$ lie on $AC$ with $AM=MC$ and $\\angle ABD = \\angle DBC$ . Points $N$ and $E$ lie on $AB$ with $AN=NB$ and $\\angle ACE = \\angle ECB$ . Let $P$ be the point, other than $A$ , of intersection of the circumcircles of $\\triangle AMN$ and $\\triangle ADE$ . Ray $AP$ meets $BC$ at $Q$ . The ratio $\\frac{BQ}{CQ}$ can be written in the form $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m-n$ .",
  "answer": "218"
 },
 {
  "id": "AIME2004-II4",
  "source": "AIME 1983-2023",
  "problem": "How many positive integers less than 10,000 have at most two different digits?",
  "answer": "927"
 },
 {
  "id": "AIME2022-II9",
  "source": "AIME 1983-2023",
  "problem": "Let $\\ell_A$ and $\\ell_B$ be two distinct parallel lines. For positive integers $m$ and $n$ , distinct points $A_1, A_2, \\allowbreak A_3, \\allowbreak \\ldots, \\allowbreak A_m$ lie on $\\ell_A$ , and distinct points $B_1, B_2, B_3, \\ldots, B_n$ lie on $\\ell_B$ . Additionally, when segments $\\overline{A_iB_j}$ are drawn for all $i=1,2,3,\\ldots, m$ and $j=1,\\allowbreak 2,\\allowbreak 3, \\ldots, \\allowbreak n$ , no point strictly between $\\ell_A$ and $\\ell_B$ lies on more than two of the segments. Find the number of bounded regions into which this figure divides the plane when $m=7$ and $n=5$ . The figure shows that there are 8 regions when $m=3$ and $n=2$ . [asy] import geometry; size(10cm); draw((-2,0)--(13,0)); draw((0,4)--(10,4)); label(\"$\\ell_A$\",(-2,0),W); label(\"$\\ell_B$\",(0,4),W); point A1=(0,0),A2=(5,0),A3=(11,0),B1=(2,4),B2=(8,4),I1=extension(B1,A2,A1,B2),I2=extension(B1,A3,A1,B2),I3=extension(B1,A3,A2,B2); draw(B1--A1--B2); draw(B1--A2--B2); draw(B1--A3--B2); label(\"$A_1$\",A1,S); label(\"$A_2$\",A2,S); label(\"$A_3$\",A3,S); label(\"$B_1$\",B1,N); label(\"$B_2$\",B2,N); label(\"1\",centroid(A1,B1,I1)); label(\"2\",centroid(B1,I1,I3)); label(\"3\",centroid(B1,B2,I3)); label(\"4\",centroid(A1,A2,I1)); label(\"5\",(A2+I1+I2+I3)/4); label(\"6\",centroid(B2,I2,I3)); label(\"7\",centroid(A2,A3,I2)); label(\"8\",centroid(A3,B2,I2)); dot(A1); dot(A2); dot(A3); dot(B1); dot(B2); [/asy]",
  "answer": "244"
 },
 {
  "id": "AIME2015-I13",
  "source": "AIME 1983-2023",
  "problem": "With all angles measured in degrees, the product $\\prod_{k=1}^{45} \\csc^2(2k-1)^\\circ=m^n$ , where $m$ and $n$ are integers greater than 1. Find $m+n$ .",
  "answer": "91"
 },
 {
  "id": "AIME2013-I11",
  "source": "AIME 1983-2023",
  "problem": "Ms. Math's kindergarten class has $16$ registered students. The classroom has a very large number, $N$ , of play blocks which satisfies the conditions: (a) If $16$ , $15$ , or $14$ students are present in the class, then in each case all the blocks can be distributed in equal numbers to each student, and (b) There are three integers $0 < x < y < z < 14$ such that when $x$ , $y$ , or $z$ students are present and the blocks are distributed in equal numbers to each student, there are exactly three blocks left over. Find the sum of the distinct prime divisors of the least possible value of $N$ satisfying the above conditions.",
  "answer": "148"
 },
 {
  "id": "AIME2000-I4",
  "source": "AIME 1983-2023",
  "problem": "The diagram shows a rectangle that has been dissected into nine non-overlapping squares. Given that the width and the height of the rectangle are relatively prime positive integers, find the perimeter of the rectangle. [asy]defaultpen(linewidth(0.7)); draw((0,0)--(69,0)--(69,61)--(0,61)--(0,0));draw((36,0)--(36,36)--(0,36)); draw((36,33)--(69,33));draw((41,33)--(41,61));draw((25,36)--(25,61)); draw((34,36)--(34,45)--(25,45)); draw((36,36)--(36,38)--(34,38)); draw((36,38)--(41,38)); draw((34,45)--(41,45));[/asy]",
  "answer": "260"
 },
 {
  "id": "AIME2014-I5",
  "source": "AIME 1983-2023",
  "problem": "Let the set $S = \\{P_1, P_2, \\dots, P_{12}\\}$ consist of the twelve vertices of a regular $12$ -gon. A subset $Q$ of $S$ is called communal if there is a circle such that all points of $Q$ are inside the circle, and all points of $S$ not in $Q$ are outside of the circle. How many communal subsets are there? (Note that the empty set is a communal subset.)",
  "answer": "134"
 },
 {
  "id": "AIME2014-II14",
  "source": "AIME 1983-2023",
  "problem": "In $\\triangle ABC$ , $AB=10$ , $\\measuredangle A=30^{\\circ}$ , and $\\measuredangle C=45^{\\circ}$ . Let $H$ , $D$ , and $M$ be points on line $\\overline{BC}$ such that $AH\\perp BC$ , $\\measuredangle BAD=\\measuredangle CAD$ , and $BM=CM$ . Point $N$ is the midpoint of segment $HM$ , and point $P$ is on ray $AD$ such that $PN\\perp BC$ . Then $AP^2=\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "77"
 },
 {
  "id": "AIME2011-I3",
  "source": "AIME 1983-2023",
  "problem": "Let $L$ be the line with slope $\\frac{5}{12}$ that contains the point $A = (24,-1)$ , and let $M$ be the line perpendicular to line $L$ that contains the point $B = (5,6)$ .  The original coordinate axes are erased, and line $L$ is made the $x$ -axis and line $M$ the $y$ -axis.  In the new coordinate system, point $A$ is on the positive $x$ -axis, and point $B$ is on the positive $y$ -axis.  The point $P$ with coordinates $(-14,27)$ in the original system has coordinates $(\\alpha,\\beta)$ in the new coordinate system.  Find $\\alpha + \\beta$ .",
  "answer": "31"
 },
 {
  "id": "AIME2008-I13",
  "source": "AIME 1983-2023",
  "problem": "Let $p(x,y) = a_0 + a_1x + a_2y + a_3x^2 + a_4xy + a_5y^2 + a_6x^3 + a_7x^2y + a_8xy^2 + a_9y^3$ . Suppose that $p(0,0) = p(1,0) = p( - 1,0) = p(0,1) = p(0, - 1) = p(1,1) = p(1, - 1) = p(2,2) = 0$ . There is a point $\\left(\\frac {a}{c},\\frac {b}{c}\\right)$ for which $p\\left(\\frac {a}{c},\\frac {b}{c}\\right) = 0$ for all such polynomials, where $a$ , $b$ , and $c$ are positive integers, $a$ and $c$ are relatively prime, and $c > 1$ .  Find $a + b + c$ .",
  "answer": "40"
 },
 {
  "id": "AIME2001-I2",
  "source": "AIME 1983-2023",
  "problem": "A finite set $\\mathcal{S}$ of distinct real numbers has the following properties: the mean of $\\mathcal{S}\\cup\\{1\\}$ is $13$ less than the mean of $\\mathcal{S}$ , and the mean of $\\mathcal{S}\\cup\\{2001\\}$ is $27$ more than the mean of $\\mathcal{S}$ . Find the mean of $\\mathcal{S}$ .",
  "answer": "651"
 },
 {
  "id": "AIME2020-II7",
  "source": "AIME 1983-2023",
  "problem": "Two congruent right circular cones each with base radius $3$ and height $8$ have axes of symmetry that intersect at right angles at a point in the interior of the cones a distance $3$ from the base of each cone. A sphere with radius $r$ lies within both cones. The maximum possible value of $r^2$ is $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "298"
 },
 {
  "id": "AIME1997-8",
  "source": "AIME 1983-2023",
  "problem": "How many different $4\\times 4$ arrays whose entries are all 1's and -1's have the property that the sum of the entries in each row is 0 and the sum of the entries in each column is 0?",
  "answer": "90"
 },
 {
  "id": "AIME1997-11",
  "source": "AIME 1983-2023",
  "problem": "Let $x=\\frac{\\sum\\limits_{n=1}^{44} \\cos n^\\circ}{\\sum\\limits_{n=1}^{44} \\sin n^\\circ}$ . What is the greatest integer that does not exceed $100x$ ?",
  "answer": "241"
 },
 {
  "id": "AIME2001-II1",
  "source": "AIME 1983-2023",
  "problem": "Let $N$ be the largest positive integer with the following property: reading from left to right, each pair of consecutive digits of $N$ forms a perfect square. What are the leftmost three digits of $N$ ? ",
  "answer": "816"
 },
 {
  "id": "AIME2003-I12",
  "source": "AIME 1983-2023",
  "problem": "In convex quadrilateral $ABCD, \\angle A \\cong \\angle C, AB = CD = 180,$ and $AD \\neq BC.$ The perimeter of $ABCD$ is 640. Find $\\lfloor 1000 \\cos A \\rfloor.$ (The notation $\\lfloor x \\rfloor$ means the greatest integer that is less than or equal to $x.$ )",
  "answer": "777"
 },
 {
  "id": "AIME2019-I1",
  "source": "AIME 1983-2023",
  "problem": "Consider the integer \\[N = 9 + 99 + 999 + 9999 + \\cdots + \\underbrace{99\\ldots 99}_\\text{321 digits}.\\] Find the sum of the digits of $N$ .",
  "answer": "342"
 },
 {
  "id": "AIME2015-II2",
  "source": "AIME 1983-2023",
  "problem": "In a new school, $40$ percent of the students are freshmen, $30$ percent are sophomores, $20$ percent are juniors, and $10$ percent are seniors. All freshmen are required to take Latin, and $80$ percent of sophomores, $50$ percent of the juniors, and $20$ percent of the seniors elect to take Latin. The probability that a randomly chosen Latin student is a sophomore is $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "25"
 },
 {
  "id": "AIME2005-II11",
  "source": "AIME 1983-2023",
  "problem": "Let $m$ be a positive integer, and let $a_0, a_1,\\ldots,a_m$ be a sequence of reals such that $a_0 = 37, a_1 = 72, a_m = 0,$ and $a_{k+1} = a_{k-1} - \\frac 3{a_k}$ for $k = 1,2,\\ldots, m-1.$ Find $m.$",
  "answer": "889"
 },
 {
  "id": "AIME2018-I4",
  "source": "AIME 1983-2023",
  "problem": "In $\\triangle ABC, AB = AC = 10$ and $BC = 12$ . Point $D$ lies strictly between $A$ and $B$ on $\\overline{AB}$ and point $E$ lies strictly between $A$ and $C$ on $\\overline{AC}$ so that $AD = DE = EC$ . Then $AD$ can be expressed in the form $\\dfrac{p}{q}$ , where $p$ and $q$ are relatively prime positive integers. Find $p+q$ .",
  "answer": "289"
 },
 {
  "id": "AIME2001-II15",
  "source": "AIME 1983-2023",
  "problem": "Let $EFGH$ , $EFDC$ , and $EHBC$ be three adjacent square faces of a cube, for which $EC = 8$ , and let $A$ be the eighth vertex of the cube. Let $I$ , $J$ , and $K$ , be the points on $\\overline{EF}$ , $\\overline{EH}$ , and $\\overline{EC}$ , respectively, so that $EI = EJ = EK = 2$ . A solid $S$ is obtained by drilling a tunnel through the cube. The sides of the tunnel are planes parallel to $\\overline{AE}$ , and containing the edges, $\\overline{IJ}$ , $\\overline{JK}$ , and $\\overline{KI}$ . The surface area of $S$ , including the walls of the tunnel, is $m + n\\sqrt {p}$ , where $m$ , $n$ , and $p$ are positive integers and $p$ is not divisible by the square of any prime. Find $m + n + p$ .",
  "answer": "417"
 },
 {
  "id": "AIME2007-I2",
  "source": "AIME 1983-2023",
  "problem": "A 100 foot long moving walkway moves at a constant rate of 6 feet per second.  Al steps onto the start of the walkway and stands.  Bob steps onto the start of the walkway two seconds later and strolls forward along the walkway at a constant rate of 4 feet per second.  Two seconds after that, Cy reaches the start of the walkway and walks briskly forward beside the walkway at a constant rate of 8 feet per second.  At a certain time, one of these three persons is exactly halfway between the other two.  At that time, find the distance in feet between the start of the walkway and the middle person.",
  "answer": "52"
 },
 {
  "id": "AIME2010-II2",
  "source": "AIME 1983-2023",
  "problem": "A point $P$ is chosen at random in the interior of a unit square $S$ . Let $d(P)$ denote the distance from $P$ to the closest side of $S$ . The probability that $\\frac{1}{5}\\le d(P)\\le\\frac{1}{3}$ is equal to $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "281"
 },
 {
  "id": "AIME2013-I9",
  "source": "AIME 1983-2023",
  "problem": "A paper equilateral triangle $ABC$ has side length $12$ . The paper triangle is folded so that vertex $A$ touches a point on side $\\overline{BC}$ a distance $9$ from point $B$ . The length of the line segment along which the triangle is folded can be written as $\\frac{m\\sqrt{p}}{n}$ , where $m$ , $n$ , and $p$ are positive integers, $m$ and $n$ are relatively prime, and $p$ is not divisible by the square of any prime. Find $m+n+p$ . [asy] import cse5; size(12cm); pen tpen = defaultpen + 1.337; real a = 39/5.0; real b = 39/7.0; pair B = MP(\"B\", (0,0), dir(200)); pair A = MP(\"A\", (9,0), dir(-80)); pair C = MP(\"C\", (12,0), dir(-20)); pair K = (6,10.392); pair M = (a*B+(12-a)*K) / 12; pair N = (b*C+(12-b)*K) / 12; draw(B--M--N--C--cycle, tpen); draw(M--A--N--cycle); fill(M--A--N--cycle, mediumgrey); pair shift = (-20.13, 0); pair B1 = MP(\"B\", B+shift, dir(200)); pair A1 = MP(\"A\", K+shift, dir(90)); pair C1 = MP(\"C\", C+shift, dir(-20)); draw(A1--B1--C1--cycle, tpen);[/asy]",
  "answer": "113"
 },
 {
  "id": "AIME2000-I10",
  "source": "AIME 1983-2023",
  "problem": "A sequence of numbers $x_{1},x_{2},x_{3},\\ldots,x_{100}$ has the property that, for every integer $k$ between $1$ and $100,$ inclusive, the number $x_{k}$ is $k$ less than the sum of the other $99$ numbers. Given that $x_{50} = \\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers, find $m + n$ .",
  "answer": "173"
 },
 {
  "id": "AIME2000-I2",
  "source": "AIME 1983-2023",
  "problem": "Let $u$ and $v$ be integers satisfying $0 < v < u$ . Let $A = (u,v)$ , let $B$ be the reflection of $A$ across the line $y = x$ , let $C$ be the reflection of $B$ across the y-axis, let $D$ be the reflection of $C$ across the x-axis, and let $E$ be the reflection of $D$ across the y-axis. The area of pentagon $ABCDE$ is $451$ . Find $u + v$ .",
  "answer": "21"
 },
 {
  "id": "AIME2006-I3",
  "source": "AIME 1983-2023",
  "problem": "Find the least positive integer such that when its leftmost digit is deleted, the resulting integer is $1/29$ of the original integer.",
  "answer": "725"
 },
 {
  "id": "AIME1984-8",
  "source": "AIME 1983-2023",
  "problem": "The equation $z^6+z^3+1=0$ has complex roots with argument $\\theta$ between $90^\\circ$ and $180^\\circ$ in the complex plane. Determine the degree measure of $\\theta$ .",
  "answer": "160"
 },
 {
  "id": "AIME2001-II13",
  "source": "AIME 1983-2023",
  "problem": "In quadrilateral $ABCD$ , $\\angle{BAD}\\cong\\angle{ADC}$ and $\\angle{ABD}\\cong\\angle{BCD}$ , $AB = 8$ , $BD = 10$ , and $BC = 6$ . The length $CD$ may be written in the form $\\frac {m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m + n$ .",
  "answer": "69"
 },
 {
  "id": "AIME2018-I3",
  "source": "AIME 1983-2023",
  "problem": "Kathy has $5$ red cards and $5$ green cards. She shuffles the $10$ cards and lays out $5$ of the cards in a row in a random order. She will be happy if and only if all the red cards laid out are adjacent and all the green cards laid out are adjacent. For example, card orders RRGGG, GGGGR, or RRRRR will make Kathy happy, but RRRGR will not. The probability that Kathy will be happy is $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m + n$ .",
  "answer": "157"
 },
 {
  "id": "AIME2004-I2",
  "source": "AIME 1983-2023",
  "problem": "Set $A$ consists of $m$ consecutive integers whose sum is $2m,$ and set $B$ consists of $2m$ consecutive integers whose sum is $m.$ The absolute value of the difference between the greatest element of $A$ and the greatest element of $B$ is 99. Find $m.$",
  "answer": "201"
 },
 {
  "id": "AIME1988-14",
  "source": "AIME 1983-2023",
  "problem": "Let $C$ be the graph of $xy = 1$ , and denote by $C^*$ the reflection of $C$ in the line $y = 2x$ . Let the equation of $C^*$ be written in the form \\[12x^2 + bxy + cy^2 + d = 0.\\] Find the product $bc$ .",
  "answer": "84"
 },
 {
  "id": "AIME2013-II12",
  "source": "AIME 1983-2023",
  "problem": "Let $S$ be the set of all polynomials of the form $z^3 + az^2 + bz + c$ , where $a$ , $b$ , and $c$ are integers. Find the number of polynomials in $S$ such that each of its roots $z$ satisfies either $|z| = 20$ or $|z| = 13$ .",
  "answer": "540"
 },
 {
  "id": "AIME2009-I11",
  "source": "AIME 1983-2023",
  "problem": "Consider the set of all triangles $OPQ$ where $O$ is the origin and $P$ and $Q$ are distinct points in the plane with nonnegative integer coordinates $(x,y)$ such that $41x + y = 2009$ . Find the number of such distinct triangles whose area is a positive integer.",
  "answer": "600"
 },
 {
  "id": "AIME1987-10",
  "source": "AIME 1983-2023",
  "problem": "Al walks down to the bottom of an escalator that is moving up and he counts 150 steps. His friend, Bob, walks up to the top of the escalator and counts 75 steps. If Al's speed of walking (in steps per unit time) is three times Bob's walking speed, how many steps are visible on the escalator at a given time? (Assume that this value is constant.)",
  "answer": "120"
 },
 {
  "id": "AIME1993-6",
  "source": "AIME 1983-2023",
  "problem": "What is the smallest positive integer than can be expressed as the sum of nine consecutive integers, the sum of ten consecutive integers, and the sum of eleven consecutive integers? ",
  "answer": "495"
 },
 {
  "id": "AIME1996-5",
  "source": "AIME 1983-2023",
  "problem": "Suppose that the roots of $x^3+3x^2+4x-11=0$ are $a$ , $b$ , and $c$ , and that the roots of $x^3+rx^2+sx+t=0$ are $a+b$ , $b+c$ , and $c+a$ . Find $t$ .",
  "answer": "23"
 },
 {
  "id": "AIME1997-9",
  "source": "AIME 1983-2023",
  "problem": "Given a nonnegative real number $x$ , let $\\langle x\\rangle$ denote the fractional part of $x$ ; that is, $\\langle x\\rangle=x-\\lfloor x\\rfloor$ , where $\\lfloor x\\rfloor$ denotes the greatest integer less than or equal to $x$ . Suppose that $a$ is positive, $\\langle a^{-1}\\rangle=\\langle a^2\\rangle$ , and $2<a^2<3$ . Find the value of $a^{12}-144a^{-1}$ .",
  "answer": "233"
 },
 {
  "id": "AIME2022-I2",
  "source": "AIME 1983-2023",
  "problem": "Find the three-digit positive integer $\\underline{a}\\,\\underline{b}\\,\\underline{c}$ whose representation in base nine is $\\underline{b}\\,\\underline{c}\\,\\underline{a}_{\\,\\text{nine}},$ where $a,$ $b,$ and $c$ are (not necessarily distinct) digits. ",
  "answer": "227"
 },
 {
  "id": "AIME1991-13",
  "source": "AIME 1983-2023",
  "problem": "A drawer contains a mixture of red socks and blue socks, at most 1991 in all. It so happens that, when two socks are selected randomly without replacement, there is a probability of exactly $\\frac{1}{2}$ that both are red or both are blue. What is the largest possible number of red socks in the drawer that is consistent with this data?",
  "answer": "990"
 },
 {
  "id": "AIME1992-11",
  "source": "AIME 1983-2023",
  "problem": "Lines $l_1^{}$ and $l_2^{}$ both pass through the origin and make first-quadrant angles of $\\frac{\\pi}{70}$ and $\\frac{\\pi}{54}$ radians, respectively, with the positive x-axis. For any line $l^{}_{}$ , the transformation $R(l)^{}_{}$ produces another line as follows: $l^{}_{}$ is reflected in $l_1^{}$ , and the resulting line is reflected in $l_2^{}$ . Let $R^{(1)}(l)=R(l)^{}_{}$ and $R^{(n)}(l)^{}_{}=R\\left(R^{(n-1)}(l)\\right)$ . Given that $l^{}_{}$ is the line $y=\\frac{19}{92}x^{}_{}$ , find the smallest positive integer $m^{}_{}$ for which $R^{(m)}(l)=l^{}_{}$ .",
  "answer": "945"
 },
 {
  "id": "AIME2018-II14",
  "source": "AIME 1983-2023",
  "problem": "The incircle $\\omega$ of triangle $ABC$ is tangent to $\\overline{BC}$ at $X$ . Let $Y \\neq X$ be the other intersection of $\\overline{AX}$ with $\\omega$ . Points $P$ and $Q$ lie on $\\overline{AB}$ and $\\overline{AC}$ , respectively, so that $\\overline{PQ}$ is tangent to $\\omega$ at $Y$ . Assume that $AP = 3$ , $PB = 4$ , $AC = 8$ , and $AQ = \\dfrac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "227"
 },
 {
  "id": "AIME2005-II15",
  "source": "AIME 1983-2023",
  "problem": "Let $w_1$ and $w_2$ denote the circles $x^2+y^2+10x-24y-87=0$ and $x^2 +y^2-10x-24y+153=0,$ respectively. Let $m$ be the smallest positive value of $a$ for which the line $y=ax$ contains the center of a circle that is externally tangent to $w_2$ and internally tangent to $w_1.$ Given that $m^2=\\frac pq,$ where $p$ and $q$ are relatively prime integers, find $p+q.$",
  "answer": "169"
 },
 {
  "id": "AIME2023-II9",
  "source": "AIME 1983-2023",
  "problem": "Circles $\\omega_1$ and $\\omega_2$ intersect at two points $P$ and $Q,$ and their common tangent line closer to $P$ intersects $\\omega_1$ and $\\omega_2$ at points $A$ and $B,$ respectively. The line parallel to $AB$ that passes through $P$ intersects $\\omega_1$ and $\\omega_2$ for the second time at points $X$ and $Y,$ respectively. Suppose $PX=10,$ $PY=14,$ and $PQ=5.$ Then the area of trapezoid $XABY$ is $m\\sqrt{n},$ where $m$ and $n$ are positive integers and $n$ is not divisible by the square of any prime. Find $m+n.$",
  "answer": "33"
 },
 {
  "id": "AIME1992-3",
  "source": "AIME 1983-2023",
  "problem": "A tennis player computes her win ratio by dividing the number of matches she has won by the total number of matches she has played. At the start of a weekend, her win ratio is exactly $0.500$ . During the weekend, she plays four matches, winning three and losing one. At the end of the weekend, her win ratio is greater than $.503$ . What's the largest number of matches she could've won before the weekend began?",
  "answer": "164"
 },
 {
  "id": "AIME2002-II8",
  "source": "AIME 1983-2023",
  "problem": "Find the least positive integer $k$ for which the equation $\\left\\lfloor\\frac{2002}{n}\\right\\rfloor=k$ has no integer solutions for $n$ . (The notation $\\lfloor x\\rfloor$ means the greatest integer less than or equal to $x$ .)",
  "answer": "49"
 },
 {
  "id": "AIME2002-I10",
  "source": "AIME 1983-2023",
  "problem": "In the diagram below, angle $ABC$ is a right angle. Point $D$ is on $\\overline{BC}$ , and $\\overline{AD}$ bisects angle $CAB$ . Points $E$ and $F$ are on $\\overline{AB}$ and $\\overline{AC}$ , respectively, so that $AE=3$ and $AF=10$ . Given that $EB=9$ and $FC=27$ , find the integer closest to the area of quadrilateral $DCFG$ . [asy] size(250); pair A=(0,12), E=(0,8), B=origin, C=(24*sqrt(2),0), D=(6*sqrt(2),0), F=A+10*dir(A--C), G=intersectionpoint(E--F, A--D); draw(A--B--C--A--D^^E--F); pair point=G+1*dir(250); label(\"$A$\", A, dir(point--A)); label(\"$B$\", B, dir(point--B)); label(\"$C$\", C, dir(point--C)); label(\"$D$\", D, dir(point--D)); label(\"$E$\", E, dir(point--E)); label(\"$F$\", F, dir(point--F)); label(\"$G$\", G, dir(point--G)); markscalefactor=0.1; draw(rightanglemark(A,B,C)); label(\"10\", A--F, dir(90)*dir(A--F)); label(\"27\", F--C, dir(90)*dir(F--C)); label(\"3\", (0,10), W); label(\"9\", (0,4), W); [/asy]",
  "answer": "148"
 },
 {
  "id": "AIME2010-I5",
  "source": "AIME 1983-2023",
  "problem": "Positive integers $a$ , $b$ , $c$ , and $d$ satisfy $a > b > c > d$ , $a + b + c + d = 2010$ , and $a^2 - b^2 + c^2 - d^2 = 2010$ . Find the number of possible values of $a$ .",
  "answer": "501"
 },
 {
  "id": "AIME2021-II7",
  "source": "AIME 1983-2023",
  "problem": "Let $a, b, c,$ and $d$ be real numbers that satisfy the system of equations \\begin{align*} a + b &= -3, \\\\ ab + bc + ca &= -4, \\\\ abc + bcd + cda + dab &= 14, \\\\ abcd &= 30. \\end{align*} There exist relatively prime positive integers $m$ and $n$ such that \\[a^2 + b^2 + c^2 + d^2 = \\frac{m}{n}.\\] Find $m + n$ .",
  "answer": "145"
 },
 {
  "id": "AIME2016-I5",
  "source": "AIME 1983-2023",
  "problem": "Anh read a book. On the first day she read $n$ pages in $t$ minutes, where $n$ and $t$ are positive integers. On the second day Anh read $n + 1$ pages in $t + 1$ minutes. Each day thereafter Anh read one more page than she read on the previous day, and it took her one more minute than on the previous day until she completely read the $374$ page book. It took her a total of $319$ minutes to read the book. Find $n + t$ .",
  "answer": "53"
 },
 {
  "id": "AIME2005-I5",
  "source": "AIME 1983-2023",
  "problem": "Robert has 4 indistinguishable gold coins and 4 indistinguishable silver coins. Each coin has an engraving of one face on one side, but not on the other. He wants to stack the eight coins on a table into a single stack so that no two adjacent coins are face to face. Find the number of possible distinguishable arrangements of the 8 coins.",
  "answer": "630"
 },
 {
  "id": "AIME2023-II15",
  "source": "AIME 1983-2023",
  "problem": "For each positive integer $n$ let $a_n$ be the least positive integer multiple of $23$ such that $a_n \\equiv 1 \\pmod{2^n}.$ Find the number of positive integers $n$ less than or equal to $1000$ that satisfy $a_n = a_{n+1}.$",
  "answer": "363"
 },
 {
  "id": "AIME2005-I11",
  "source": "AIME 1983-2023",
  "problem": "A semicircle with diameter $d$ is contained in a square whose sides have length 8. Given the maximum value of $d$ is $m - \\sqrt{n},$ find $m+n.$",
  "answer": "544"
 },
 {
  "id": "AIME2009-I9",
  "source": "AIME 1983-2023",
  "problem": "A game show offers a contestant three prizes A, B and C, each of which is worth a whole number of dollars from $\\text{\\textdollar}1$ to $\\text{\\textdollar}9999$ inclusive. The contestant wins the prizes by correctly guessing the price of each prize in the order A, B, C. As a hint, the digits of the three prices are given. On a particular day, the digits given were $1, 1, 1, 1, 3, 3, 3$ . Find the total number of possible guesses for all three prizes consistent with the hint.",
  "answer": "420"
 },
 {
  "id": "AIME2000-II13",
  "source": "AIME 1983-2023",
  "problem": "The equation $2000x^6+100x^5+10x^3+x-2=0$ has exactly two real roots, one of which is $\\frac{m+\\sqrt{n}}r$ , where $m$ , $n$ and $r$ are integers, $m$ and $r$ are relatively prime, and $r>0$ . Find $m+n+r$ .",
  "answer": "200"
 },
 {
  "id": "AIME1987-2",
  "source": "AIME 1983-2023",
  "problem": "What is the largest possible distance between two points, one on the sphere of radius 19 with center $(-2,-10,5),$ and the other on the sphere of radius 87 with center $(12,8,-16)$ ?",
  "answer": "137"
 },
 {
  "id": "AIME2006-II14",
  "source": "AIME 1983-2023",
  "problem": "Let $S_n$ be the sum of the reciprocals of the non-zero digits of the integers from $1$ to $10^n$ inclusive. Find the smallest positive integer $n$ for which $S_n$ is an integer.",
  "answer": "63"
 },
 {
  "id": "AIME2013-I15",
  "source": "AIME 1983-2023",
  "problem": "Let $N$ be the number of ordered triples $(A,B,C)$ of integers satisfying the conditions: (a) $0\\le A<B<C\\le99$ , (b) there exist integers $a$ , $b$ , and $c$ , and prime $p$ where $0\\le b<a<c<p$ , (c) $p$ divides $A-a$ , $B-b$ , and $C-c$ , and (d) each ordered triple $(A,B,C)$ and each ordered triple $(b,a,c)$ form arithmetic sequences. Find $N$ .",
  "answer": "272"
 },
 {
  "id": "AIME2019-II9",
  "source": "AIME 1983-2023",
  "problem": "Call a positive integer $n$ $k$ - pretty if $n$ has exactly $k$ positive divisors and $n$ is divisible by $k$ . For example, $18$ is $6$ -pretty. Let $S$ be the sum of the positive integers less than $2019$ that are $20$ -pretty. Find $\\tfrac{S}{20}$ .",
  "answer": "472"
 },
 {
  "id": "AIME1987-11",
  "source": "AIME 1983-2023",
  "problem": "Find the largest possible value of $k$ for which $3^{11}$ is expressible as the sum of $k$ consecutive positive integers.",
  "answer": "486"
 },
 {
  "id": "AIME2017-I4",
  "source": "AIME 1983-2023",
  "problem": "A pyramid has a triangular base with side lengths $20$ , $20$ , and $24$ . The three edges of the pyramid from the three corners of the base to the fourth vertex of the pyramid all have length $25$ . The volume of the pyramid is $m\\sqrt{n}$ , where $m$ and $n$ are positive integers, and $n$ is not divisible by the square of any prime. Find $m+n$ .",
  "answer": "803"
 },
 {
  "id": "AIME2018-II13",
  "source": "AIME 1983-2023",
  "problem": "Misha rolls a standard, fair six-sided die until she rolls 1-2-3 in that order on three consecutive rolls. The probability that she will roll the die an odd number of times is $\\dfrac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$ .",
  "answer": "647"
 },
 {
  "id": "AIME2019-II12",
  "source": "AIME 1983-2023",
  "problem": "For $n\\ge1$ call a finite sequence $(a_1,a_2,\\ldots,a_n)$ of positive integers progressive if $a_i<a_{i+1}$ and $a_i$ divides $a_{i+1}$ for $1\\le i\\le n-1$ . Find the number of progressive sequences such that the sum of the terms in the sequence is equal to $360.$",
  "answer": "47"
 },
 {
  "id": "AIME2023-II12",
  "source": "AIME 1983-2023",
  "problem": "In $\\triangle ABC$ with side lengths $AB = 13,$ $BC = 14,$ and $CA = 15,$ let $M$ be the midpoint of $\\overline{BC}.$ Let $P$ be the point on the circumcircle of $\\triangle ABC$ such that $M$ is on $\\overline{AP}.$ There exists a unique point $Q$ on segment $\\overline{AM}$ such that $\\angle PBQ = \\angle PCQ.$ Then $AQ$ can be written as $\\frac{m}{\\sqrt{n}},$ where $m$ and $n$ are relatively prime positive integers. Find $m+n.$",
  "answer": "247"
 },
 {
  "id": "AIME2007-I10",
  "source": "AIME 1983-2023",
  "problem": "In a $6 \\times 4$ grid ( $6$ rows, $4$ columns), $12$ of the $24$ squares are to be shaded so that there are two shaded squares in each row and three shaded squares in each column.  Let $N$ be the number of shadings with this property.  Find the remainder when $N$ is divided by $1000$ . AIME I 2007-10.png",
  "answer": "860"
 },
 {
  "id": "AIME2002-II6",
  "source": "AIME 1983-2023",
  "problem": "Find the integer that is closest to $1000\\sum_{n=3}^{10000}\\frac1{n^2-4}$ .",
  "answer": "521"
 },
 {
  "id": "AIME2012-II7",
  "source": "AIME 1983-2023",
  "problem": "Let $S$ be the increasing sequence of positive integers whose binary representation has exactly $8$ ones. Let $N$ be the 1000th number in $S$ . Find the remainder when $N$ is divided by $1000$ .",
  "answer": "32"
 },
 {
  "id": "AIME1988-13",
  "source": "AIME 1983-2023",
  "problem": "Find $a$ if $a$ and $b$ are integers such that $x^2 - x - 1$ is a factor of $ax^{17} + bx^{16} + 1$ .",
  "answer": "987"
 },
 {
  "id": "AIME1992-4",
  "source": "AIME 1983-2023",
  "problem": "In Pascal's Triangle, each entry is the sum of the two entries above it. The first few rows of the triangle are shown below. \\[\\begin{array}{c@{\\hspace{8em}} c@{\\hspace{6pt}}c@{\\hspace{6pt}}c@{\\hspace{6pt}}c@{\\hspace{4pt}}c@{\\hspace{2pt}} c@{\\hspace{2pt}}c@{\\hspace{2pt}}c@{\\hspace{2pt}}c@{\\hspace{3pt}}c@{\\hspace{6pt}} c@{\\hspace{6pt}}c@{\\hspace{6pt}}c} \\vspace{4pt} \\text{Row 0: } &    &    &     &     &    &    & 1 &     &     &    &    &    &  \\\\\\vspace{4pt} \\text{Row 1: } &    &    &     &     &    & 1 &    & 1  &     &    &    &    &  \\\\\\vspace{4pt} \\text{Row 2: } &    &    &     &     & 1 &    & 2 &     & 1  &    &    &    &  \\\\\\vspace{4pt} \\text{Row 3: } &    &    &     &  1 &    & 3 &    & 3  &     & 1 &    &    &  \\\\\\vspace{4pt} \\text{Row 4: } &    &    & 1  &     & 4 &    & 6 &     & 4  &    & 1 &    &  \\\\\\vspace{4pt} \\text{Row 5: } &    & 1 &     & 5  &    &10&    &10 &     & 5 &    & 1 &  \\\\\\vspace{4pt} \\text{Row 6: } & 1 &    & 6  &     &15&    &20&     &15 &    & 6 &    & 1 \\end{array}\\] In which row of Pascal's Triangle do three consecutive entries occur that are in the ratio $3: 4: 5$ ?",
  "answer": "62"
 },
 {
  "id": "AIME2013-II5",
  "source": "AIME 1983-2023",
  "problem": "In equilateral $\\triangle ABC$ let points $D$ and $E$ trisect $\\overline{BC}$ . Then $\\sin(\\angle DAE)$ can be expressed in the form $\\frac{a\\sqrt{b}}{c}$ , where $a$ and $c$ are relatively prime positive integers, and $b$ is an integer that is not divisible by the square of any prime. Find $a+b+c$ . ",
  "answer": "20"
 },
 {
  "id": "AIME2018-II6",
  "source": "AIME 1983-2023",
  "problem": "A real number $a$ is chosen randomly and uniformly from the interval $[-20, 18]$ . The probability that the roots of the polynomial \\[x^4 + 2ax^3 + (2a - 2)x^2 + (-4a + 3)x - 2\\] are all real can be written in the form $\\dfrac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m + n$ .",
  "answer": "37"
 },
 {
  "id": "AIME2004-II2",
  "source": "AIME 1983-2023",
  "problem": "A jar has 10 red candies and 10 blue candies. Terry picks two candies at random, then Mary picks two of the remaining candies at random. Given that the probability that they get the same color combination, irrespective of order, is $m/n,$ where $m$ and $n$ are relatively prime positive integers, find $m+n.$",
  "answer": "441"
 },
 {
  "id": "AIME2019-I4",
  "source": "AIME 1983-2023",
  "problem": "A soccer team has $22$ available players. A fixed set of $11$ players starts the game, while the other $11$ are available as substitutes. During the game, the coach may make as many as $3$ substitutions, where any one of the $11$ players in the game is replaced by one of the substitutes. No player removed from the game may reenter the game, although a substitute entering the game may be replaced later. No two substitutions can happen at the same time. The players involved and the order of the substitutions matter. Let $n$ be the number of ways the coach can make substitutions during the game (including the possibility of making no substitutions). Find the remainder when $n$ is divided by $1000$ .",
  "answer": "122"
 },
 {
  "id": "AIME1998-12",
  "source": "AIME 1983-2023",
  "problem": "Let $ABC$ be equilateral , and $D, E,$ and $F$ be the midpoints of $\\overline{BC}, \\overline{CA},$ and $\\overline{AB},$ respectively.  There exist points $P, Q,$ and $R$ on $\\overline{DE}, \\overline{EF},$ and $\\overline{FD},$ respectively, with the property that $P$ is on $\\overline{CQ}, Q$ is on $\\overline{AR},$ and $R$ is on $\\overline{BP}.$ The ratio of the area of triangle $ABC$ to the area of triangle $PQR$ is $a + b\\sqrt {c},$ where $a, b$ and $c$ are integers, and $c$ is not divisible by the square of any prime .  What is $a^{2} + b^{2} + c^{2}$ ?",
  "answer": "83"
 },
 {
  "id": "AIME2015-II10",
  "source": "AIME 1983-2023",
  "problem": "Call a permutation $a_1, a_2, \\ldots, a_n$ of the integers $1, 2, \\ldots, n$ quasi-increasing if $a_k \\leq a_{k+1} + 2$ for each $1 \\leq k \\leq n-1$ . For example, $53421$ and $14253$ are quasi-increasing permutations of the integers $1, 2, 3, 4, 5$ , but $45123$ is not. Find the number of quasi-increasing permutations of the integers $1, 2, \\ldots, 7$ .",
  "answer": "486"
 },
 {
  "id": "AIME1983-15",
  "source": "AIME 1983-2023",
  "problem": "The adjoining figure shows two intersecting chords in a circle, with $B$ on minor arc $AD$ . Suppose that the radius of the circle is $5$ , that $BC=6$ , and that $AD$ is bisected by $BC$ . Suppose further that $AD$ is the only chord starting at $A$ which is bisected by $BC$ . It follows that the sine of the central angle of minor arc $AB$ is a rational number. If this number is expressed as a fraction $\\frac{m}{n}$ in lowest terms, what is the product $mn$ ? [asy]size(140); defaultpen(linewidth(.8pt)+fontsize(11pt)); dotfactor=1; pair O1=(0,0); pair A=(-0.91,-0.41); pair B=(-0.99,0.13); pair C=(0.688,0.728); pair D=(-0.25,0.97); path C1=Circle(O1,1); draw(C1); label(\"$A$\",A,W); label(\"$B$\",B,W); label(\"$C$\",C,NE); label(\"$D$\",D,N); draw(A--D); draw(B--C); pair F=intersectionpoint(A--D,B--C); add(pathticks(A--F,1,0.5,0,3.5)); add(pathticks(F--D,1,0.5,0,3.5)); [/asy]",
  "answer": "175"
 },
 {
  "id": "AIME2023-I3",
  "source": "AIME 1983-2023",
  "problem": "A plane contains $40$ lines, no $2$ of which are parallel. Suppose that there are $3$ points where exactly $3$ lines intersect, $4$ points where exactly $4$ lines intersect, $5$ points where exactly $5$ lines intersect, $6$ points where exactly $6$ lines intersect, and no points where more than $6$ lines intersect. Find the number of points where exactly $2$ lines intersect.",
  "answer": "607"
 },
 {
  "id": "AIME2003-II9",
  "source": "AIME 1983-2023",
  "problem": "Consider the polynomials $P(x) = x^{6} - x^{5} - x^{3} - x^{2} - x$ and $Q(x) = x^{4} - x^{3} - x^{2} - 1.$ Given that $z_{1},z_{2},z_{3},$ and $z_{4}$ are the roots of $Q(x) = 0,$ find $P(z_{1}) + P(z_{2}) + P(z_{3}) + P(z_{4}).$",
  "answer": "6"
 },
 {
  "id": "AIME2021-II1",
  "source": "AIME 1983-2023",
  "problem": "Find the arithmetic mean of all the three-digit palindromes. (Recall that a palindrome is a number that reads the same forward and backward, such as $777$ or $383$ .)",
  "answer": "550"
 },
 {
  "id": "AIME1993-14",
  "source": "AIME 1983-2023",
  "problem": "A rectangle that is inscribed in a larger rectangle (with one vertex on each side) is called unstuck if it is possible to rotate (however slightly) the smaller rectangle about its center within the confines of the larger. Of all the rectangles that can be inscribed unstuck in a 6 by 8 rectangle, the smallest perimeter has the form $\\sqrt{N}\\,$ , for a positive integer $N\\,$ . Find $N\\,$ .",
  "answer": "448"
 },
 {
  "id": "AIME2014-II6",
  "source": "AIME 1983-2023",
  "problem": "Charles has two six-sided dice. One of the die is fair, and the other die is biased so that it comes up six with probability $\\frac{2}{3}$ and each of the other five sides has probability $\\frac{1}{15}$ . Charles chooses one of the two dice at random and rolls it three times. Given that the first two rolls are both sixes, the probability that the third roll will also be a six is $\\frac{p}{q}$ , where $p$ and $q$ are relatively prime positive integers. Find $p+q$ .",
  "answer": "167"
 },
 {
  "id": "AIME2016-II8",
  "source": "AIME 1983-2023",
  "problem": "Find the number of sets $\\{a,b,c\\}$ of three distinct positive integers with the property that the product of $a,b,$ and $c$ is equal to the product of $11,21,31,41,51,$ and $61$ .",
  "answer": "728"
 },
 {
  "id": "AIME2008-I5",
  "source": "AIME 1983-2023",
  "problem": "A right circular cone has base radius $r$ and height $h$ .  The cone lies on its side on a flat table.  As the cone rolls on the surface of the table without slipping, the point where the cone's base meets the table traces a circular arc centered  at the point where the vertex touches the table.  The cone first returns to its original position on the table after making $17$ complete rotations.  The value of $h/r$ can be written in the form $m\\sqrt {n}$ , where $m$ and $n$ are positive integers and $n$ is not divisible by the square of any prime.  Find $m + n$ .",
  "answer": "14"
 },
 {
  "id": "AIME2018-II10",
  "source": "AIME 1983-2023",
  "problem": "Find the number of functions $f(x)$ from $\\{1, 2, 3, 4, 5\\}$ to $\\{1, 2, 3, 4, 5\\}$ that satisfy $f(f(x)) = f(f(f(x)))$ for all $x$ in $\\{1, 2, 3, 4, 5\\}$ .",
  "answer": "756"
 },
 {
  "id": "AIME2016-I14",
  "source": "AIME 1983-2023",
  "problem": "Centered at each lattice point in the coordinate plane are a circle radius $\\frac{1}{10}$ and a square with sides of length $\\frac{1}{5}$ whose sides are parallel to the coordinate axes. The line segment from $(0,0)$ to $(1001, 429)$ intersects $m$ of the squares and $n$ of the circles. Find $m + n$ .",
  "answer": "574"
 },
 {
  "id": "AIME1986-1",
  "source": "AIME 1983-2023",
  "problem": "What is the sum of the solutions to the equation $\\sqrt[4]{x} = \\frac{12}{7 - \\sqrt[4]{x}}$ ?",
  "answer": "337"
 },
 {
  "id": "AIME2005-I2",
  "source": "AIME 1983-2023",
  "problem": "For each positive integer $k,$ let $S_k$ denote the increasing arithmetic sequence of integers whose first term is 1 and whose common difference is $k.$ For example, $S_3$ is the sequence $1,4,7,10,\\ldots.$ For how many values of $k$ does $S_k$ contain the term 2005?",
  "answer": "12"
 },
 {
  "id": "AIME2022-I4",
  "source": "AIME 1983-2023",
  "problem": "Let $w = \\dfrac{\\sqrt{3} + i}{2}$ and $z = \\dfrac{-1 + i\\sqrt{3}}{2},$ where $i = \\sqrt{-1}.$ Find the number of ordered pairs $(r,s)$ of positive integers not exceeding $100$ that satisfy the equation $i \\cdot w^r = z^s.$",
  "answer": "834"
 },
 {
  "id": "AIME1991-14",
  "source": "AIME 1983-2023",
  "problem": "A hexagon is inscribed in a circle. Five of the sides have length 81 and the sixth, denoted by $\\overline{AB}$ , has length 31. Find the sum of the lengths of the three diagonals that can be drawn from $A_{}^{}$ .",
  "answer": "384"
 },
 {
  "id": "AIME1990-9",
  "source": "AIME 1983-2023",
  "problem": "A fair coin is to be tossed $10_{}^{}$ times. Let $i/j^{}_{}$ , in lowest terms, be the probability that heads never occur on consecutive tosses. Find $i+j_{}^{}$ .",
  "answer": "73"
 },
 {
  "id": "AIME2014-I12",
  "source": "AIME 1983-2023",
  "problem": "Let $A=\\{1,2,3,4\\}$ , and $f$ and $g$ be randomly chosen (not necessarily distinct) functions from $A$ to $A$ . The probability that the range of $f$ and the range of $g$ are disjoint is $\\tfrac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m$ .",
  "answer": "453"
 },
 {
  "id": "AIME1996-3",
  "source": "AIME 1983-2023",
  "problem": "Find the smallest positive integer $n$ for which the expansion of $(xy-3x+7y-21)^n$ , after like terms have been collected, has at least 1996 terms.",
  "answer": "44"
 }
]