ability
stringclasses
2 values
agent_name
stringclasses
2 values
prompt
listlengths
1
1
reward_model
unknown
math
[ { "role": "user", "content": "Find the largest positive integer value of $n < 1000$ such that $\\phi(36n) = \\phi(25n) + \\phi(16n)$, where $\\phi(n)$ denotes the number of positive integers less than $n$ that are relatively prime to $n$.\nPlease reason step by step, and put your final answer within \\boxed...
{ "ground_truth": "996", "style": "rule" }
math
[ { "role": "user", "content": "How many ways are there to arrange the letters of the word $\\text{BA}_1\\text{N}_1\\text{A}_2\\text{N}_2\\text{A}_3$, in which the three A's and the two N's are considered different?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "720", "style": "rule" }
math
[ { "role": "user", "content": "Let $A$, $B$, $C$, $D$, $E$, and $F$ be 6 points around a circle, listed in clockwise order. We have $AB = 3\\sqrt{2}$, $BC = 3\\sqrt{3}$, $CD = 6\\sqrt{6}$, $DE = 4\\sqrt{2}$, and $EF = 5\\sqrt{2}$. Given that $\\overline{AD}$, $\\overline{BE}$, and $\\overline{CF}$ are concur...
{ "ground_truth": "225", "style": "rule" }
math
[ { "role": "user", "content": "In an abandoned chemistry lab Gerome found a two-pan balance scale and three 1-gram weights, three\n5-gram weights, and three 50-gram weights. By placing one pile of chemicals and as many weights as\nnecessary on the pans of the scale, Gerome can measure out various amounts of ...
{ "ground_truth": "129", "style": "rule" }
math
[ { "role": "user", "content": "Isosceles trapezoid $ABCD$ has side lengths $AB = 6$ and $CD = 12$, with $AD = BC$. It is given that $O$, the circumcenter of $ABCD$, lies in the interior of the trapezoid. The extensions of lines $AD$ and $BC$ intersect at $T$. Given that $OT = 18$, the area of $ABCD$ can be e...
{ "ground_truth": "84", "style": "rule" }
math
[ { "role": "user", "content": "We take $100$ consecutive natural numbers $a_1, a_2, \\ldots, a_{100}$. Determine the last two digits of the number $a_1^8 + a_2^8 + \\ldots + a_{100}^8$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "30", "style": "rule" }
math
[ { "role": "user", "content": "If $x = \\cos 1^\\circ \\cos 2^\\circ \\cos 3^\\circ \\ldots \\cos 89^\\circ$ and $y = \\cos 2^\\circ \\cos 6^\\circ \\cos 10^\\circ \\ldots \\cos 86^\\circ$, then what is the integer nearest to $\\frac{2}{7} \\log_2 \\frac{y}{x}$?\nPlease reason step by step, and put your fina...
{ "ground_truth": "19", "style": "rule" }
math
[ { "role": "user", "content": "Let $P(n)=(n-1^3)(n-2^3)\\ldots (n-40^3)$ for positive integers $n$. Let $d$ be the largest positive integer such that $d \\mid P(n)$ for any $n>2023$. If $d$ is product of $m$ not necessarily distinct primes, find $m$. \nPlease reason step by step, and put your final answer wi...
{ "ground_truth": "48", "style": "rule" }
math
[ { "role": "user", "content": "There are exactly $77,000$ ordered quadruplets $(a, b, c, d)$ such that $\\gcd(a, b, c, d) = 77$ and $\\operatorname{lcm}(a, b, c, d) = n$. What is the smallest possible value for $n$? Please provide your answer as an integer without any commas.\nPlease reason step by step, and...
{ "ground_truth": "27720", "style": "rule" }
math
[ { "role": "user", "content": "There are $24$ participants who attended a meeting. Each pair of them either shook hands once or did not. A total of $216$ handshakes occurred during the meeting. For any two participants who have shaken hands, at most $10$ among the remaining $22$ participants have shaken hand...
{ "ground_truth": "864", "style": "rule" }
math
[ { "role": "user", "content": "Compute $\\left\\lfloor \\sum_{k=0}^{10}\\left(3+2\\cos\\left(\\frac{2k\\pi}{11}\\right)\\right)^{10}\\right\\rfloor \\pmod{100}.$\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "91", "style": "rule" }
math
[ { "role": "user", "content": "Let $ABCDE$ be a regular pentagon, and let $F$ be a point on $\\overline{AB}$ with $\\angle CDF=55^\\circ$. Suppose $\\overline{FC}$ and $\\overline{BE}$ meet at $G$, and select $H$ on the extension of $\\overline{CE}$ past $E$ such that $\\angle DHE=\\angle FDG$. Find the meas...
{ "ground_truth": "19", "style": "rule" }
math
[ { "role": "user", "content": "Zang is at the point $(3,3)$ in the coordinate plane. Every second, he can move one unit up or one unit right, but he may never visit points where the $x$ and $y$ coordinates are both composite. In how many ways can he reach the point $(20, 13)$?\nPlease reason step by step, an...
{ "ground_truth": "210", "style": "rule" }
math
[ { "role": "user", "content": "Find the number of sequences $(a_n)_{n=1}^\\infty$ of integers satisfying $a_n \\ne -1$ and \\[a_{n+2} = \\frac{a_n + 2006}{a_{n+1} + 1}\\] for each $n \\in \\mathbb{N}$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "14", "style": "rule" }
math
[ { "role": "user", "content": "Suppose that $f(x) = \\frac{x}{x^2 - 2x + 2}$ and $g(x_1, x_2, \\ldots , x_7) = f(x_1) + f(x_2) + \\ldots + f(x_7)$. If $x_1, x_2, \\ldots, x_7$ are non-negative real numbers with sum $5$, determine for how many tuples $(x_1, x_2, \\ldots , x_7)$ does $g(x_1, x_2, \\ldots , x_7...
{ "ground_truth": "21", "style": "rule" }
math
[ { "role": "user", "content": "Arutyun and Amayak show another effective trick. A spectator writes down on a board a sequence of $N$ (decimal) digits. Amayak closes two adjacent digits with a black disc. Then Arutyun comes and identifies both closed digits and their order. What is the minimal $N$ for which t...
{ "ground_truth": "101", "style": "rule" }
math
[ { "role": "user", "content": "Let $P(x) = x^3 + 8x^2 - x + 3$ and let the roots of $P$ be $a, b,$ and $c.$ The roots of a monic polynomial $Q(x)$ are $ab - c^2, ac - b^2, bc - a^2.$ Find $Q(-1).$\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "1536", "style": "rule" }
math
[ { "role": "user", "content": "Let $d_1, d_2, \\ldots , d_{k}$ be the distinct positive integer divisors of $6^8$. Find the number of ordered pairs $(i, j)$ such that $d_i - d_j$ is divisible by $11$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "665", "style": "rule" }
math
[ { "role": "user", "content": "Olya wrote fractions of the form $\\frac{1}{n}$ on cards, where $n$ represents all possible divisors of the number $6^{100}$ (including the unit and the number itself). She arranged these cards in some order. \n\nAfter arranging, she noted the number on the first card, then the...
{ "ground_truth": "2", "style": "rule" }
math
[ { "role": "user", "content": "Find the number of subsets of $\\{1,3,5,7,9,11,13,15,17,19\\}$ where the elements in the subset add to $49$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "22", "style": "rule" }
math
[ { "role": "user", "content": "Suppose $P(x)$ is a degree $n$ monic polynomial with integer coefficients such that $2013$ divides $P(r)$ for exactly $1000$ values of $r$ between $1$ and $2013$ inclusive. Find the minimum value of $n$.\nPlease reason step by step, and put your final answer within \\boxed{}."...
{ "ground_truth": "50", "style": "rule" }
math
[ { "role": "user", "content": "Let $ABC$ be an equilateral triangle. Denote by $D$ the midpoint of $\\overline{BC}$, and denote the circle with diameter $\\overline{AD}$ by $\\Omega$. If the region inside $\\Omega$ and outside $\\triangle ABC$ has area $800\\pi-600\\sqrt{3}$, find the length of $AB$.\nPlease...
{ "ground_truth": "80", "style": "rule" }
math
[ { "role": "user", "content": "A circle $\\omega$ of radius 1 is given. A collection $T$ of triangles is called good, if the following conditions hold: (i) each triangle from $T$ is inscribed in $\\omega$; (ii) no two triangles from $T$ have a common interior point. Determine all positive real numbers $t$ su...
{ "ground_truth": "4", "style": "rule" }
math
[ { "role": "user", "content": "There is a table with $n$ rows and $18$ columns. Each cell contains either a $0$ or a $1$. The table satisfies the following properties:\n\n1. Every two rows are different.\n2. Each row contains exactly $6$ cells that contain $1$.\n3. For every three rows, there exists a column...
{ "ground_truth": "12376", "style": "rule" }
math
[ { "role": "user", "content": "Determine the smallest positive integer $m$ such that $m^3 - 3m^2 + 2m$ is divisible by both $79$ and $83$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "1660", "style": "rule" }
math
[ { "role": "user", "content": "Triangle $ABC$ has side lengths $AB=231$, $BC=160$, and $AC=281$. Point $D$ is constructed on the opposite side of line $AC$ as point $B$ such that $AD=178$ and $CD=153$. Compute the distance from $B$ to the midpoint of segment $AD$.\nPlease reason step by step, and put your ...
{ "ground_truth": "208", "style": "rule" }
math
[ { "role": "user", "content": "Sides \\(\\overline{AB}\\) and \\(\\overline{AC}\\) of equilateral triangle \\(ABC\\) are tangent to a circle at points \\(B\\) and \\(C\\) respectively. Find the fraction of the area of \\(\\triangle ABC\\) that lies outside the circle. The original answer is in the form \\(\\...
{ "ground_truth": "38", "style": "rule" }
math
[ { "role": "user", "content": "What is the value of $x$ in the diagram?\n\n[asy]\nimport olympiad;\ndraw((0,0)--(sqrt(3),0)--(0,sqrt(3))--cycle);\ndraw((0,0)--(-1,0)--(0,sqrt(3))--cycle);\nlabel(\"2\",(-1/2,sqrt(3)/2),NW);\nlabel(\"$x$\",(sqrt(3)/2,sqrt(3)/2),NE);\ndraw(\"$45^{\\circ}$\",(1.5,0),NW);\ndraw(\...
{ "ground_truth": "7", "style": "rule" }
math
[ { "role": "user", "content": "On the $xy$-plane, the origin is labeled with an $M$. The points $(1,0)$, $(-1,0)$, $(0,1)$, and $(0,-1)$ are labeled with $A$'s. The points $(2,0)$, $(1,1)$, $(0,2)$, $(-1, 1)$, $(-2, 0)$, $(-1, -1)$, $(0, -2)$, and $(1, -1)$ are labeled with $T$'s. The points $(3,0)$, $(2,1)$...
{ "ground_truth": "28", "style": "rule" }
math
[ { "role": "user", "content": "Find the largest integer $n$, where $2009^n$ divides $2008^{2009^{2010}} + 2010^{2009^{2008}}$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "2009", "style": "rule" }
math
[ { "role": "user", "content": "Zack keeps cutting the interval $[0, 1]$ of the number line, each time cutting at a uniformly random point in the interval, until the interval is cut into pieces, none of which have length greater than $\\frac35$ . The expected number of cuts that Zack makes can be written as $...
{ "ground_truth": "34", "style": "rule" }
math
[ { "role": "user", "content": "The number in each box below is the product of the numbers in the two boxes that touch it in the row above. For example, $30 = 6\\times5$. What is the missing number in the top row?\n\n[asy] unitsize(0.8cm); draw((-1,0)--(1,0)--(1,-2)--(-1,-2)--cycle); draw((-2,0)--(0,0)--(0,2)...
{ "ground_truth": "4", "style": "rule" }
math
[ { "role": "user", "content": "There are 300 points in space. Four planes $A$, $B$, $C$, and $D$ each have the property that they split the 300 points into two equal sets. (No plane contains one of the 300 points.) What is the maximum number of points that can be found inside the tetrahedron whose faces are ...
{ "ground_truth": "100", "style": "rule" }
math
[ { "role": "user", "content": "Three spheres with radii $11$, $13$, and $19$ are mutually externally tangent. A plane intersects the spheres in three congruent circles centered at $A$, $B$, and $C$, respectively, and the centers of the spheres all lie on the same side of this plane. Suppose that $AB^2 = 560$...
{ "ground_truth": "756", "style": "rule" }
math
[ { "role": "user", "content": "In how many ways can Alice, Bob, Charlie, David, and Eve split $18$ marbles among themselves so that no two of them have the same number of marbles?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "2160", "style": "rule" }
math
[ { "role": "user", "content": "If Percy rolls a fair six-sided die until he rolls a $5$, what is his expected number of rolls, given that all of his rolls are prime?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "\\frac{3}{2}", "style": "rule" }
math
[ { "role": "user", "content": "Consider all planes through the center of a $2\\times2\\times2$ cube that create cross sections that are regular polygons. The sum of the cross sections for each of these planes can be written in the form $a\\sqrt b+c$, where $b$ is a square-free positive integer. Find $a+b+c...
{ "ground_truth": "27", "style": "rule" }
math
[ { "role": "user", "content": "The first $510$ positive integers are written on a blackboard: $1, 2, 3, \\ldots, 510$. An operation consists of erasing two numbers whose sum is a prime number. What is the maximum number of operations that can be performed in a row? Show how it is accomplished and explain why...
{ "ground_truth": "255", "style": "rule" }
math
[ { "role": "user", "content": "The natural numbers from $1$ to $50$ are written on the blackboard. What is the minimum number of these numbers that should be deleted so that the sum of any two remaining numbers is not a prime?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "25", "style": "rule" }
math
[ { "role": "user", "content": "A \\(3 \\times 3\\) square is partitioned into \\(9\\) unit squares. Each unit square is painted either white or black with each color being equally likely, chosen independently and at random. The square is then rotated \\(90\\,^{\\circ}\\) clockwise about its center, and every...
{ "ground_truth": "561", "style": "rule" }
math
[ { "role": "user", "content": "Find the integer represented by $\\left\\lfloor \\sum_{n=1}^{10^9} n^{-2/3} \\right\\rfloor$. Here $\\lfloor x \\rfloor$ denotes the greatest integer less than or equal to $x$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "2997", "style": "rule" }
math
[ { "role": "user", "content": "How many ways are there to color the vertices of a cube using the colors red, blue, or green such that no edge connects two vertices of the same color? Note that rotations and reflections are considered distinct colorings.\nPlease reason step by step, and put your final answer ...
{ "ground_truth": "114", "style": "rule" }
math
[ { "role": "user", "content": "Let $S = \\{(x, y) \\in Z^2 | 0 \\le x \\le 11, 0\\le y \\le 9\\}$. Compute the number of sequences $(s_0, s_1, . . . , s_n)$ of elements in $S$ (for any positive integer $n \\ge 2$) that satisfy the following conditions:\n$\\bullet$ $s_0 = (0, 0)$ and $s_1 = (1, 0)$,\n$\\bulle...
{ "ground_truth": "646634", "style": "rule" }
math
[ { "role": "user", "content": "Right $\\triangle ABC$ has $AB=3$, $BC=4$, and $AC=5$. Square $XYZW$ is inscribed in $\\triangle ABC$ with $X$ and $Y$ on $\\overline{AC}$, $W$ on $\\overline{AB}$, and $Z$ on $\\overline{BC}$. What is the side length of the square?\n\n[asy]\npair A,B,C,W,X,Y,Z;\nA=(-9,0); B=...
{ "ground_truth": "97", "style": "rule" }
math
[ { "role": "user", "content": "Consider the following two strings of digits: $11001010100101011$ and $110100011000100$. First consider them to be in base $10$ and sum them to get $n$. Then consider them to be in binary, sum them, write the answer in binary, then interpret the digits of the sum as if they wer...
{ "ground_truth": "0", "style": "rule" }
math
[ { "role": "user", "content": "A circle intersects an equilateral triangle $\\triangle XYZ$ at points $A$, $B$, $C$, $D$, $E$, and $F$ such that the points $X$, $A$, $B$, $Y$, $C$, $D$, $Z$, $E$, and $F$ lie on the equilateral triangle in that order. Given:\n\n- $AC^2 + CE^2 + EA^2 = 1900$\n- $BD^2 + DF^2 + ...
{ "ground_truth": "16\\sqrt{3}", "style": "rule" }
math
[ { "role": "user", "content": "Counting from the right end, what is the $2500$th digit of $10000!$?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "8", "style": "rule" }
math
[ { "role": "user", "content": "Antonette gets $70 \\%$ on a $10$-problem test, $80 \\%$ on a $20$-problem test and $90 \\%$ on a $30$-problem test. If the three tests are combined into one $60$-problem test, what percent is closest to her overall score?\nPlease reason step by step, and put your final answer ...
{ "ground_truth": "83", "style": "rule" }
math
[ { "role": "user", "content": "Consider pairs of functions $(f, g)$ from the set of nonnegative integers to itself such that:\n- $f(0) + f(1) + f(2) + \\cdots + f(42) \\le 2022$;\n- For any integers $a \\ge b \\ge 0$, we have $g(a+b) \\le f(a) + f(b)$.\n\nDetermine the maximum possible value of $g(0) + g(1) ...
{ "ground_truth": "7993", "style": "rule" }
math
[ { "role": "user", "content": "Each face of a cube is given a single narrow stripe painted from the center of one edge to the center of the opposite edge. The choice of the edge pairing is made at random and independently for each face. What is the probability that there is a continuous stripe encircling the...
{ "ground_truth": "19", "style": "rule" }
math
[ { "role": "user", "content": "Jeffrey rolls three fair six-sided dice and records their results. The probability that the mean of these three numbers is greater than the median of these three numbers can be expressed as \\( \\frac{m}{n} \\) for relatively prime positive integers \\( m \\) and \\( n \\). Com...
{ "ground_truth": "101", "style": "rule" }
math
[ { "role": "user", "content": "Find the number of points $P \\in Z^2$ that satisfy the following two conditions:\n1) If $Q$ is a point on the circle of radius $\\sqrt{2020}$ centered at the origin such that the line $PQ$ is tangent to the circle at $Q$, then $PQ$ has integral length.\n2) The x-coordinate of ...
{ "ground_truth": "14", "style": "rule" }
math
[ { "role": "user", "content": "Ana and Banana play a game. First, Ana picks a real number $p$ with $0 \\le p \\le 1$. Then, Banana picks an integer $h$ greater than $1$ and creates a spaceship with $h$ hit points. Every minute, Ana decreases the spaceship's hit points by $2$ with probability $1-p$, and by $3...
{ "ground_truth": "382", "style": "rule" }
math
[ { "role": "user", "content": "Let $\\{a,b,c,d,e,f,g,h,i\\}$ be a permutation of $\\{1,2,3,4,5,6,7,8,9\\}$ such that $\\gcd(c,d)=\\gcd(f,g)=1$ and\n\\[(10a+b)^{c/d}=e^{f/g}.\\]\nGiven that $h>i$, evaluate $10h+i$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "65", "style": "rule" }
math
[ { "role": "user", "content": "Suppose $\\omega$ is a circle centered at $O$ with radius $8$. Let $AC$ and $BD$ be perpendicular chords of $\\omega$. Let $P$ be a point inside quadrilateral $ABCD$ such that the circumcircles of triangles $ABP$ and $CDP$ are tangent, and the circumcircles of triangles $ADP$ a...
{ "ground_truth": "103360", "style": "rule" }
math
[ { "role": "user", "content": "A quadruple $(a, b, c, d)$ of distinct integers is said to be $\\text{balanced}$ if $a + c = b + d$. Let $\\mathcal{S}$ be any set of quadruples $(a, b, c, d)$ where $1 \\leq a < b < d < c \\leq 20$ and where the cardinality of $\\mathcal{S}$ is $4411$. Find the least number of...
{ "ground_truth": "91", "style": "rule" }
math
[ { "role": "user", "content": "Find the least positive integer $n$ such that when $3^n$ is written in base $143^2$ , its two right-most digits in base $143$ are $01$ .\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "195", "style": "rule" }
math
[ { "role": "user", "content": "How many of the coefficients of $(x+1)^{65}$ cannot be divisible by $65$? Find the number of such coefficients.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "16", "style": "rule" }
math
[ { "role": "user", "content": "Let triangle $\\triangle ABC$ have side lengths $AB = 7$, $BC = 8$, and $CA = 9$. Let $M$ be the midpoint of $\\overline{BC}$, and $D$ be the foot of the altitude from $A$ to $\\overline{BC}$. Let $E$ and $F$ lie on $\\overline{AB}$ and $\\overline{AC}$, respectively, such that...
{ "ground_truth": "28", "style": "rule" }
math
[ { "role": "user", "content": "There are $13$ cities in a certain kingdom. Between some pairs of the cities a two-way direct bus, train or plane connections are established. What is the least possible number of connections to be established so that choosing any two means of transportation one can go from any...
{ "ground_truth": "18", "style": "rule" }
math
[ { "role": "user", "content": "$A, B, C$ are playing a backgammon tournament. Initially, $A$ plays against $B$. The winner of this game then plays against $C$. The tournament continues such that the last winner plays against the player who did not play in the previous game. The tournament concludes when a pl...
{ "ground_truth": "9", "style": "rule" }
math
[ { "role": "user", "content": "Let $D$ be a point on side $[AB]$ of triangle $ABC$ with $|AB| = |AC|$, such that $[CD]$ is an angle bisector and $m(\\widehat{ABC}) = 40^\\circ$. Let $F$ be a point on the extension of $[AB]$ beyond $B$ such that $|BC| = |AF|$. Let $E$ be the midpoint of $[CF]$. If $G$ is the ...
{ "ground_truth": "150", "style": "rule" }
math
[ { "role": "user", "content": "The new PUMaC tournament hosts $2020$ students, numbered by the following set of labels $1, 2, \\ldots, 2020$. The students are initially divided into $20$ groups of $101$, with each division into groups equally likely. In each group, the contestant with the lowest label wins, ...
{ "ground_truth": "2123", "style": "rule" }
math
[ { "role": "user", "content": "Two points $A$ and $B$ are selected independently and uniformly at random along the perimeter of a unit square with vertices at $(0,0)$, $(1,0)$, $(0,1)$, and $(1,1)$. The probability that the $y$-coordinate of $A$ is strictly greater than the $y$-coordinate of $B$ can be expre...
{ "ground_truth": "716", "style": "rule" }
math
[ { "role": "user", "content": "If $PQ$ is a straight line, what is the value of $x$? [asy]\n\nsize(150);\n\ndraw((-1,0)--(1,0));\n\ndraw((-0.809,.588)--(0,0)--(0.809,.588));\n\ndraw((-.309,.951)--(0,0)--(.309,.951));\n\nlabel(\"$P$\",(-1,0),W);\n\nlabel(\"$Q$\",(1,0),E);\n\nlabel(\"$x^\\circ$\",(0.5,0),NW);\...
{ "ground_truth": "36", "style": "rule" }
math
[ { "role": "user", "content": "The integers from 1 to $2008^2$ are written on each square of a $2008 \\times 2008$ board. For every row and column, the difference between the maximum and minimum numbers is computed. Let $S$ be the sum of these 4016 numbers. Find the greatest possible value of $S$.\nPlease re...
{ "ground_truth": "16184704896", "style": "rule" }
math
[ { "role": "user", "content": "Starting with a sequence of $n 1's$, you can insert plus signs to get various sums. For example, when $n = 10$, you can get the sum $1 + 1 + 1 + 11 + 11 + 111 = 136$, and the sum $1 + 1 + 11 + 111 + 111 = 235$. Find the number of values of $n$ so that the sum of $1111$ is pos...
{ "ground_truth": "121", "style": "rule" }
math
[ { "role": "user", "content": "Find the numerator of \\[ \\frac{1010\\overbrace{11 \\ldots 11}^{2011 \\text{ ones}}0101}{1100\\underbrace{11 \\ldots 11}_{2011\\text{ ones}}0011} \\] when reduced.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "9091", "style": "rule" }
math
[ { "role": "user", "content": "Let $(a_1, b_1),$ $(a_2, b_2),$ $\\dots,$ $(a_n, b_n)$ be the real solutions to\n\\begin{align*}\na + \\frac{17a + 6b}{a^2 + b^2} &= 6, \\\\\nb + \\frac{6a - 17b}{a^2 + b^2} &= 0.\n\\end{align*}Find $a_1 + b_1 + a_2 + b_2 + \\dots + a_n + b_n.$\n\nHint: Use complex numbers.\nPl...
{ "ground_truth": "6", "style": "rule" }
math
[ { "role": "user", "content": "We will say that a rearrangement of the letters of a word has no *fixed letters* if, when the rearrangement is placed directly below the word, no column has the same letter repeated. For instance, $HBRATA$ is a rearrangement with no fixed letter of $BHARAT$. How many distinguis...
{ "ground_truth": "84", "style": "rule" }
math
[ { "role": "user", "content": "Hamilton Avenue has eight houses. On one side of the street are the houses numbered $1, 3, 5, 7$ and directly opposite are houses $2, 4, 6, 8$ respectively. An eccentric postman starts deliveries at house $1$ and delivers letters to each of the houses, finally returning to hous...
{ "ground_truth": "12", "style": "rule" }
math
[ { "role": "user", "content": "Find the last two digits of $\\binom{200}{100}$. Express the answer as an integer between $0$ and $99$. (e.g., if the last two digits are $05$, just write $5$).\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "20", "style": "rule" }
math
[ { "role": "user", "content": "Sir Alex plays the following game on a row of $9$ cells. Initially, all cells are empty. In each move, Sir Alex is allowed to perform exactly one of the following two operations: (1) Choose any number of the form $2^j$, where $j$ is a non-negative integer, and put it into an em...
{ "ground_truth": "2025", "style": "rule" }
math
[ { "role": "user", "content": "A coloring of all plane points with coordinates belonging to the set $S=\\{0,1,\\ldots,99\\}$ into red and white colors is said to be critical if for each $i,j \\in S$ at least one of the four points $(i,j), (i + 1,j), (i,j + 1)$, and $(i + 1, j + 1)$ $(99 + 1 \\equiv 0)$ is co...
{ "ground_truth": "5000", "style": "rule" }
math
[ { "role": "user", "content": "Let $ABCDEF$ be a regular hexagon with side length $6$, and construct squares $ABGH$, $BCIJ$, $CDKL$, $DEMN$, $EFOP$, and $FAQR$ outside the hexagon. Find the perimeter of the dodecagon $HGJILKNMPORQ$.\nPlease reason step by step, and put your final answer within \\boxed{}." ...
{ "ground_truth": "72", "style": "rule" }
math
[ { "role": "user", "content": "There exist real numbers $a$, $b$, $c$, $d$, and $e$ such that for all positive integers $n$, we have:\n\\[\n\\sqrt{n} = \\sum_{i=0}^{n-1} \\sqrt[5]{\\sqrt{ai^5 + bi^4 + ci^3 + di^2 + ei + 1} - \\sqrt{ai^5 + bi^4 + ci^3 + di^2 + ei}}.\n\\]\nFind the sum $a + b + c + d$.\nPlease...
{ "ground_truth": "1656", "style": "rule" }
math
[ { "role": "user", "content": "Let the sequence $\\{ a_n \\}_{n = -2}^\\infty$ satisfy the following initial conditions and recursive formula:\n- $a_{-1} = a_{-2} = 0$\n- $a_0 = 1$\n\nFor all non-negative integers $n$, the sequence satisfies:\n$$n^2 = \\sum_{k = 0}^n a_{n - k}a_{k - 1} + \\sum_{k = 0}^n a_{n...
{ "ground_truth": "4029", "style": "rule" }
math
[ { "role": "user", "content": "Let $\\vartriangle ABC$ be a triangle with $BC = 7$, $CA = 6$, and, $AB = 5$. Let $I$ be the incenter of $\\vartriangle ABC$. Let the incircle of $\\vartriangle ABC$ touch sides $BC$, $CA$, and $AB$ at points $D,E$, and $F$. Let the circumcircle of $\\vartriangle AEF$ meet the ...
{ "ground_truth": "629", "style": "rule" }
math
[ { "role": "user", "content": "Suppose $P(x)$ is a monic polynomial of degree $2023$ such that $P(k) = k^{2023}P(1-\\frac{1}{k})$ for every positive integer $1 \\leq k \\leq 2023$. Then $P(-1) = \\frac{a}{b}$ where $a$ and $b$ are relatively prime integers. Compute the unique integer $0 \\leq n < 2027$ such ...
{ "ground_truth": "406", "style": "rule" }
math
[ { "role": "user", "content": "A set $S \\subseteq \\mathbb{N}$ satisfies the following conditions:\n\n1. If $x, y \\in S$ (not necessarily distinct), then $x + y \\in S$.\n2. If $x$ is an integer and $2x \\in S$, then $x \\in S$.\n\nFind the number of pairs of integers $(a, b)$ with $1 \\le a, b \\le 50$ su...
{ "ground_truth": "2068", "style": "rule" }
math
[ { "role": "user", "content": "Three doctors, four nurses, and three patients stand in a line in random order. The probability that there is at least one doctor and at least one nurse between each pair of patients is $\\frac{m}{n}$ , where $m$ and $n$ are relatively prime positive integers. Find $m + n$.\nPl...
{ "ground_truth": "153", "style": "rule" }
math
[ { "role": "user", "content": "Find the largest prime number that divides the quantity $0! + (1!) \\times 1 + (2!) \\times 2 + (3!) \\times 3 + \\cdots + (50!) \\times 50$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "47", "style": "rule" }
math
[ { "role": "user", "content": "In rectangle $ABCD$, $AB = 3$ and $BC = 9$. The rectangle is folded so that points $A$ and $C$ coincide, forming the pentagon $ABEFD$. What is the length of segment $EF$? Express your answer in simplest radical form.\n\n[asy]\nsize(200);\ndefaultpen(linewidth(.8pt)+fontsize(10p...
{ "ground_truth": "11", "style": "rule" }
math
[ { "role": "user", "content": "What is the area in square units of the quadrilateral XYZW shown below? [asy]\nsize(200); defaultpen(linewidth(0.8));\npair X = (0,0), Y = 96*dir(45), Z = (Y.x + 32, Y.y), W = (Z.x,Z.y - 24);\ndraw(X--Y--Z--W--cycle);\ndraw(rightanglemark(Y,Z,W,100));\nlabel(\"$X$\",X,SW); labe...
{ "ground_truth": "2304", "style": "rule" }
math
[ { "role": "user", "content": "Let $m$ be a positive integer, and let $T$ denote the set of all subsets of $\\{1, 2, \\dots, m\\}$. Call a subset $S$ of $T$ $\\delta$-[I]good[/I] if for all $s_1, s_2\\in S$, $s_1\\neq s_2$, $|\\Delta (s_1, s_2)|\\ge \\delta m$, where $\\Delta$ denotes the symmetric differenc...
{ "ground_truth": "2048", "style": "rule" }
math
[ { "role": "user", "content": "The trisectors of angles $B$ and $C$ of scalene triangle $ABC$ meet at points $P$ and $Q$ as shown. Angle $A$ measures 39 degrees and angle $QBP$ measures 14 degrees. What is the measure of angle $BPC$? [asy]\nimport olympiad; import geometry; size(150); defaultpen(linewidth(0....
{ "ground_truth": "133", "style": "rule" }
math
[ { "role": "user", "content": "For $1 \\leq i \\leq 215$ let $a_i = \\dfrac{1}{2^{i}}$ and $a_{216} = \\dfrac{1}{2^{215}}$. Let $x_1, x_2, \\dots, x_{216}$ be positive real numbers such that $\\sum_{i=1}^{216} x_i=1$ and\n\\[\\sum_{1 \\leq i < j \\leq 216} x_ix_j = \\dfrac{107}{215} + \\sum_{i=1}^{216} \\dfr...
{ "ground_truth": "863", "style": "rule" }
math
[ { "role": "user", "content": "A set of five-digit numbers $\\{N_1, ..., N_k\\}$ is such that any five-digit number, all of whose digits are in non-decreasing order, coincides in at least one digit with at least one of the numbers $N_1, ..., N_k$. Find the smallest possible value of $k$.\nPlease reason step ...
{ "ground_truth": "2", "style": "rule" }
math
[ { "role": "user", "content": "13 fractions are formed using each of the numbers $1, 2, \\ldots, 26$ exactly once. For example: $\\frac{12}{5}, \\frac{18}{26}, \\ldots$. What is the maximum number of these fractions that can be integers?\nPlease reason step by step, and put your final answer within \\boxed{}...
{ "ground_truth": "12", "style": "rule" }
math
[ { "role": "user", "content": "My grandparents are Arthur, Bertha, Christoph, and Dolores. My oldest grandparent is only $4$ years older than my youngest grandparent. Each grandfather is two years older than his wife. If Bertha is younger than Dolores, what is the difference between Bertha's age and the mean...
{ "ground_truth": "2", "style": "rule" }
math
[ { "role": "user", "content": "Consider two positive even integers less than $15$ (not necessarily distinct). When the sum of these two numbers is added to their product, how many different possible values may result?\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "27", "style": "rule" }
math
[ { "role": "user", "content": "In circle $\\theta_1$ with radius $1$, circles $\\phi_1, \\phi_2, \\dots, \\phi_8$, with equal radii, are drawn such that for $1 \\le i \\le 8$, $\\phi_i$ is tangent to $\\omega_1$, $\\phi_{i-1}$, and $\\phi_{i+1}$, where $\\phi_0 = \\phi_8$ and $\\phi_1 = \\phi_9$. There exist...
{ "ground_truth": "31", "style": "rule" }
math
[ { "role": "user", "content": "Positive rational numbers $x < y < z$ sum to $1$ and satisfy the equation:\n\\[ (x^2 + y^2 + z^2 - 1)^3 + 8xyz = 0. \\]\nGiven that $\\sqrt{z}$ is also rational, it can be expressed as $\\frac{m}{n}$ for relatively prime positive integers $m$ and $n$. If $m + n < 1000$, find th...
{ "ground_truth": "999", "style": "rule" }
math
[ { "role": "user", "content": "Consider the permutation of $1, 2, \\ldots, n$, which we denote as $\\{a_1, a_2, \\ldots, a_n\\}$. Let $f(n)$ be the number of these permutations satisfying the following conditions:\n\n1. $a_1 = 1$\n2. $|a_i - a_{i-1}| \\le 2$, for $i = 2, 3, \\ldots, n$\n\nWhat is the residue...
{ "ground_truth": "3", "style": "rule" }
math
[ { "role": "user", "content": "Triangle $ABC$ lies entirely in the first quadrant of the Cartesian plane, and its sides have slopes $63$, $73$, and $97$. Suppose the curve $\\mathcal{V}$ with equation $y=(x+3)(x^2+3)$ passes through the vertices of $ABC$. Find the sum of the slopes of the three tangents to $...
{ "ground_truth": "237", "style": "rule" }
math
[ { "role": "user", "content": "Let $m = (abab)$ and $n = (cdcd)$ be four-digit numbers in the decimal system. If $m + n$ is a perfect square, find the largest value of $a \\cdot b \\cdot c \\cdot d$.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "600", "style": "rule" }
math
[ { "role": "user", "content": "Let $\\mathbb{N}$ denote the natural numbers. Compute the number of functions $f:\\mathbb{N}\\rightarrow \\{0, 1, \\dots, 16\\}$ such that $$f(x+17)=f(x)\\qquad \\text{and} \\qquad f(x^2)\\equiv f(x)^2+15 \\pmod {17}$$ for all integers $x\\ge 1$.\nPlease reason step by step, an...
{ "ground_truth": "12066", "style": "rule" }
math
[ { "role": "user", "content": "Six distinguishable players are participating in a tennis tournament. Each player plays one match of tennis against every other player. The outcome of each tennis match is a win for one player and a loss for the other players; there are no ties. Suppose that whenever $A$ and $B...
{ "ground_truth": "2048", "style": "rule" }
math
[ { "role": "user", "content": "Convex pentagon $ABCDE$ satisfies $AB \\parallel DE$, $BE \\parallel CD$, $BC \\parallel AE$, $AB = 30$, $BC = 18$, $CD = 17$, and $DE = 20$. Find its area.\nPlease reason step by step, and put your final answer within \\boxed{}." } ]
{ "ground_truth": "612", "style": "rule" }
math
[ { "role": "user", "content": "Navi and Ozna are playing a game where Ozna starts first, and the two take turns making moves. A positive integer is written on the board. A move consists of either:\n\n1. Subtracting any positive integer at most 2015 from it, or\n2. If the integer on the board is divisible by ...
{ "ground_truth": "2013", "style": "rule" }