data_source
stringclasses 2
values | prompt
listlengths 1
1
| ability
stringclasses 1
value | reward_model
dict | extra_info
dict | level
stringclasses 2
values | problem_id
stringlengths 23
26
|
|---|---|---|---|---|---|---|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nIn the Cartesian plane, a perfectly reflective semicircular room is bounded by the upper half of the unit circle centered at $(0,0)$ and the line segment from $(-1,0)$ to $(1,0)$. David stands at the point $(-1,0)$ and shines a flashlight into the room at an angle of $46^{\\circ}$ above the horizontal. How many times does the light beam reflect off the walls before coming back to David at $(-1,0)$ for the first time?\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**1. Understanding the Geometry and Reflections**\n\nThe room is a semicircle defined by the upper half of the unit circle ($x^2+y^2=1, y \\ge 0$) and the diameter on the x-axis (from $x=-1$ to $x=1$). The walls are perfectly reflective.\n\nA key technique for solving problems with reflections off a straight line is to \"unfold\" the path. When the light beam hits the flat diameter (the x-axis), instead of reflecting the beam, we can reflect the room itself across the x-axis and let the beam travel in a straight line. The lower half of the unit circle is the reflection of the semicircular room.\n\nBy repeatedly applying this idea, the path of the light beam in the semicircular room is equivalent to the path of a beam within a full unit circle, where reflections on the flat diameter correspond to the beam crossing the x-axis, and reflections on the semicircular arc correspond to reflections off the boundary of the full circle.\n\n**2. Analyzing the Path in the Full Unit Circle**\n\nThe light beam starts at David's position, $P_0 = (-1, 0)$. The initial angle is $46^{\\circ}$ above the horizontal (the x-axis). The path of the beam inside the circular room will be a sequence of chords.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "65",
"style": "rule"
}
|
{
"index": 528,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-239-with-guidance-2
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "Find the smallest integer $n > 3$ such that, for each partition of $\\{3, 4, \\ldots, n\\}$ into two sets, at least one of these sets contains three (not necessarily distinct) numbers $a, b, c$ for which $ab = c$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "243",
"style": "rule"
}
|
{
"index": 271,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-168-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nGiven that the 32-digit integer 64312311692944269609355712372657 is the product of 6 consecutive primes, compute the sum of these 6 primes.\n\nPartial Response:\nLet N be the given 32-digit integer:\n$N = 64312311692944269609355712372657$.\nLet the six consecutive primes be $p_1, p_2, p_3, p_4, p_5, p_6$.\nThe problem states that $N = p_1 \\cdot p_2 \\cdot p_3 \\cdot p_4 \\cdot p_5 \\cdot p_6$.\nWe are asked to find the sum $S = p_1 + p_2 + p_3 + p_4 + p_5 + p_6$.\n\nFirst, let's estimate the magnitude of these primes.\nLet $p$ be the geometric mean of the primes, so $p \\approx N^{1/6}$.\n$N$ is a 32-digit number, so $10^{31} \\le N < 10^{32}$.\n$N \\approx 6.43 \\times 10^{31}$.\n$p \\approx (6.43 \\times 10^{31})^{1/6} = (6.43)^{1/6} \\times 10^{31/6} = (6.43)^{1/6} \\times 10^{5 + 1/6} = (64.3)^{1/6} \\times 10^5$.\nSince $2^6 = 64$, $(64.3)^{1/6}$ is slightly greater than 2.\nSo, the primes are centered around $2 \\times 10^5 = 200000$.\n\nLet's set a reference point $P = 200000$.\nWe can express each prime $p_i$ as $p_i = P + x_i$ for $i=1, \\dots, 6$.\nSince the primes are consecutive and centered around a value slightly larger than 200000, the values of $x_i$ will be relatively small positive integers.\nThe sum of the primes is $S = \\sum_{i=1}^6 (P + x_i) = 6P + \\sum_{i=1}^6 x_i = 1200000 + X$, where $X = \\sum_{i=1}^6 x_i$.\nOur goal is to find the value of $X$.\n\nLet's expand the product $N$:\n$N = \\prod_{i=1}^6 (P + x_i) = P^6 + (\\sum x_i)P^5 + (\\sum_{i<j} x_i x_j)P^4 + \\dots$\nLet $e_k$ be the elementary symmetric polynomial of degree $k$ in the variables $x_1, \\dots, x_6$. So $X=e_1$.\n$N = P^6 + e_1 P^5 + e_2 P^4 + e_3 P^3 + e_4 P^2 + e_5 P + e_6$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "1200974",
"style": "rule"
}
|
{
"index": 471,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-202-with-guidance-0
|
without-guidance
|
[
{
"content": "Diana is playing a card game against a computer. She starts with a deck consisting of a single card labeled 0.9. Each turn, Diana draws a random card from her deck, while the computer generates a card with a random real number drawn uniformly from the interval $[0,1]$. If the number on Diana's card is larger, she keeps her current card and also adds the computer's card to her deck. Otherwise, the computer takes Diana's card. After $k$ turns, Diana's deck is empty. Compute the expected value of $k$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "100",
"style": "rule"
}
|
{
"index": 234,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-151-without-guidance
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "Let $N$ be the number of convex $27$-gons up to rotation there are such that each side has length $ 1$ and each angle is a multiple of $2\\pi/81$. Find the remainder when $N$ is divided by $23$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "12",
"style": "rule"
}
|
{
"index": 316,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-189-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nPlayers $A$ and $B$ play a game on a blackboard that initially contains 2020 copies of the number 1. In every round, player $A$ erases two numbers $x$ and $y$ from the blackboard, and then player $B$ writes one of the numbers $x+y$ and $|x-y|$ on the blackboard. The game terminates as soon as, at the end of some round, one of the following holds:\n\n(1) one of the numbers on the blackboard is larger than the sum of all other numbers;\n\n(2) there are only zeros on the blackboard.\n\nPlayer $B$ must then give as many cookies to player $A$ as there are numbers on the blackboard. Player $A$ wants to get as many cookies as possible, whereas player $B$ wants to give as few as possible. Determine the number of cookies that $A$ receives if both players play optimally.\n\nPartial Response:\nLet $N$ be the number of numbers on the blackboard. Initially, $N_0 = 2020$.\nIn each round, $N$ decreases by 1. So after $k$ rounds, $N_k = 2020-k$.\nPlayer A wants to maximize the number of cookies, $N_{end}$, which means A wants to minimize the number of rounds, $k$.\nPlayer B wants to minimize $N_{end}$, which means B wants to maximize $k$.\nThe game is a zero-sum game on the number of rounds $k$.\n\nLet $\\Sigma$ be the sum of the numbers on the blackboard. Initially, $\\Sigma_0 = 2020 \\times 1 = 2020$.\nWhen A chooses $x, y$ and B chooses $x+y$, the sum $\\Sigma$ remains unchanged.\nWhen B chooses $|x-y|$, the sum changes by $|x-y| - (x+y) = -2\\min(x,y)$. The sum decreases by an even number.\nTherefore, the parity of the sum $\\Sigma$ is an invariant. Since $\\Sigma_0=2020$ is even, $\\Sigma$ will always be even.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "7",
"style": "rule"
}
|
{
"index": 430,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-173-with-guidance-3
|
without-guidance
|
[
{
"content": "Over all pairs of complex numbers $(x, y)$ satisfying the equations $$x+2y^{2}=x^{4} \\quad \\text{and} \\quad y+2x^{2}=y^{4}$$ compute the minimum possible real part of $x$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\sqrt[3]{\\frac{1-\\sqrt{33}}{2}}",
"style": "rule"
}
|
{
"index": 23,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-15-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nA cylinder radius $12$ and a cylinder radius $36$ are held tangent to each other with a tight band. The length of the band is $m\\sqrt{k}+n\\pi$ where $m$, $k$, and $n$ are positive integers, and $k$ is not divisible by the square of any prime. Find $m + k + n$.\n\nPartial Response:\nThe problem asks for the length of a tight band wrapped around two tangent cylinders. The cross-section of this setup is two tangent circles. The length of the band is the sum of the lengths of two straight segments (common external tangents) and two circular arcs.\n\nLet the two circles have centers $O_1$ and $O_2$, and radii $r_1 = 12$ and $r_2 = 36$.\nSince the circles are tangent, the distance between their centers is $d = O_1O_2 = r_1 + r_2 = 12 + 36 = 48$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "107",
"style": "rule"
}
|
{
"index": 324,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-130-with-guidance-2
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nFind the sum of all positive integers $n$ for which \n\\[\\frac{15\\cdot n!^2+1}{2n-3}\\]\nis an integer.\n\n[i]Proposed by Andrew Gu.[/i]\n\nPartial Response:\nLet the given expression be $K$. We are looking for all positive integers $n$ such that $K = \\frac{15 \\cdot n!^2 + 1}{2n-3}$ is an integer. This is equivalent to the condition $2n-3 \\mid 15 \\cdot n!^2 + 1$.\n\nLet's test small values of $n$.\n- For $n=1$, $2n-3 = -1$. The expression is $\\frac{15 \\cdot 1!^2 + 1}{-1} = -16$, which is an integer. So $n=1$ is a solution.\n- For $n=2$, $2n-3 = 1$. The expression is $\\frac{15 \\cdot 2!^2 + 1}{1} = 61$, which is an integer. So $n=2$ is a solution.\n- For $n=3$, $2n-3 = 3$. The expression is $\\frac{15 \\cdot 3!^2 + 1}{3} = \\frac{15 \\cdot 36 + 1}{3} = \\frac{541}{3}$. $5+4+1=10$, not divisible by 3. So $n=3$ is not a solution.\n- For $n=4$, $2n-3 = 5$. The expression is $\\frac{15 \\cdot 4!^2 + 1}{5}$. Since $15 \\cdot 4!^2$ is a multiple of 5, $15 \\cdot 4!^2 + 1 \\equiv 1 \\pmod{5}$. So $n=4$ is not a solution.\n\nLet $m = 2n-3$. The condition is $m \\mid 15 \\cdot n!^2 + 1$.\nNote that for $n \\ge 2$, $m$ is positive. For $n=1$, $m=-1$. We have already handled $n=1,2$. Let's analyze for $n \\ge 3$.\nFor $n \\ge 3$, we have $m = 2n-3 \\ge 2(3)-3 = 3$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "90",
"style": "rule"
}
|
{
"index": 304,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-120-with-guidance-0
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nEvan, Larry, and Alex are drawing whales on the whiteboard. Evan draws 10 whales, Larry draws 15 whales, and Alex draws 20 whales. Michelle then starts randomly erasing whales one by one. The probability that she finishes erasing Larry's whales first can be expressed as $\\frac{p}{q}$. Compute $p+q$.\n\nPartial Response:\nHere is a step-by-step solution to the problem:\n\n**1. Understand the Goal**\nWe need to find the probability that all of Larry's 15 whales are erased before the last of Evan's 10 whales and before the last of Alex's 20 whales.\n\n**2. Define the Events**\nLet N_E, N_L, and N_A be the number of whales drawn by Evan, Larry, and Alex, respectively.\n* N_E = 10\n* N_L = 15\n* N_A = 20\nThe total number of whales is N = N_E + N_L + N_A = 10 + 15 + 20 = 45.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "137",
"style": "rule"
}
|
{
"index": 280,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-108-with-guidance-0
|
without-guidance
|
[
{
"content": "Let $P_1,P_2,\\dots,P_n$ be $n$ distinct points over a line in the plane ($n\\geq2$). Consider all the circumferences with diameters $P_iP_j$ ($1\\leq{i,j}\\leq{n}$) and they are painted with $k$ given colors. Lets call this configuration a ($n,k$)-cloud.\n\nFor each positive integer $k$, find all the positive integers $n$ such that every possible ($n,k$)-cloud has two mutually exterior tangent circumferences of the same color.",
"role": "user"
}
] |
math
|
{
"ground_truth": "n \\geq 2^k + 1",
"style": "rule"
}
|
{
"index": 263,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-165-without-guidance
|
without-guidance
|
[
{
"content": "If $x,y$ are real, then the $\\textit{absolute value}$ of the complex number $z=x+yi$ is \\[|z|=\\sqrt{x^2+y^2}.\\] Find the number of polynomials $f(t)=A_0+A_1t+A_2t^2+A_3t^3+t^4$ such that $A_0,\\ldots,A_3$ are integers and all roots of $f$ in the complex plane have absolute value $\\leq 1$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "43",
"style": "rule"
}
|
{
"index": 311,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-187-without-guidance
|
without-guidance
|
[
{
"content": "Butch and Sundance need to get out of Dodge. To travel as quickly as possible, each alternates walking and riding their only horse, Sparky, as follows. Butch begins by walking while Sundance rides. When Sundance reaches the first of the hitching posts that are conveniently located at one-mile intervals along their route, he ties Sparky to the post and begins walking. When Butch reaches Sparky, he rides until he passes Sundance, then leaves Sparky at the next hitching post and resumes walking, and they continue in this manner. Sparky, Butch, and Sundance walk at $6,$ $4,$ and $2.5$ miles per hour, respectively. The first time Butch and Sundance meet at a milepost, they are $n$ miles from Dodge, and they have been traveling for $t$ minutes. Find $n + t$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "279",
"style": "rule"
}
|
{
"index": 344,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-205-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nA cube-shaped container has vertices $A,$ $B,$ $C,$ and $D,$ where $\\overline{AB}$ and $\\overline{CD}$ are parallel edges of the cube, and $\\overline{AC}$ and $\\overline{BD}$ are diagonals of faces of the cube, as shown. Vertex $A$ of the cube is set on a horizontal plane $\\mathcal{P}$ so that the plane of the rectangle $ABDC$ is perpendicular to $\\mathcal{P},$ vertex $B$ is $2$ meters above $\\mathcal{P},$ vertex $C$ is $8$ meters above $\\mathcal{P},$ and vertex $D$ is $10$ meters above $\\mathcal{P}.$ The cube contains water whose surface is parallel to $\\mathcal{P}$ at a height of $7$ meters above $\\mathcal{P}.$ The volume of water is $\\frac{m}{n}$ cubic meters, where $m$ and $n$ are relatively prime positive integers. Find $m+n.$\n\nPartial Response:\nLet the side length of the cube be $s$. Let the horizontal plane $\\mathcal{P}$ be the $xy$-plane in a 3D Cartesian coordinate system. The height of a point is its $z$-coordinate.\nWe are given the heights of four vertices of the cube: $z_A=0$, $z_B=2$, $z_C=8$, $z_D=10$.\nLet $\\vec{e}_1, \\vec{e}_2, \\vec{e}_3$ be the three mutually orthogonal edge vectors of the cube, originating from a vertex. Their length is $s$, so $|\\vec{e}_1|=|\\vec{e}_2|=|\\vec{e}_3|=s$.\n\nThe problem states that $\\overline{AB}$ and $\\overline{CD}$ are parallel edges. This means that the vector $\\vec{AB}$ is the same as $\\vec{DC}$ (or $\\vec{CD}$). Let's assume the vertices are labeled such that $\\vec{AB}=\\vec{DC}$. This means $\\mathbf{b}-\\mathbf{a} = \\mathbf{c}-\\mathbf{d}$, which implies $\\mathbf{a}+\\mathbf{c}=\\mathbf{b}+\\mathbf{d}$. Checking the $z$-coordinates: $z_A+z_C = 0+8=8$ and $z_B+z_D=2+10=12$. Since $8 \\neq 12$, this is not the correct vertex arrangement.\nLet's assume $\\vec{AB}=\\vec{CD}$. This means $\\mathbf{b}-\\mathbf{a} = \\mathbf{d}-\\mathbf{c}$, which implies $\\mathbf{a}+\\mathbf{d}=\\mathbf{b}+\\mathbf{c}$. Checking the $z$-coordinates: $z_A+z_D = 0+10=10$ and $z_B+z_C=2+8=10$. This is consistent. This arrangement means that $A, B, C, D$ form a parallelogram with diagonals $AD$ and $BC$. The problem states that these four vertices form a rectangle.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "751",
"style": "rule"
}
|
{
"index": 292,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-114-with-guidance-0
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nIn the Cartesian plane, a perfectly reflective semicircular room is bounded by the upper half of the unit circle centered at $(0,0)$ and the line segment from $(-1,0)$ to $(1,0)$. David stands at the point $(-1,0)$ and shines a flashlight into the room at an angle of $46^{\\circ}$ above the horizontal. How many times does the light beam reflect off the walls before coming back to David at $(-1,0)$ for the first time?\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**1. Understanding the Geometry and Reflections**\n\nThe room is a semicircle defined by the upper half of the unit circle ($x^2+y^2=1, y \\ge 0$) and the diameter on the x-axis (from $x=-1$ to $x=1$). The walls are perfectly reflective.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "65",
"style": "rule"
}
|
{
"index": 528,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-239-with-guidance-0
|
without-guidance
|
[
{
"content": "Let $A = {1,2,3,4,5}$ and $B = {0,1,2}$. Find the number of pairs of functions ${{f,g}}$ where both f and g map the set A into the set B and there are exactly two elements $x \\in A$ where $f(x) = g(x)$. For example, the function f that maps $1 \\rightarrow 0,2 \\rightarrow 1,3 \\rightarrow 0,4 \\rightarrow 2,5 \\rightarrow 1$ and the constant function g which maps each element of A to 0 form such a pair of functions.",
"role": "user"
}
] |
math
|
{
"ground_truth": "9720",
"style": "rule"
}
|
{
"index": 325,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-194-without-guidance
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "Five people are at a party. Each pair of them are friends, enemies, or frenemies (which is equivalent to being both friends and enemies). It is known that given any three people $A, B, C$ : - If $A$ and $B$ are friends and $B$ and $C$ are friends, then $A$ and $C$ are friends; - If $A$ and $B$ are enemies and $B$ and $C$ are enemies, then $A$ and $C$ are friends; - If $A$ and $B$ are friends and $B$ and $C$ are enemies, then $A$ and $C$ are enemies. How many possible relationship configurations are there among the five people?",
"role": "user"
}
] |
math
|
{
"ground_truth": "17",
"style": "rule"
}
|
{
"index": 389,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-236-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nTessa picks three real numbers $x, y, z$ and computes the values of the eight expressions of the form $\\pm x \\pm y \\pm z$. She notices that the eight values are all distinct, so she writes the expressions down in increasing order. How many possible orders are there?\n\nPartial Response:\nLet the three real numbers be $x, y, z$. The eight expressions are of the form $s_1 x + s_2 y + s_3 z$, where $s_1, s_2, s_3 \\in \\{-1, 1\\}$. Let $v = (x,y,z)$ and $s = (s_1,s_2,s_3)$. The eight expressions are the dot products $s \\cdot v$.\n\nThe problem asks for the number of possible orderings of these eight values. An ordering is defined by a sequence of the eight sign vectors $s \\in \\{-1,1\\}^3$. For the eight values to be distinct, $s_a \\cdot v \\neq s_b \\cdot v$ for any two distinct sign vectors $s_a, s_b$. This is equivalent to $(s_a - s_b) \\cdot v \\neq 0$.\n\nThe vector $s_a - s_b$ has components in $\\{-2, 0, 2\\}$. Dividing by 2, this condition becomes $c \\cdot v \\neq 0$ for any vector $c$ with components in $\\{-1, 0, 1\\}$, where $c$ is not the zero vector. These vectors $c$ define a set of planes through the origin in the 3D space of $(x,y,z)$. The possible orderings are determined by which region, defined by these planes, the point $(x,y,z)$ lies in. For any two points in the same region, the ordering of the eight values is the same. Thus, the number of possible orderings is the number of regions these planes divide $\\mathbb{R}^3$ into.\n\nLet's identify the planes. The vectors $c=(c_1,c_2,c_3)$ with $c_i \\in \\{-1,0,1\\}$ (not all zero) give the normal vectors to the planes. Up to a sign, these normal vectors are:\n1. Vectors with one non-zero component: $(1,0,0), (0,1,0), (0,0,1)$. These correspond to the planes $x=0, y=0, z=0$. There are 3 such planes.\n2. Vectors with two non-zero components: $(1,1,0), (1,-1,0), (1,0,1), (1,0,-1), (0,1,1), (0,1,-1)$. These correspond to the planes $x \\pm y = 0, x \\pm z = 0, y \\pm z = 0$. There are 6 such planes.\n3. Vectors with three non-zero components: $(1,1,1), (1,1,-1), (1,-1,1), (1,-1,-1)$. These correspond to the planes $x \\pm y \\pm z = 0$. There are 4 such planes.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "96",
"style": "rule"
}
|
{
"index": 11,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-3-with-guidance-0
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nA quagga is an extinct chess piece whose move is like a knight's, but much longer: it can move 6 squares in any direction (up, down, left, or right) and then 5 squares in a perpendicular direction. Find the number of ways to place 51 quaggas on an $8 \\times 8$ chessboard in such a way that no quagga attacks another. (Since quaggas are naturally belligerent creatures, a quagga is considered to attack quaggas on any squares it can move to, as well as any other quaggas on the same square.)\n\nPartial Response:\n**1. Understanding the Quagga's Move**\n\nA quagga's move is defined as 6 squares in one cardinal direction (up, down, left, or right) and then 5 squares in a perpendicular direction. Let's represent the squares of the 8x8 chessboard using coordinates (x, y), where 1 ≤ x, y ≤ 8. A quagga at (x, y) can move to a square (x', y') if the change in coordinates (Δx, Δy) = (|x-x'|, |y-y'|) is either (6, 5) or (5, 6).\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "68",
"style": "rule"
}
|
{
"index": 457,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-192-with-guidance-0
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"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 that $bn-a$ is divisible by the prime $2027$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "406",
"style": "rule"
}
|
{
"index": 306,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-184-without-guidance
|
without-guidance
|
[
{
"content": "In $\\triangle{ABC}$, $\\angle ABC=120^\\circ,AB=3$ and $BC=4$. If perpendiculars constructed to $\\overline{AB}$ at $A$ and to $\\overline{BC}$ at $C$ meet at $D$, then $CD=$\n$\\text{(A) } 3\\quad \\text{(B) } \\frac{8}{\\sqrt{3}}\\quad \\text{(C) } 5\\quad \\text{(D) } \\frac{11}{2}\\quad \\text{(E) } \\frac{10}{\\sqrt{3}}$",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{10}{\\sqrt{3}}",
"style": "rule"
}
|
{
"index": 339,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-202-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nFill the numbers 1 to 16 into a $4 \\times 4$ grid such that each number in a row is larger than the number to its left and each number in a column is larger than the number above it. Given that the numbers 4 and 13 are already placed in the grid, determine the number of different ways to fill the remaining 14 numbers.\n\nPartial Response:\nThis problem asks for the number of ways to fill a $4 \\times 4$ grid with numbers from 1 to 16, subject to certain rules and given placements of the numbers 4 and 13.\n\nThe rules are:\n1. The grid must be filled with the numbers {1, 2, ..., 16}, each used exactly once.\n2. In each row, the numbers are strictly increasing from left to right.\n3. In each column, the numbers are strictly increasing from top to bottom.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "1120",
"style": "rule"
}
|
{
"index": 172,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-60-with-guidance-0
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nAn integer $x$ is chosen so that $3x+1$ is an even integer. Which of the following must be an odd integer? (A) $x+3$ (B) $x-3$ (C) $2x$ (D) $7x+4$ (E) $5x+3$\n\nPartial Response:\nHere is the step-by-step solution:\n\n**Step 1: Analyze the given information.**\nWe are given that $x$ is an integer and that the expression $3x+1$ is an even integer.\n\n**Step 2: Determine the parity of x (whether x is even or odd).**\nWe know that the sum or difference of two integers has the following properties:\n* even + even = even\n* odd + odd = even\n* even + odd = odd\n\nWe are given that $3x+1$ is even. Since 1 is an odd integer, we have the situation:\n(some number) + odd = even\nBased on the properties above, the \"some number\" must be odd. Therefore, $3x$ must be an odd integer.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "7x+4",
"style": "rule"
}
|
{
"index": 106,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-38-with-guidance-2
|
without-guidance
|
[
{
"content": "Alien Connor starts at $(0,0)$ and walks around on the integer lattice. Specifically, he takes one step of length one in a uniformly random cardinal direction every minute, unless his previous four steps were all in the same directionin which case he randomly picks a new direction to step in. Every time he takes a step, he leaves toxic air on the lattice point he just left, and the toxic cloud remains there for $150$ seconds. After taking $5$ steps total, the probability that he has not encountered his own toxic waste canb be written as $\\tfrac{a}{b}$ for relatively prime positive integers $a,b.$ Find $a+b.$",
"role": "user"
}
] |
math
|
{
"ground_truth": "505",
"style": "rule"
}
|
{
"index": 323,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-193-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nIn a wooden block shaped like a cube, all the vertices and edge midpoints are marked. The cube is cut along all possible planes that pass through at least four marked points. Let \\(N\\) be the number of pieces the cube is cut into. Estimate \\(N\\). An estimate of \\(E>0\\) earns \\(\\lfloor 20 \\min (N / E, E / N)\\rfloor\\) points.\n\nPartial Response:\nHere is a step-by-step solution to the problem:\n\n**1. Identify the Marked Points**\n\nFirst, we need to identify all the marked points on the cube. Let's set up a coordinate system with the center of the cube at the origin (0,0,0) and its edges parallel to the axes. Let the vertices of the cube be at (±1, ±1, ±1).\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "15600",
"style": "rule"
}
|
{
"index": 512,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-228-with-guidance-0
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nLet $\\triangle ABC$ be an equilateral triangle of side length 1. Let $D,E,F$ be points on $BC,AC,AB$ respectively, such that $\\frac{DE}{20} = \\frac{EF}{22} = \\frac{FD}{38}$. Let $X,Y,Z$ be on lines $BC,CA,AB$ respectively, such that $XY\\perp DE, YZ\\perp EF, ZX\\perp FD$. Find all possible values of $\\frac{1}{[DEF]} + \\frac{1}{[XYZ]}$.\n\nPartial Response:\nLet $\\triangle ABC$ be an equilateral triangle with side length 1. Its area is $[ABC] = \\frac{\\sqrt{3}}{4}$.\nLet the side lengths of $\\triangle DEF$ be $d=FD, e=DE, f=EF$. We are given the ratio $\\frac{e}{20} = \\frac{f}{22} = \\frac{d}{38}$. Let this ratio be $k$. So $e=20k, f=22k, d=38k$. The shape of $\\triangle DEF$ is thus fixed.\nThe vertices $D,E,F$ lie on the sides of $\\triangle ABC$. The circumcircles of $\\triangle AFE, \\triangle BDF, \\triangle CDE$ meet at a common point $K$, the Miquel point of $\\triangle DEF$ with respect to $\\triangle ABC$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{97 \\sqrt{2} + 40 \\sqrt{3}}{15}",
"style": "rule"
}
|
{
"index": 444,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-182-with-guidance-2
|
without-guidance
|
[
{
"content": "A \\emph{transversal} of an $n\\times n$ matrix $A$ consists of $n$ entries of $A$, no two in the same row or column. Let $f(n)$ be the number of $n \\times n$ matrices $A$ satisfying the following two conditions: \\begin{enumerate} \\item[(a)] Each entry $\\alpha_{i,j}$ of $A$ is in the set $\\{-1,0,1\\}$. \\item[(b)] The sum of the $n$ entries of a transversal is the same for all transversals of $A$. \\end{enumerate} An example of such a matrix $A$ is \\[ A = \\left( \\begin{array}{ccc} -1 & 0 & -1 \\\\ 0 & 1 & 0 \\\\ 0 & 1 & 0 \\end{array} \\right). \\] Determine with proof a formula for $f(n)$ of the form \\[ f(n) = a_1 b_1^n + a_2 b_2^n + a_3 b_3^n + a_4, \\] where the $a_i$'s and $b_i$'s are rational numbers.",
"role": "user"
}
] |
math
|
{
"ground_truth": "4^n + 2 \\cdot 3^n - 4 \\cdot 2^n + 1",
"style": "rule"
}
|
{
"index": 210,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-135-without-guidance
|
without-guidance
|
[
{
"content": "Some people like to write with larger pencils than others. Ed, for instance, likes to write with the longest pencils he can find. However, the halls of MIT are of limited height $L$ and width $L$. What is the longest pencil Ed can bring through the halls so that he can negotiate a square turn?",
"role": "user"
}
] |
math
|
{
"ground_truth": "3 L",
"style": "rule"
}
|
{
"index": 10,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-7-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\n(Caos) A cao [sic] has 6 legs, 3 on each side. A walking pattern for the cao is defined as an ordered sequence of raising and lowering each of the legs exactly once (altogether 12 actions), starting and ending with all legs on the ground. The pattern is safe if at any point, he has at least 3 legs on the ground and not all three legs are on the same side. Estimate $N$, the number of safe patterns.\n\nPartial Response:\nTo solve this problem, we need to count the number of valid sequences of 12 actions (raising and lowering each of the 6 legs once). A sequence is \"safe\" if, at every intermediate step, two conditions are met. This type of problem, involving sequences and states with constraints, is well-suited for a dynamic programming or memoized recursion approach.\n\n### 1. Defining the State\nLet's categorize the state of each of the 6 legs. A leg can be in one of three states:\n* State 0: On the ground, not yet raised.\n* State 1: Raised in the air.\n* State 2: On the ground, after having been raised and lowered.\n\nThe entire process for a single leg is a transition from State 0 to State 1 (raising), and then from State 1 to State 2 (lowering).\n\nSince the safety conditions depend on the number of legs on each side, we can define a more compact state for our calculation. The state can be represented by a tuple `(l0, l1, l2, r0, r1, r2)`, where:\n* `l0`, `l1`, `l2` are the number of left legs in State 0, 1, and 2, respectively.\n* `r0`, `r1`, `r2` are the number of right legs in State 0, 1, and 2, respectively.\n\nWe know that `l0 + l1 + l2 = 3` and `r0 + r1 + r2 = 3` at all times.\n\n* **Initial State:** All 6 legs are on the ground and have not been moved. So, all legs are in State 0.\n The initial state is `(3, 0, 0, 3, 0, 0)`.\n* **Final State:** All 6 legs have been raised and lowered, ending up on the ground. So, all legs are in State 2.\n The final state is `(0, 0, 3, 0, 0, 3)`.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "1416528",
"style": "rule"
}
|
{
"index": 478,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-206-with-guidance-0
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nWe say a triple $\\left(a_{1}, a_{2}, a_{3}\\right)$ of nonnegative reals is better than another triple $\\left(b_{1}, b_{2}, b_{3}\\right)$ if two out of the three following inequalities $a_{1}>b_{1}, a_{2}>b_{2}, a_{3}>b_{3}$ are satisfied. We call a triple $(x, y, z)$ special if $x, y, z$ are nonnegative and $x+y+z=1$. Find all natural numbers $n$ for which there is a set $S$ of $n$ special triples such that for any given special triple we can find at least one better triple in $S$.\n\nPartial Response:\nLet $A = (a_1, a_2, a_3)$ and $B = (b_1, b_2, b_3)$ be two triples. We say $A$ is better than $B$, denoted $A >_B B$, if $|\\{i \\in \\{1,2,3\\} : a_i > b_i\\}| \\ge 2$.\nA triple $(x,y,z)$ is special if $x,y,z \\ge 0$ and $x+y+z=1$. Let $T$ be the set of special triples.\nWe are looking for $n \\in \\mathbb{N}$ such that there exists a set $S = \\{S_1, \\dots, S_n\\} \\subset T$ where for any $B \\in T$, there is an $S_i \\in S$ with $S_i >_B B$.\n\nLet $S = \\{S_1, \\dots, S_n\\}$ be a set of special triples. Suppose there exists a special triple $B=(b_1, b_2, b_3)$ such that no triple in $S$ is better than $B$.\nFor any $S_i = (a_{i1}, a_{i2}, a_{i3}) \\in S$, the condition $S_i >_B B$ is false. This means $|\\{j \\in \\{1,2,3\\} : a_{ij} > b_j\\}| \\le 1$.\nThis is equivalent to saying that for each $i \\in \\{1, \\dots, n\\}$, at least two of the inequalities $a_{ij} \\le b_j$ hold for $j \\in \\{1,2,3\\}$.\nLet's analyze this condition. For each $S_i$, one of the following must be true:\n1. $a_{i2} \\le b_2$ and $a_{i3} \\le b_3$\n2. $a_{i1} \\le b_1$ and $a_{i3} \\le b_3$\n3. $a_{i1} \\le b_1$ and $a_{i2} \\le b_2$\n\nIf such a $B$ exists, let's partition the set of indices $\\{1, \\dots, n\\}$ into three subsets $C_1, C_2, C_3$ (some may be empty). For $i \\in C_1$, we have $a_{i2} \\le b_2$ and $a_{i3} \\le b_3$. For $i \\in C_2$, we have $a_{i1} \\le b_1$ and $a_{i3} \\le b_3$. For $i \\in C_3$, we have $a_{i1} \\le b_1$ and $a_{i2} \\le b_2$.\nSince for each $i$, one of the three conditions must hold, we can state that there exists a partition $(C_1, C_2, C_3)$ of $\\{1, \\dots, n\\}$ such that:\nFor all $i \\in C_1$, $a_{i2} \\le b_2$ and $a_{i3} \\le b_3$.\nFor all $i \\in C_2$, $a_{i1} \\le b_1$ and $a_{i3} \\le b_3$.\nFor all $i \\in C_3$, $a_{i1} \\le b_1$ and $a_{i2} \\le b_2$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "n \\geq 4",
"style": "rule"
}
|
{
"index": 256,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-93-with-guidance-2
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nFind the largest positive integer $m$ which makes it possible to color several cells of a $70\\times 70$ table red such that [list] [*] There are no two red cells satisfying: the two rows in which they are have the same number of red cells, while the two columns in which they are also have the same number of red cells; [*] There are two rows with exactly $m$ red cells each. [/list]\n\nPartial Response:\nLet $S$ be the set of red cells in the $70 \\times 70$ table. For a cell at position $(i, j)$, let $r_i$ be the number of red cells in row $i$, and $c_j$ be the number of red cells in column $j$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "32",
"style": "rule"
}
|
{
"index": 446,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-184-with-guidance-0
|
without-guidance
|
[
{
"content": "A \\emph{transversal} of an $n\\times n$ matrix $A$ consists of $n$ entries of $A$, no two in the same row or column. Let $f(n)$ be the number of $n \\times n$ matrices $A$ satisfying the following two conditions: \\begin{enumerate} \\item[(a)] Each entry $\\alpha_{i,j}$ of $A$ is in the set $\\{-1,0,1\\}$. \\item[(b)] The sum of the $n$ entries of a transversal is the same for all transversals of $A$. \\end{enumerate} An example of such a matrix $A$ is \\[ A = \\left( \\begin{array}{ccc} -1 & 0 & -1 \\\\ 0 & 1 & 0 \\\\ 0 & 1 & 0 \\end{array} \\right). \\] Determine with proof a formula for $f(n)$ of the form \\[ f(n) = a_1 b_1^n + a_2 b_2^n + a_3 b_3^n + a_4, \\] where the $a_i$'s and $b_i$'s are rational numbers.",
"role": "user"
}
] |
math
|
{
"ground_truth": "4^n + 2 \\cdot 3^n - 4 \\cdot 2^n + 1",
"style": "rule"
}
|
{
"index": 210,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-135-without-guidance
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "Let $x_{1}=y_{1}=x_{2}=y_{2}=1$, then for $n \\geq 3$ let $x_{n}=x_{n-1} y_{n-2}+x_{n-2} y_{n-1}$ and $y_{n}=y_{n-1} y_{n-2}- x_{n-1} x_{n-2}$. What are the last two digits of $\\left|x_{2012}\\right|$ ?",
"role": "user"
}
] |
math
|
{
"ground_truth": "84",
"style": "rule"
}
|
{
"index": 236,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-152-without-guidance
|
without-guidance
|
[
{
"content": "Point $B$ is in the exterior of the regular $n$-sided polygon $A_1A_2\\cdots A_n$, and $A_1A_2B$ is an equilateral triangle. What is the largest value of $n$ for which $A_1$, $A_n$, and $B$ are consecutive vertices of a regular polygon?",
"role": "user"
}
] |
math
|
{
"ground_truth": "42",
"style": "rule"
}
|
{
"index": 285,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-176-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nA parking lot consists of 2012 parking spots equally spaced in a line, numbered 1 through 2012. One by one, 2012 cars park in these spots under the following procedure: the first car picks from the 2012 spots uniformly randomly, and each following car picks uniformly randomly among all possible choices which maximize the minimal distance from an already parked car. What is the probability that the last car to park must choose spot 1?\n\nPartial Response:\nLet $N=2012$ be the number of parking spots. The spots are numbered $1, 2, \\dots, N$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{1}{2062300}",
"style": "rule"
}
|
{
"index": 498,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-221-with-guidance-1
|
without-guidance
|
[
{
"content": "A line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 2 \\\\ 1 \\end{pmatrix} + s \\begin{pmatrix} 4 \\\\ -1 \\end{pmatrix}.\\]\nA second line is parameterized by\n\\[\\begin{pmatrix} x \\\\ y \\end{pmatrix} = \\begin{pmatrix} 3 \\\\ 7 \\end{pmatrix} + v \\begin{pmatrix} -2 \\\\ 5 \\end{pmatrix}.\\]\nIf $\\theta$ is the angle formed by the two lines, then find $\\cos \\theta.$ Also, verify if the point \\((5, 0)\\) lies on the first line.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{-13}{\\sqrt{493}}",
"style": "rule"
}
|
{
"index": 424,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-255-without-guidance
|
without-guidance
|
[
{
"content": "We are given $n$ coins of different weights and $n$ balances, $n>2$. On each turn one can choose one balance, put one coin on the right pan and one on the left pan, and then delete these coins out of the balance. It's known that one balance is wrong (but it's not known ehich exactly), and it shows an arbitrary result on every turn. What is the smallest number of turns required to find the heaviest coin?\n\n[hide=Thanks]Thanks to the user Vlados021 for translating the problem.[/hide]",
"role": "user"
}
] |
math
|
{
"ground_truth": "2n - 1",
"style": "rule"
}
|
{
"index": 116,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-74-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nWe say a triple of real numbers $ (a_1,a_2,a_3)$ is [b]better[/b] than another triple $ (b_1,b_2,b_3)$ when exactly two out of the three following inequalities hold: $ a_1 > b_1$, $ a_2 > b_2$, $ a_3 > b_3$. We call a triple of real numbers [b]special[/b] when they are nonnegative and their sum is $ 1$.\n\nFor which natural numbers $ n$ does there exist a collection $ S$ of special triples, with $ |S| \\equal{} n$, such that any special triple is bettered by at least one element of $ S$?\n\nPartial Response:\nLet $A = (a_1, a_2, a_3)$ and $B = (b_1, b_2, b_3)$ be two triples of real numbers. We say $A$ is **better** than $B$, denoted $A >_B B$, if exactly two of the three inequalities $a_1 > b_1$, $a_2 > b_2$, $a_3 > b_3$ hold.\n\nA triple $A=(a_1,a_2,a_3)$ is **special** if $a_i \\ge 0$ for $i=1,2,3$ and $a_1+a_2+a_3=1$. Let $\\mathcal{T}$ be the set of all special triples.\n\nThe problem asks for which natural numbers $n$ there exists a set $S = \\{A_1, \\dots, A_n\\}$ of special triples such that for any special triple $B \\in \\mathcal{T}$, there is at least one $A \\in S$ that is better than $B$.\n\nLet's analyze the \"better\" condition for special triples. Let $A, B \\in \\mathcal{T}$.\nLet's assume $a_1 > b_1$ and $a_2 > b_2$. The sum of components is 1 for both triples, so $\\sum(a_i-b_i)=0$. This means $(a_1-b_1) + (a_2-b_2) + (a_3-b_3) = 0$.\nSince $a_1-b_1 > 0$ and $a_2-b_2 > 0$, we must have $a_3-b_3 < 0$, which means $a_3 < b_3$.\nSo, $A >_B B$ if and only if for some permutation $(i,j,k)$ of $(1,2,3)$, we have $a_i > b_i$, $a_j > b_j$, and $a_k < b_k$. Note that we cannot have $a_k=b_k$, as that would imply $(a_i-b_i)+(a_j-b_j)=0$, which is impossible for two positive numbers.\n\nLet $S = \\{A_1, \\dots, A_n\\}$ be a set as described in the problem. The condition is that for any $B \\in \\mathcal{T}$, there is an $A_j \\in S$ such that $A_j >_B B$.\nThis must hold for $B \\in S$ as well. Let $B = A_k \\in S$. Then there must be some $A_j \\in S$ such that $A_j >_B A_k$. A triple cannot better itself, so $j \\ne k$.\n\nLet's check small values of $n$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "n\\geq4",
"style": "rule"
}
|
{
"index": 267,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-100-with-guidance-2
|
without-guidance
|
[
{
"content": "Let $S$ be a set, $|S|=35$. A set $F$ of mappings from $S$ to itself is called to be satisfying property $P(k)$, if for any $x,y\\in S$, there exist $f_1, \\cdots, f_k \\in F$ (not necessarily different), such that $f_k(f_{k-1}(\\cdots (f_1(x))))=f_k(f_{k-1}(\\cdots (f_1(y))))$.\nFind the least positive integer $m$, such that if $F$ satisfies property $P(2019)$, then it also satisfies property $P(m)$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "595",
"style": "rule"
}
|
{
"index": 381,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-231-without-guidance
|
with-guidance
|
[
{
"content": "You are given a problem and a partial solution.\n\nYour task is to carefully study the partial response, identify what reasoning or steps are already provided, and then complete the solution from where it left off. Ensure your continuation is logically consistent and leads to a complete and correct final answer.\n\n**Important**: Show your reasoning step-by-step, and clearly present the final answer using LaTeX-style `\\boxed{}` notation.\n\nProblem:\nFor each real number $x$, let\n\\[\nf(x) = \\sum_{n\\in S_x} \\frac{1}{2^n},\n\\]\nwhere $S_x$ is the set of positive integers $n$ for which $\\lfloor nx \\rfloor$ is even. What is the largest real number $L$ such that $f(x) \\geq L$ for all $x \\in [0,1)$? (As usual, $\\lfloor z \\rfloor$ denotes the greatest integer less than or equal to $z$.)\n\nPartial Response:\nLet $f(x) = \\sum_{n\\in S_x} \\frac{1}{2^n}$, where $S_x = \\{n \\in \\mathbb{Z}^+ : \\lfloor nx \\rfloor \\text{ is even}\\}$. We want to find the largest real number $L$ such that $f(x) \\geq L$ for all $x \\in [0,1)$. This is equivalent to finding $L = \\inf_{x \\in [0,1)} f(x)$.\n\nLet's analyze the condition for $n \\in S_x$. The floor $\\lfloor nx \\rfloor$ is even if and only if there exists an integer $k$ such that $2k \\le nx < 2k+1$. This is equivalent to $\\{nx/2\\} < 1/2$, where $\\{y\\}$ denotes the fractional part of $y$.\n\nContinue solving the problem, starting from where the partial response ends. Make sure your final answer is written as: \\boxed{your_answer_here}\n",
"role": "user"
}
] |
math
|
{
"ground_truth": "4/7",
"style": "rule"
}
|
{
"index": 398,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-159-with-guidance-2
|
without-guidance
|
[
{
"content": "A ball with diameter 4 inches starts at point A to roll along the track shown. The track is comprised of 3 semicircular arcs whose radii are $R_1 = 100$ inches, $R_2 = 60$ inches, and $R_3 = 80$ inches, respectively. The ball always remains in contact with the track and does not slip. What is the distance the center of the ball travels over the course from A to B?",
"role": "user"
}
] |
math
|
{
"ground_truth": "238\\pi",
"style": "rule"
}
|
{
"index": 171,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-111-without-guidance
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.