data_source
stringclasses 2
values | prompt
listlengths 1
1
| ability
stringclasses 1
value | reward_model
dict | extra_info
dict | level
stringclasses 4
values | problem_id
stringlengths 20
27
|
|---|---|---|---|---|---|---|
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:\nAfter the Guts round ends, HMMT organizers will collect all answers submitted to all 66 questions (including this one) during the individual rounds and the guts round. Estimate $N$, the smallest positive integer that no one will have submitted at any point during the tournament. An estimate of $E$ will receive $\\max (0,24-4|E-N|)$ points.\n\nPartial Response:\nThis problem is a meta-problem about the contest itself. It requires us to estimate a number based on the collective behavior of all participants. Let's break down the problem.\n\n**1. Defining N**\n\nLet $S$ be the set of all positive integers submitted as answers to any of the 66 questions in the tournament by any team.\nThe problem asks for an estimate of $N$, which is the smallest positive integer *not* in the set $S$.\n$N = \\min(\\mathbb{Z}^+ \\setminus S)$.\n\n**2. The Self-Reference Paradox**\n\nLet's say my team decides to submit the integer $E$ as the answer to this question. By the definition of the set $S$, our submission $E$ will be included in $S$.\nThis means that $E \\in S$.\nSince $N$ is the smallest positive integer *not* in $S$, it must be that $N \\neq E$.\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": "139",
"style": "rule"
}
|
{
"index": 475,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-204-with-guidance-1
|
without-guidance
|
[
{
"content": "Let $S$ be a subset with four elements chosen from \\{1,2, \\ldots, 10\\}$. Michael notes that there is a way to label the vertices of a square with elements from $S$ such that no two vertices have the same label, and the labels adjacent to any side of the square differ by at least 4 . How many possibilities are there for the subset $S$ ?",
"role": "user"
}
] |
math
|
{
"ground_truth": "36",
"style": "rule"
}
|
{
"index": 71,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-48-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:\nOn an exam there are 5 questions, each with 4 possible answers. 2000 students went on the exam and each of them chose one answer to each of the questions. Find the least possible value of $n$ , for which it is possible for the answers that the students gave to have the following property: From every $n$ students there are 4, among each, every 2 of them have no more than 3 identical answers.\n\nPartial Response:\nLet's denote the answer sheet of a student as a vector of length 5, with entries from $\\{1, 2, 3, 4\\}$. The total number of possible answer sheets is $4^5 = 1024$.\n\nLet $S$ be the set of 2000 students. For any two students, say student $i$ and student $j$, let $A_i$ and $A_j$ be their respective answer sheets. Let $d(A_i, A_j)$ be the number of identical answers between them. The problem states a property about finding 4 students, let's call them a \"good quartet\", where for any two students $i, j$ in the quartet, $d(A_i, A_j) \\le 3$.\n\nThe problem asks for the least integer $n$ for which it's possible to have a distribution of answers for the 2000 students such that any group of $n$ students contains a \"good quartet\".\n\nLet's rephrase the problem in terms of graph theory. Let the 2000 students be the vertices of a graph $G$. We draw an edge between two students $i$ and $j$ if $d(A_i, A_j) \\le 3$. The property of a \"good quartet\" means finding a set of 4 students that form a clique of size 4 ($K_4$) in this graph $G$.\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": "25",
"style": "rule"
}
|
{
"index": 155,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-55-with-guidance-1
|
without-guidance
|
[
{
"content": "A 16 ×16 square sheet of paper is folded once in half horizontally and once in half vertically to make an 8 × 8 square. This square is again folded in half twice to make a 4 × 4 square. This square is folded in half twice to make a 2 × 2 square. This square is folded in half twice to make a 1 × 1 square. Finally, a scissor is used to make cuts through both diagonals of all the layers of the 1 × 1 square. How many pieces of paper result?",
"role": "user"
}
] |
math
|
{
"ground_truth": "544",
"style": "rule"
}
|
{
"index": 412,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-166-without-guidance
|
without-guidance
|
[
{
"content": "Let $S = \\{(x,y) | x = 1, 2, \\ldots, 1993, y = 1, 2, 3, 4\\}$. If $T \\subset S$ and there aren't any squares in $T.$ Find the maximum possible value of $|T|.$ The squares in T use points in S as vertices.",
"role": "user"
}
] |
math
|
{
"ground_truth": "5183",
"style": "rule"
}
|
{
"index": 453,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-189-without-guidance
|
without-guidance
|
[
{
"content": "The figure below is a map showing $12$ cities and $17$ roads connecting certain pairs of cities. Paula wishes to travel along exactly $13$ of those roads, starting at city $A$ and ending at city $L$, without traveling along any portion of a road more than once. (Paula is allowed to visit a city more than once.)\n\nHow many different routes can Paula take?",
"role": "user"
}
] |
math
|
{
"ground_truth": "4",
"style": "rule"
}
|
{
"index": 353,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-212-without-guidance
|
without-guidance
|
[
{
"content": "While waiting at the post office, Lena moved 40 feet closer to the counter over a period of 20 minutes. At this rate, how many minutes will it take her to move the remaining 100 meters to the counter?",
"role": "user"
}
] |
math
|
{
"ground_truth": "164.042",
"style": "rule"
}
|
{
"index": 373,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-224-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:\nOver 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$.\n\nPartial Response:\nLet the given equations be\n(1) $x+2y^2 = x^4$\n(2) $y+2x^2 = y^4$\n\nFirst, consider the case where $x=y$. The two equations become identical:\n$x+2x^2 = x^4$\n$x^4 - 2x^2 - x = 0$\n$x(x^3 - 2x - 1) = 0$\nOne solution is $x=0$, so $(x,y)=(0,0)$ is a solution. The real part of $x$ is 0.\nThe cubic factor $x^3 - 2x - 1 = 0$ can be factored. By testing integer roots $\\pm 1$, we see that $x=-1$ is a root: $(-1)^3 - 2(-1) - 1 = -1+2-1=0$.\nDividing the polynomial by $(x+1)$, we get $x^2-x-1$.\nSo, $x^3-2x-1 = (x+1)(x^2-x-1)=0$.\nThe roots are $x=-1$ and the roots of $x^2-x-1=0$, which are $x = \\frac{1 \\pm \\sqrt{1-4(-1)}}{2} = \\frac{1 \\pm \\sqrt{5}}{2}$.\nFor the case $x=y$, we have four solutions for $x$: $0, -1, \\frac{1+\\sqrt{5}}{2}, \\frac{1-\\sqrt{5}}{2}$. These are all real numbers.\nThe real parts are $0, -1, \\frac{1+\\sqrt{5}}{2} \\approx 1.618, \\frac{1-\\sqrt{5}}{2} \\approx -0.618$.\nThe minimum real part of $x$ in this case is $-1$.\n\nNext, consider the case where $x \\neq y$.\nSubtracting (2) from (1):\n$(x-y) + 2(y^2-x^2) = x^4-y^4$\n$(x-y) - 2(x^2-y^2) = (x^2-y^2)(x^2+y^2)$\n$(x-y) - 2(x-y)(x+y) = (x-y)(x+y)(x^2+y^2)$\nSince $x \\neq y$, we can divide by $(x-y)$:\n$1 - 2(x+y) = (x+y)(x^2+y^2)$.\n\nLet's analyze the case where solutions $(x,y)$ are real numbers.\nThe equations can be written as $2y^2 = x^4-x$ and $2x^2 = y^4-y$.\nFor $y$ to be real, we must have $x^4-x \\ge 0$, which means $x(x^3-1) \\ge 0$. This holds if $x \\in (-\\infty, 0] \\cup [1, \\infty)$.\nSimilarly, for $x$ to be real, $y^4-y \\ge 0$, which implies $y \\in (-\\infty, 0] \\cup [1, \\infty)$.\nIf $x$ and $y$ have the same sign (both negative or both positive), let's see what happens.\nSuppose $x,y < 0$. Let $x=-a, y=-b$ for $a,b>0$.\n$-a+2b^2=a^4$ and $-b+2a^2=b^4$.\nIf $x \\ne y$, suppose $x<y<0$. Then $|x|>|y|$, so $x^2>y^2$.\nFrom (2), $y = y^4-2x^2$. Since $y<0$ and $y^4>0$, we need $-2x^2$ to be dominant and negative, which it is.\nFrom (1), $x=x^4-2y^2$.\nIf we multiply the two equations, we get $xy(x^3-1)(y^3-1)=4x^2y^2$. For $x,y\\neq 0$, this yields $(x^3-1)(y^3-1)=4xy$.\nLet's divide the two equations: $\\frac{x(x^3-1)}{y(y^3-1)} = \\frac{2y^2}{2x^2} = \\frac{y^2}{x^2}$.\nThis gives $x^3(x^3-1)=y^3(y^3-1)$, which is $(x^3)^2-x^3=(y^3)^2-y^3$.\nLet $g(t)=t^2-t$. Then $g(x^3)=g(y^3)$. This implies $x^3=y^3$ or $x^3+y^3=1$.\nIf $x$ and $y$ are real, $x^3=y^3 \\implies x=y$. This contradicts our assumption $x \\ne y$.\nSo, for any real solution with $x \\ne y$, we must have $x^3+y^3=1$.\nAlso, we ruled out $x,y$ having the same sign (unless $x=y$). So they must have opposite signs.\nLet $x \\le 0$ and $y \\ge 1$.\nIn this case, $x^3 \\le 0$ and $y^3 \\ge 1$. So $x^3+y^3=1$ is possible.\nIf $(x,y)$ is a real solution, we have the condition $(x^3-1)(y^3-1)=4xy$.\nWith $y^3=1-x^3$, this becomes:\n$(x^3-1)(1-x^3-1) = 4xy$\n$(x^3-1)(-x^3) = 4xy$\n$-x^6+x^3 = 4xy$\nSince we are looking for $x\\neq 0$, we can divide by $x$:\n$-x^5+x^2=4y$.\nBut we also have $2y^2=x^4-x$. Squaring the expression for $y$:\n$16y^2 = (-x^5+x^2)^2 = (x^2(x^3-1))^2 = x^4(x^3-1)^2$.\n$16(\\frac{x^4-x}{2}) = x^4(x^3-1)^2$\n$8x(x^3-1) = x^4(x^3-1)^2$.\nSince $y \\ge 1$, $x^4-x=2y^2 \\ge 2$, so $x^3-1 \\ne 0$. We can divide by $x^3-1$.\nAlso $x \\le 0$, so $x\\ne 0$. We can divide by $x$.\n$8 = x^3(x^3-1)$.\nLet $u=x^3$. $u(u-1)=8 \\implies u^2-u-8=0$.\n$u = \\frac{1 \\pm \\sqrt{1-4(-8)}}{2} = \\frac{1 \\pm \\sqrt{33}}{2}$.\nSince $x \\le 0$, $x^3=u$ must be negative.\nSo $x^3 = \\frac{1-\\sqrt{33}}{2}$.\nThis gives a unique real value for $x$: $x = \\sqrt[3]{\\frac{1-\\sqrt{33}}{2}}$.\nThe corresponding $y$ value is given by $y^3=1-x^3=1-\\frac{1-\\sqrt{33}}{2}=\\frac{1+\\sqrt{33}}{2}$, so $y=\\sqrt[3]{\\frac{1+\\sqrt{33}}{2}}$.\nThis gives a real solution pair $(x,y)$ with $x<0$ and $y>1$.\nThe real part of $x$ is $x$ itself.\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": "\\sqrt[3]{\\frac{1-\\sqrt{33}}{2}}",
"style": "rule"
}
|
{
"index": 23,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-15-with-guidance
|
without-guidance
|
[
{
"content": "Two cylindrical poles, with diameters of $10$ inches and $30$ inches respectively, are placed side by side and bound together with a wire. Calculate the length of the shortest wire that will go around both poles.\n**A)** $20\\sqrt{3} + 24\\pi$\n**B)** $20\\sqrt{3} + \\frac{70\\pi}{3}$\n**C)** $30\\sqrt{3} + 22\\pi$\n**D)** $16\\sqrt{3} + 25\\pi$\n**E)** $18\\sqrt{3} + \\frac{60\\pi}{3}$",
"role": "user"
}
] |
math
|
{
"ground_truth": "20\\sqrt{3} + \\frac{70\\pi}{3}",
"style": "rule"
}
|
{
"index": 187,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-64-without-guidance
|
without-guidance
|
[
{
"content": "A blackboard contains 68 pairs of nonzero integers. Suppose that for each positive integer $k$ at most one of the pairs $(k, k)$ and $(-k, -k)$ is written on the blackboard. A student erases some of the 136 integers, subject to the condition that no two erased integers may add to 0. The student then scores one point for each of the 68 pairs in which at least one integer is erased. Determine, with proof, the largest number $N$ of points that the student can guarantee to score regardless of which 68 pairs have been written on the board.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\[\n43\n\\]",
"style": "rule"
}
|
{
"index": 452,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-188-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:\nLet $A B C$ be an equilateral triangle with side length 1. Points $D, E, F$ lie inside triangle $A B C$ such that $A, E, F$ are collinear, $B, F, D$ are collinear, $C, D, E$ are collinear, and triangle $D E F$ is equilateral. Suppose that there exists a unique equilateral triangle $X Y Z$ with $X$ on side $\\overline{B C}, Y$ on side $\\overline{A B}$, and $Z$ on side $\\overline{A C}$ such that $D$ lies on side $\\overline{X Z}, E$ lies on side $\\overline{Y Z}$, and $F$ lies on side $\\overline{X Y}$. Compute $A Z$.\n\nPartial Response:\nLet the side length of equilateral triangle $A B C$ be 1. The problem describes a highly symmetric configuration. Let $R$ be the rotation by $120^\\circ$ about the center of $\\triangle ABC$. The condition that $\\triangle D E F$ is equilateral, with vertices $D, E, F$ being intersections of cevians from $A, B, C$, implies that the set of three cevians is invariant under $R$.\nLet the cevians be $L_A$ (through A), $L_B$ (through B), and $L_C$ (through C).\n$F = L_A \\cap L_B$, $D = L_B \\cap L_C$, $E = L_C \\cap L_A$.\nThe rotation maps $A \\to B \\to C \\to A$ and preserves the set of cevians, so we must have $R(L_A) = L_B$, $R(L_B) = L_C$, $R(L_C) = L_A$.\nThis implies $R(F) = R(L_A \\cap L_B) = L_B \\cap L_C = D$, and similarly $R(D)=E$ and $R(E)=F$.\nThis symmetry implies relationships between the lengths of the segments on the cevians:\n$AE = BF = CD$ and $AF = BD = CE$.\n\nThe inscribed triangle $X Y Z$ must also respect this symmetry. Let $x = AZ$. For $\\triangle XYZ$ to be equilateral, its vertices must cut the sides of $\\triangle ABC$ in a consistently symmetric way. The general parametrization for an inscribed equilateral triangle is $AZ=BY=CX=x$ and $AY=BZ=CX=1-x$. Wait, that's not right.\nThe correct parametrization is $AZ=x_A, AY=y_A$ and so on. A triangle XYZ with X on BC, Y on AB, Z on AC is equilateral if and only if $AZ = BX = CY$ or $AY = BZ = CX$.\nDue to the overall symmetry of the configuration, we can assume $AZ = BX = CY$. Let this common length be $x$.\nThen $AZ=x$, so $ZC=1-x$.\n$BX=x$, so $XC=1-x$.\n$CY=x$, so $YA=1-x$.\nLet's verify this gives an equilateral triangle:\n$XZ^2 = XC^2 + ZC^2 - 2(XC)(ZC)\\cos(60^\\circ) = (1-x)^2 + (1-x)^2 - (1-x)^2 = (1-x)^2$.\n$XY^2 = XB^2 + YB^2 - 2(XB)(YB)\\cos(60^\\circ) = x^2 + (1-(1-x))^2 - x(1-(1-x)) = x^2+x^2-x^2=x^2$.\nThis is not equilateral unless $x=1/2$.\n\nLet's use the other symmetric case: $AY=BZ=CX$. Let this length be $x$.\n$AY=x \\implies YB=1-x$.\n$BZ=x \\implies ZC=1-x$.\n$CX=x \\implies XB=1-x$.\n$AZ = 1-ZC = 1-(1-x)=x$.\nSo we have $AZ=x, AY=x$. This is only possible if $Y=Z$ and $x=1$ or $x=0$, which is degenerate.\n\nLet's re-evaluate the parametrization of the inscribed equilateral triangle. Let $AZ=x$. Then $AY=1-x$.\n$AZ=x, ZC=1-x$.\n$BY=x, YA=1-x$.\n$CX=x, XB=1-x$.\n$YZ^2 = AY^2+AZ^2-AY \\cdot AZ = (1-x)^2+x^2-x(1-x) = 3x^2-3x+1$.\n$XY^2 = BX^2+BY^2-BX \\cdot BY = (1-x)^2+x^2-x(1-x) = 3x^2-3x+1$.\n$XZ^2 = CX^2+CZ^2-CX \\cdot CZ = x^2+(1-x)^2-x(1-x) = 3x^2-3x+1$.\nThis is the correct parametrization for a symmetric inscribed equilateral triangle. We are asked to find $AZ=x$.\n\nThe points $D,E,F$ lie on the sides of $\\triangle XYZ$. This imposes strong constraints. For a given $\\triangle DEF$, the locus of a vertex, say $X$, such that $\\angle FXD = 60^\\circ$ is a circular arc passing through $F$ and $D$. For $X$ to exist, this arc must intersect the side $BC$. The problem states that there is a *unique* triangle $XYZ$. This implies that for each vertex, there is a unique position on the corresponding side. This happens when the circular arc is tangent to the side.\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}{1+\\sqrt[3]{2}}",
"style": "rule"
}
|
{
"index": 474,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-203-with-guidance-1
|
without-guidance
|
[
{
"content": "Find all pairs of real numbers $(x,y)$ satisfying the system of equations\n\\begin{align*}\n \\frac{1}{x} + \\frac{1}{2y} &= (x^2+3y^2)(3x^2+y^2) \\\\\n \\frac{1}{x} - \\frac{1}{2y} &= 2(y^4-x^4).\n\\end{align*}",
"role": "user"
}
] |
math
|
{
"ground_truth": "x = (3^{1/5}+1)/2, y = (3^{1/5}-1)/2",
"style": "rule"
}
|
{
"index": 101,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-64-without-guidance
|
without-guidance
|
[
{
"content": "Suppose $x$ and $y$ are inversely proportional and positive. If $x$ increases by $p\\%$, then $y$ decreases by",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{100p}{100+p}\\%$",
"style": "rule"
}
|
{
"index": 359,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-143-without-guidance
|
without-guidance
|
[
{
"content": "A cylindrical barrel with radius $4$ feet and height $10$ feet is full of water. A solid cube with side length $8$ feet is set into the barrel so that the diagonal of the cube is vertical. The volume of water thus displaced is $v$ cubic feet. Find $v^2$.\n[asy] import three; import solids; size(5cm); currentprojection=orthographic(1,-1/6,1/6); draw(surface(revolution((0,0,0),(-2,-2*sqrt(3),0)--(-2,-2*sqrt(3),-10),Z,0,360)),white,nolight); triple A =(8*sqrt(6)/3,0,8*sqrt(3)/3), B = (-4*sqrt(6)/3,4*sqrt(2),8*sqrt(3)/3), C = (-4*sqrt(6)/3,-4*sqrt(2),8*sqrt(3)/3), X = (0,0,-2*sqrt(2)); draw(X--X+A--X+A+B--X+A+B+C); draw(X--X+B--X+A+B); draw(X--X+C--X+A+C--X+A+B+C); draw(X+A--X+A+C); draw(X+C--X+C+B--X+A+B+C,linetype(\"2 4\")); draw(X+B--X+C+B,linetype(\"2 4\")); draw(surface(revolution((0,0,0),(-2,-2*sqrt(3),0)--(-2,-2*sqrt(3),-10),Z,0,240)),white,nolight); draw((-2,-2*sqrt(3),0)..(4,0,0)..(-2,2*sqrt(3),0)); draw((-4*cos(atan(5)),-4*sin(atan(5)),0)--(-4*cos(atan(5)),-4*sin(atan(5)),-10)..(4,0,-10)..(4*cos(atan(5)),4*sin(atan(5)),-10)--(4*cos(atan(5)),4*sin(atan(5)),0)); draw((-2,-2*sqrt(3),0)..(-4,0,0)..(-2,2*sqrt(3),0),linetype(\"2 4\")); [/asy]",
"role": "user"
}
] |
math
|
{
"ground_truth": "384",
"style": "rule"
}
|
{
"index": 330,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-198-without-guidance
|
without-guidance
|
[
{
"content": "Point $P$ is inside a square $A B C D$ such that $\\angle A P B=135^{\\circ}, P C=12$, and $P D=15$. Compute the area of this square.",
"role": "user"
}
] |
math
|
{
"ground_truth": "123+6\\sqrt{119}",
"style": "rule"
}
|
{
"index": 362,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-217-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:\nLet $ABCDE$ be a pentagon inscribed in a circle such that $AB = CD = 3$, $BC = DE = 10$, and $AE= 14$. The sum of the lengths of all diagonals of $ABCDE$ is equal to $\\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find the value of $m+n$.\n\nPartial Response:\nLet the pentagon be $ABCDE$ with vertices in order around the circle. The side lengths are given as $AB=3$, $BC=10$, $CD=3$, $DE=10$, and $EA=14$.\n\nThe diagonals of the pentagon are the line segments connecting non-adjacent vertices. There are 5 diagonals: $AC$, $AD$, $BD$, $BE$, and $CE$.\n\nIn a circle, chords of equal length subtend arcs of equal length.\nFrom the given side lengths, we have:\n$AB = CD = 3 \\implies \\text{arc}(AB) = \\text{arc}(CD)$\n$BC = DE = 10 \\implies \\text{arc}(BC) = \\text{arc}(DE)$\n\nLet's determine the lengths of the diagonals. The length of a diagonal is determined by the arc it subtends.\n1. Diagonal $AC$ subtends $\\text{arc}(ABC) = \\text{arc}(AB) + \\text{arc}(BC)$.\n2. Diagonal $BD$ subtends $\\text{arc}(BCD) = \\text{arc}(BC) + \\text{arc}(CD)$. Since $\\text{arc}(AB) = \\text{arc}(CD)$, we have $\\text{arc}(BCD) = \\text{arc}(BC) + \\text{arc}(AB) = \\text{arc}(ABC)$. Thus, $BD=AC$.\n3. Diagonal $CE$ subtends $\\text{arc}(CDE) = \\text{arc}(CD) + \\text{arc}(DE)$. Since $\\text{arc}(CD) = \\text{arc}(AB)$ and $\\text{arc}(DE) = \\text{arc}(BC)$, we have $\\text{arc}(CDE) = \\text{arc}(AB) + \\text{arc}(BC) = \\text{arc}(ABC)$. Thus, $CE=AC$.\nSo, three diagonals are equal in length. Let $d_1 = AC = BD = CE$.\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": "391",
"style": "rule"
}
|
{
"index": 136,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-86-with-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 an office at various times during the day, the boss gives the secretary a letter to type, each time putting the letter on top of the pile in the secretary's inbox. When there is time, the secretary takes the top letter off the pile and types it. There are nine letters to be typed during the day, and the boss delivers them in the order $1, 2, 3, 4, 5, 6, 7, 8, 9$.\n While leaving for lunch, the secretary tells a colleague that letter $8$ has already been typed but says nothing else about the morning's typing. The colleague wonders which of the nine letters remain to be typed after lunch and in what order they will be typed. Based on the above information, how many such after-lunch typing orders are possible? (That there are no letters left to be typed is one of the possibilities.)\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**1. Modeling the Process**\nThe process described is a classic stack problem. The boss delivering a letter corresponds to a `push` operation, and the secretary typing a letter corresponds to a `pop` operation. The letters are delivered in the fixed order $1, 2, ..., 9$. The secretary's inbox acts as a stack (Last-In, First-Out).\n\n**2. Characterizing the State at Lunchtime**\nThe state of the system at any time can be described by two components:\n* `P`: The set of letters currently in the pile (inbox). The letters in the pile are ordered, but for our purpose, the set of letters is what matters for now.\n* `U`: The set of letters that the boss has not yet delivered.\n\nThe set of all nine letters $\\{1, 2, ..., 9\\}$ is partitioned into three groups:\n* `B`: The set of letters typed before lunch.\n* `P`: The set of letters in the pile at lunchtime.\n* `U`: The set of letters not yet delivered at lunchtime.\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": "704",
"style": "rule"
}
|
{
"index": 423,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-168-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:\nEach cell of a $3 \\times 3$ grid is labeled with a digit in the set $\\{1,2,3,4,5\\}$. Then, the maximum entry in each row and each column is recorded. Compute the number of labelings for which every digit from 1 to 5 is recorded at least once.\n\nPartial Response:\nLet the grid be denoted by $A$, where $A_{ij}$ is the digit in the cell in row $i$ and column $j$, for $i,j \\in \\{1,2,3\\}$. The digits are from the set $S = \\{1,2,3,4,5\\}$.\nLet $R_i = \\max_{j} A_{ij}$ be the maximum of row $i$, and $C_j = \\max_{i} A_{ij}$ be the maximum of column $j$.\nLet $M = \\{R_1, R_2, R_3, C_1, C_2, C_3\\}$ be the set of recorded maximums. We are looking for the number of labelings of the grid such that the set of distinct values in $M$ is exactly $S = \\{1,2,3,4,5\\}$.\n\nLet's analyze the conditions for certain digits to be in the set of maximums.\n1. For $5 \\in M$, there must be at least one row or column maximum equal to 5. Since 5 is the largest digit in $S$, this is equivalent to having at least one cell $A_{ij}$ labeled with 5. If $A_{ij}=5$, then $R_i=5$ and $C_j=5$, so $5 \\in M$. Conversely, if no cell contains a 5, no maximum can be 5.\n2. For $1 \\in M$, there must be at least one row or column maximum equal to 1. For a row maximum $R_i$ to be 1, all cells in that row, $A_{i1}, A_{i2}, A_{i3}$, must be less than or equal to 1. Since the minimum digit is 1, this means all cells in row $i$ must be 1. Similarly, for a column maximum $C_j$ to be 1, all cells in that column must be 1. We call such a row or column a \"1-line\".\n\nSo, any valid labeling must contain at least one 1-line and at least one cell with the digit 5.\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": "2664",
"style": "rule"
}
|
{
"index": 244,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-88-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:\nContessa is taking a random lattice walk in the plane, starting at $(1,1)$. (In a random lattice walk, one moves up, down, left, or right 1 unit with equal probability at each step.) If she lands on a point of the form $(6 m, 6 n)$ for $m, n \\in \\mathbb{Z}$, she ascends to heaven, but if she lands on a point of the form $(6 m+3,6 n+3)$ for $m, n \\in \\mathbb{Z}$, she descends to hell. What is the probability that she ascends to heaven?\n\nPartial Response:\nLet $p(x,y)$ be the probability that Contessa ascends to heaven, starting from the point $(x,y)$. The process stops if Contessa lands on a point in the set of heaven points $H = \\{(6m, 6n) \\mid m,n \\in \\mathbb{Z}\\}$ or the set of hell points $E = \\{(6m+3, 6n+3) \\mid m,n \\in \\mathbb{Z}\\}$.\n\nThe probability $p(x,y)$ satisfies the recurrence relation of a random walk. For any point $(x,y)$ not in $H \\cup E$, the probability of ascending from $(x,y)$ is the average of the probabilities of ascending from its four neighbors:\n$$p(x,y) = \\frac{1}{4} (p(x+1,y) + p(x-1,y) + p(x,y+1) + p(x,y-1))$$\nThis means $p(x,y)$ is a harmonic function on the lattice $\\mathbb{Z}^2 \\setminus (H \\cup E)$.\nThe boundary conditions are:\n$p(x,y) = 1$ if $(x,y) \\in H$.\n$p(x,y) = 0$ if $(x,y) \\in E$.\n\nThe boundary conditions only depend on the coordinates modulo 6. This suggests that the solution $p(x,y)$ will also only depend on the coordinates modulo 6. Let $p_{i,j} = p(x,y)$ where $i = x \\pmod 6$ and $j = y \\pmod 6$. This is a valid reduction because the random walk on $\\mathbb{Z}^2$ is recurrent, ensuring that one of the absorbing states will be reached. The function $p_{x \\pmod 6, y \\pmod 6}$ is a bounded harmonic function satisfying the boundary conditions, and for this problem, such a solution is unique.\n\nWe now have a problem on a $6 \\times 6$ torus grid, with states $(i,j)$ for $i,j \\in \\{0,1,2,3,4,5\\}$.\nThe absorbing states are $(0,0)$ and $(3,3)$.\n$p_{0,0} = 1$ (heaven)\n$p_{3,3} = 0$ (hell)\nFor any other state $(i,j)$, the probabilities satisfy:\n$$p_{i,j} = \\frac{1}{4} (p_{i+1,j} + p_{i-1,j} + p_{i,j+1} + p_{i,j-1})$$\nwhere the indices are taken modulo 6.\n\nThis problem has several symmetries that we can exploit.\n1. Symmetry by swapping coordinates: $p_{i,j} = p_{j,i}$. This is because the random walk and boundary conditions are symmetric with respect to the line $y=x$.\n2. Symmetry by reflection: $p_{i,j} = p_{6-i,j}$ and $p_{i,j} = p_{i,6-j}$. This is due to the reflectional symmetry of the problem across lines like $x=0, x=3$, etc.\n3. Centrosymmetry: $p_{i,j} + p_{3-i,3-j} = 1$. This can be shown by letting $q_{i,j} = 1-p_{3-i,3-j}$ and observing that $q_{i,j}$ satisfies the same equations and boundary conditions as $p_{i,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": "\\frac{13}{22}",
"style": "rule"
}
|
{
"index": 224,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-144-with-guidance
|
without-guidance
|
[
{
"content": "The integers $1,2, \\ldots, 64$ are written in the squares of a $8 \\times 8$ chess board, such that for each $1 \\leq i<64$, the numbers $i$ and $i+1$ are in squares that share an edge. What is the largest possible sum that can appear along one of the diagonals?",
"role": "user"
}
] |
math
|
{
"ground_truth": "432",
"style": "rule"
}
|
{
"index": 481,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-208-without-guidance
|
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
|
without-guidance
|
[
{
"content": "What is the 3-digit number formed by the $9998^{\\text {th }}$ through $10000^{\\text {th }}$ digits after the decimal point in the decimal expansion of \\frac{1}{998}$ ?",
"role": "user"
}
] |
math
|
{
"ground_truth": "042",
"style": "rule"
}
|
{
"index": 62,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-40-without-guidance
|
without-guidance
|
[
{
"content": "A cylindrical barrel with radius $4$ feet and height $10$ feet is full of water. A solid cube with side length $8$ feet is set into the barrel so that the diagonal of the cube is vertical. The volume of water thus displaced is $v$ cubic feet. Find $v^2$.\n[asy] import three; import solids; size(5cm); currentprojection=orthographic(1,-1/6,1/6); draw(surface(revolution((0,0,0),(-2,-2*sqrt(3),0)--(-2,-2*sqrt(3),-10),Z,0,360)),white,nolight); triple A =(8*sqrt(6)/3,0,8*sqrt(3)/3), B = (-4*sqrt(6)/3,4*sqrt(2),8*sqrt(3)/3), C = (-4*sqrt(6)/3,-4*sqrt(2),8*sqrt(3)/3), X = (0,0,-2*sqrt(2)); draw(X--X+A--X+A+B--X+A+B+C); draw(X--X+B--X+A+B); draw(X--X+C--X+A+C--X+A+B+C); draw(X+A--X+A+C); draw(X+C--X+C+B--X+A+B+C,linetype(\"2 4\")); draw(X+B--X+C+B,linetype(\"2 4\")); draw(surface(revolution((0,0,0),(-2,-2*sqrt(3),0)--(-2,-2*sqrt(3),-10),Z,0,240)),white,nolight); draw((-2,-2*sqrt(3),0)..(4,0,0)..(-2,2*sqrt(3),0)); draw((-4*cos(atan(5)),-4*sin(atan(5)),0)--(-4*cos(atan(5)),-4*sin(atan(5)),-10)..(4,0,-10)..(4*cos(atan(5)),4*sin(atan(5)),-10)--(4*cos(atan(5)),4*sin(atan(5)),0)); draw((-2,-2*sqrt(3),0)..(-4,0,0)..(-2,2*sqrt(3),0),linetype(\"2 4\")); [/asy]",
"role": "user"
}
] |
math
|
{
"ground_truth": "384",
"style": "rule"
}
|
{
"index": 345,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-139-without-guidance
|
without-guidance
|
[
{
"content": "For 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$.)",
"role": "user"
}
] |
math
|
{
"ground_truth": "4/7",
"style": "rule"
}
|
{
"index": 398,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-159-without-guidance
|
without-guidance
|
[
{
"content": "The function \\( f(x) \\) has a domain of \\( \\mathbf{R} \\). For any \\( x \\in \\mathbf{R} \\) and \\( y \\neq 0 \\), \\( f(x+y)=f\\left(x y-\\frac{x}{y}\\right) \\), and \\( f(x) \\) is a periodic function. Find one of its positive periods.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{1 + \\sqrt{5}}{2}",
"style": "rule"
}
|
{
"index": 372,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-223-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:\nThree circular arcs of radius 5 units bound the region shown. Arcs $AB$ and $AD$ are quarter-circles, and arc $BCD$ is a semicircle. What is the area, in square units, of the region? [asy]\n/* AMC8 2000 #19 Problem */\ndraw((0,0)..(1,1)..(2,0));\ndraw((0,0)..(.7,-.3)..(1,-1));\ndraw((1,-1)..(1.3, -0.3)..(2,0));\nlabel(\"$A$\", (1,-1), SW);\nlabel(\"$B$\", (0,0), W);\nlabel(\"$C$\", (1,1),N);\nlabel(\"$D$\", (2,0),E);\n[/asy]\n\nPartial Response:\nHere is a step-by-step solution to the problem:\n\n**Step 1: Understand the geometry of the figure.**\nThe region is bounded by three circular arcs of radius 5.\n- Arc BCD is a semicircle. This means the segment BD is a diameter of a circle with radius 5. Therefore, the length of the chord BD is 2 * 5 = 10 units.\n- Arc AB is a quarter-circle of radius 5. The chord connecting the endpoints of a quarter-circle arc of radius *r* has a length of *r*√2. So, the length of the chord AB is 5√2 units.\n- Arc AD is also a quarter-circle of radius 5. Similarly, the length of the chord AD is 5√2 units.\n\n**Step 2: Analyze the triangle formed by the points A, B, and D.**\nConsider the triangle ABD with side lengths AB = 5√2, AD = 5√2, and BD = 10.\nLet's check if this is a right-angled triangle using the Pythagorean theorem:\n(AB)² + (AD)² = (5√2)² + (5√2)² = 50 + 50 = 100.\n(BD)² = 10² = 100.\nSince (AB)² + (AD)² = (BD)², triangle ABD is a right-angled isosceles triangle, with the right angle at vertex A.\n\n**Step 3: Decompose the total area.**\nThe total area of the region can be calculated by summing the areas of several simpler shapes. We can split the region into two parts by the chord BD:\n1. The area of the region bounded by the semicircle arc BCD and the chord BD. Let's call this `Area_upper`.\n2. The area of the region bounded by the quarter-circle arcs AB, AD and the chord BD. Let's call this `Area_lower`.\n\nThe total area is `Area_total = Area_upper + Area_lower`.\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": "50",
"style": "rule"
}
|
{
"index": 329,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-197-with-guidance
|
without-guidance
|
[
{
"content": "In a square with a side length of 12 cm, the midpoints of its adjacent sides are connected to each other and to the opposite side of the square. Find the radius of the circle inscribed in the resulting triangle.",
"role": "user"
}
] |
math
|
{
"ground_truth": "2\\sqrt{5} - \\sqrt{2}",
"style": "rule"
}
|
{
"index": 169,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-110-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:\nEquilateral triangle $ABP$ (see figure) with side $AB$ of length $2$ inches is placed inside square $AXYZ$ with side of length $4$ inches so that $B$ is on side $AX$. The triangle is rotated clockwise about $B$, then $P$, and so on along the sides of the square until $P$ returns to its original position. The length of the path in inches traversed by vertex $P$ is equal to\n\nPartial Response:\nThis problem asks for the total length of the path traversed by vertex P of an equilateral triangle ABP as it rotates inside a square AXYZ.\n\n**1. Define the Geometry and Initial State**\n* Square AXYZ: side length 4. Let `A=(0,0)`, `X=(4,0)`, `Y=(4,4)`, `Z=(0,4)`.\n* Equilateral Triangle ABP: side length 2.\n* Initial Position: The triangle is placed with side `AB` on the square's side `AX`. Vertex `A` of the triangle is at `A` of the square.\n * `A = (0,0)`\n * `B = (2,0)`\n * The height of the triangle is `h = 2 * sin(60°) = sqrt(3)`. The x-coordinate of P is halfway between A and B.\n * `P = (1, sqrt(3))`\n\n**2. Understand the Motion**\n* The triangle rotates clockwise.\n* The pivot points cycle through the vertices: B, then P, then A, and so on.\n* The phrase \"along the sides of the square\" implies that after each rotation, a side of the triangle rests on the perimeter of the square.\n* The process stops when vertex P returns to its original position `(1, sqrt(3))`.\n\n**3. Analyze the Rotations**\nThe motion can be broken down into two types of steps: moving along a straight side of the square and turning a corner.\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{40\\pi}{3}",
"style": "rule"
}
|
{
"index": 181,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-62-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:\nFor any positive integer $n, S_{n}$ be the set of all permutations of \\{1,2,3, \\ldots, n\\}. For each permutation $\\pi \\in S_{n}$, let $f(\\pi)$ be the number of ordered pairs $(j, k)$ for which $\\pi(j)>\\pi(k)$ and $1 \\leq j<k \\leq n$. Further define $g(\\pi)$ to be the number of positive integers $k \\leq n$ such that $\\pi(k) \\equiv k \\pm 1(\\bmod n)$. Compute $$\\sum_{\\pi \\in S_{999}}(-1)^{f(\\pi)+g(\\pi)}$$\n\nPartial Response:\nLet $n=999$. We are asked to compute the sum $S = \\sum_{\\pi \\in S_{n}}(-1)^{f(\\pi)+g(\\pi)}$.\n\nFirst, let's analyze the terms in the sum.\n$f(\\pi)$ is the number of inversions of the permutation $\\pi$. The term $(-1)^{f(\\pi)}$ is the sign of the permutation, denoted as $\\text{sgn}(\\pi)$.\n$g(\\pi)$ is the number of positive integers $k \\in \\{1, 2, \\ldots, n\\}$ such that $\\pi(k) \\equiv k \\pm 1 \\pmod{n}$.\n\nThe sum can be written as\n$$S = \\sum_{\\pi \\in S_{n}} \\text{sgn}(\\pi) (-1)^{g(\\pi)}$$\nLet's analyze the expression for $g(\\pi)$. The condition $\\pi(k) \\equiv k \\pm 1 \\pmod{n}$ for $k \\in \\{1, 2, \\ldots, n\\}$ defines a set of \"allowed\" values for $\\pi(k)$. Let's call this set $A_k$.\nFor $k \\in \\{2, 3, \\ldots, n-1\\}$, $A_k = \\{k-1, k+1\\}$.\nFor $k=1$, the condition is $\\pi(1) \\equiv 1 \\pm 1 \\pmod n$, which means $\\pi(1) \\equiv 2 \\pmod n$ or $\\pi(1) \\equiv 0 \\pmod n$. Since $\\pi(1) \\in \\{1, \\ldots, n\\}$, this means $\\pi(1) = 2$ or $\\pi(1) = n$. So, $A_1 = \\{2, n\\}$.\nFor $k=n$, the condition is $\\pi(n) \\equiv n \\pm 1 \\pmod n$, which means $\\pi(n) \\equiv n-1 \\pmod n$ or $\\pi(n) \\equiv n+1 \\pmod n \\equiv 1 \\pmod n$. So, $A_n = \\{n-1, 1\\}$.\n\nThe number $g(\\pi)$ is the count of indices $k$ for which $\\pi(k) \\in A_k$. We can write this as $g(\\pi) = \\sum_{k=1}^{n} \\mathbb{I}(\\pi(k) \\in A_k)$, where $\\mathbb{I}(\\cdot)$ is the indicator function.\nThen, $(-1)^{g(\\pi)} = (-1)^{\\sum_{k=1}^{n} \\mathbb{I}(\\pi(k) \\in A_k)} = \\prod_{k=1}^{n} (-1)^{\\mathbb{I}(\\pi(k) \\in A_k)}$.\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": "995 \\times 2^{998}",
"style": "rule"
}
|
{
"index": 232,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-149-with-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:\nMereduth has many red boxes and many blue boxes. Coloon has placed five green boxes in a row on the ground, and Mereduth wants to arrange some number of her boxes on top of his row. Assume that each box must be placed so that it straddles two lower boxes. Including the one with no boxes, how many arrangements can Mereduth make?\n\nPartial Response:\nThis problem asks for the total number of ways Mereduth can arrange her red and blue boxes on top of a row of five green boxes, including the arrangement with no boxes. The rule is that each of Mereduth's boxes must straddle two boxes in the layer below it.\n\nLet's analyze the structure of the arrangements. The five green boxes form Layer 0.\n- Layer 1 can have boxes in 4 possible positions, straddling boxes (1,2), (2,3), (3,4), and (4,5) of Layer 0.\n- Layer 2 can have boxes in 3 possible positions.\n- Layer 3 can have boxes in 2 possible positions.\n- Layer 4 can have a single box at the top.\n\nAt each possible position, Mereduth has three choices: place a Red box (R), place a Blue box (B), or place No box (N).\n\nA box can only be placed in a certain position if the two boxes it rests on are present. Since the green boxes are always present, any of the 4 positions in Layer 1 can have a box. However, for higher layers, the ability to place a box depends on the choices made for the layer below.\n\nLet's define `b_n` as the number of possible arrangements on a base of `n` boxes that are guaranteed to be present. We want to find `b_5`.\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": "3113",
"style": "rule"
}
|
{
"index": 310,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-123-with-guidance-0
|
without-guidance
|
[
{
"content": "(a) Does there exist a finite set of points, not all collinear, such that a line between any two points in the set passes through a third point in the set? (b) Let $ABC$ be a triangle and $P$ be a point. The isogonal conjugate of $P$ is the intersection of the reflection of line $AP$ over the $A$-angle bisector, the reflection of line $BP$ over the $B$-angle bisector, and the reflection of line $CP$ over the $C$-angle bisector. Clearly the incenter is its own isogonal conjugate. Does there exist another point that is its own isogonal conjugate? (c) Let $F$ be a convex figure in a plane, and let $P$ be the largest pentagon that can be inscribed in $F$. Is it necessarily true that the area of $P$ is at least $\\frac{3}{4}$ the area of $F$? (d) Is it possible to cut an equilateral triangle into 2017 pieces, and rearrange the pieces into a square? (e) Let $ABC$ be an acute triangle and $P$ be a point in its interior. Let $D, E, F$ lie on $BC, CA, AB$ respectively so that $PD$ bisects $\\angle BPC, PE$ bisects $\\angle CPA$, and $PF$ bisects $\\angle APB$. Is it necessarily true that $AP+BP+CP \\geq 2(PD+PE+PF)$? (f) Let $P_{2018}$ be the surface area of the 2018-dimensional unit sphere, and let $P_{2017}$ be the surface area of the 2017-dimensional unit sphere. Is $P_{2018}>P_{2017}$?",
"role": "user"
}
] |
math
|
{
"ground_truth": "NYYYYN",
"style": "rule"
}
|
{
"index": 459,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-194-without-guidance
|
without-guidance
|
[
{
"content": "Convex quadrilateral $ ABCD$ is inscribed in a circle, $ \\angle{A}\\equal{}60^o$, $ BC\\equal{}CD\\equal{}1$, rays $ AB$ and $ DC$ intersect at point $ E$, rays $ BC$ and $ AD$ intersect each other at point $ F$. It is given that the perimeters of triangle $ BCE$ and triangle $ CDF$ are both integers. Find the perimeter of quadrilateral $ ABCD$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\frac{38}{7}",
"style": "rule"
}
|
{
"index": 3,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-2-without-guidance
|
without-guidance
|
[
{
"content": "Let $\\omega$ be a fixed circle with radius 1, and let $B C$ be a fixed chord of $\\omega$ such that $B C=1$. The locus of the incenter of $A B C$ as $A$ varies along the circumference of $\\omega$ bounds a region $\\mathcal{R}$ in the plane. Find the area of $\\mathcal{R}$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\pi\\left(\\frac{3-\\sqrt{3}}{3}\\right)-1",
"style": "rule"
}
|
{
"index": 245,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-156-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 graph $G(V,E)$ is triangle-free, but adding any edges to the graph will form a triangle. It's given that $|V|=2019$, $|E|>2018$, find the minimum of $|E|$ .\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\nLet $G(V,E)$ be a graph with $|V|=n=2019$.\nThe properties of the graph are:\n1. $G$ is triangle-free. This means it has no $K_3$ subgraph.\n2. $G$ is maximally triangle-free. This means that for any pair of non-adjacent vertices $u, v \\in V$, the graph $G' = (V, E \\cup \\{(u,v)\\})$ contains a triangle. Since $G$ is triangle-free, this new triangle must involve the edge $(u,v)$. This implies that there must exist a vertex $w \\in V$ such that $(u,w) \\in E$ and $(v,w) \\in E$. In other words, any two non-adjacent vertices must have a common neighbor.\n3. $|E| > 2018$.\nWe want to find the minimum possible value of $|E|$.\n\nLet's analyze the structure of maximally triangle-free graphs by considering their minimum degree, $\\delta(G)$.\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": "4033",
"style": "rule"
}
|
{
"index": 8,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-1-with-guidance-1
|
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 regular $2015$-simplex $\\mathcal{P}$ has $2016$ vertices in $2015$-dimensional space such that the distances between every pair of vertices are equal. Let $S$ be the set of points contained inside $\\mathcal{P}$ that are closer to its center than any of its vertices. The ratio of the volume of $S$ to the volume of $\\mathcal{P}$ is $\\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find the remainder when $m+n$ is divided by $1000$.\n\nPartial Response:\nLet $n=2015$ be the dimension of the space. The regular $n$-simplex $\\mathcal{P}$ has $N=n+1=2016$ vertices, which we denote by $v_0, v_1, \\dots, v_n$. Let the center of the simplex be $C$. We can place the center at the origin $C=\\mathbf{0}$ without loss of generality. The vertices are equidistant from the center. Let $R$ be this distance, so $\\|\\mathbf{v}_i\\| = R$ for all $i$. For a regular $n$-simplex centered at the origin, the dot product of the vertex vectors is $\\mathbf{v}_i \\cdot \\mathbf{v}_j = -\\frac{R^2}{n}$ for $i \\neq j$.\n\nThe set $S$ consists of points $P$ inside $\\mathcal{P}$ that are closer to $C$ than to any vertex $v_i$. Let $\\mathbf{p}$ be the position vector of such a point $P$. The condition is $d(P, C) < d(P, v_i)$ for all $i=0, \\dots, n$.\nWith $C$ at the origin, this is $\\|\\mathbf{p}\\| < \\|\\mathbf{p}-\\mathbf{v}_i\\|$.\nSquaring this gives $\\|\\mathbf{p}\\|^2 < \\|\\mathbf{p}\\|^2 - 2\\mathbf{p}\\cdot\\mathbf{v}_i + \\|\\mathbf{v}_i\\|^2$.\nThis simplifies to $2\\mathbf{p}\\cdot\\mathbf{v}_i < \\|\\mathbf{v}_i\\|^2 = R^2$.\n\nAny point $P$ inside the simplex $\\mathcal{P}$ can be uniquely represented by its barycentric coordinates $(\\lambda_0, \\lambda_1, \\dots, \\lambda_n)$, where $\\mathbf{p} = \\sum_{j=0}^n \\lambda_j \\mathbf{v}_j$ with $\\lambda_j \\ge 0$ and $\\sum_{j=0}^n \\lambda_j = 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": "321",
"style": "rule"
}
|
{
"index": 281,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-172-with-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 integer $x$ with $1 \\leq x \\leq 10$, a point is randomly placed at either $(x, 1)$ or $(x,-1)$ with equal probability. What is the expected area of the convex hull of these points? Note: the convex hull of a finite set is the smallest convex polygon containing it.\n\nPartial Response:\nLet $S = \\{(x, y_x) : 1 \\leq x \\leq 10\\}$ be the set of 10 points, where each $y_x$ is independently chosen to be $1$ or $-1$ with probability $1/2$. Let $U = \\{x : y_x=1\\}$ and $D = \\{x : y_x=-1\\}$. The set $\\{1, 2, ..., 10\\}$ is partitioned into $U$ and $D$. There are $2^{10}$ possible configurations of points.\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{1793}{128}",
"style": "rule"
}
|
{
"index": 228,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-147-with-guidance
|
without-guidance
|
[
{
"content": "Kristoff is planning to transport a number of indivisible ice blocks with positive integer weights from the north mountain to Arendelle. He knows that when he reaches Arendelle, Princess Anna and Queen Elsa will name an ordered pair $(p, q)$ of nonnegative integers satisfying $p+q \\leq 2016$. Kristoff must then give Princess Anna exactly $p$ kilograms of ice. Afterward, he must give Queen Elsa exactly $q$ kilograms of ice. What is the minimum number of blocks of ice Kristoff must carry to guarantee that he can always meet Anna and Elsa's demands, regardless of which $p$ and $q$ are chosen?",
"role": "user"
}
] |
math
|
{
"ground_truth": "18",
"style": "rule"
}
|
{
"index": 490,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-214-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:\nKelvin and $15$ other frogs are in a meeting, for a total of $16$ frogs. During the meeting, each pair of distinct frogs becomes friends with probability $\\frac{1}{2}$. Kelvin thinks the situation after the meeting is [I]cool[/I] if for each of the $16$ frogs, the number of friends they made during the meeting is a multiple of $4$. Say that the probability of the situation being cool can be expressed in the form $\\frac{a}{b}$, where $a$ and $b$ are relatively prime. Find $a$.\n\nPartial Response:\nLet $N=16$ be the number of frogs. Let the frogs be the vertices of a graph $G=(V,E)$ with $V=\\{1, 2, \\dots, 16\\}$. For any pair of distinct frogs $\\{i, j\\}$, they become friends with probability $\\frac{1}{2}$. This is equivalent to saying that the edge $(i, j)$ is in $E$ with probability $\\frac{1}{2}$. The total number of pairs of frogs is $\\binom{16}{2} = 120$. Thus, there are $2^{120}$ possible friendship graphs, each having a probability of $\\frac{1}{2^{120}}$.\n\nThe situation is \"cool\" if for each frog $i$, the number of friends they made, $d_i(G)$, is a multiple of 4. Let $C$ be the number of \"cool\" graphs. The desired probability is $P = \\frac{C}{2^{120}}$.\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": "1167",
"style": "rule"
}
|
{
"index": 300,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-181-with-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:\nLet $A, B, C, \\ldots, Z$ be 26 nonzero real numbers. Suppose that $T = TNYWR$. Compute the smallest possible value of \\[ \\left\\lceil A^2 + B^2 + \\cdots + Z^2 \\right\\rceil. \\] (The notation $\\left\\lceil x \\right\\rceil$ denotes the least integer $n$ such that $n \\geq x$.)\n\nPartial Response:\nHere is the step-by-step solution to the problem:\n\n**Step 1: Interpret the given equation**\n\nThe problem provides an equation involving some of the 26 nonzero real numbers: $T = TNYWR$.\nSince we are given that $T$ is a nonzero real number, we can divide both sides of the equation by $T$:\n\\[ \\frac{T}{T} = \\frac{TNYWR}{T} \\]\nThis simplifies to:\n\\[ 1 = NYWR \\]\nThis equation is the primary constraint on the variables $N, Y, W, R$.\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": "5",
"style": "rule"
}
|
{
"index": 283,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-174-with-guidance
|
without-guidance
|
[
{
"content": "Determine the sum of the first $k$ positive integers $n$ (in terms of $k$) which have the following property: For all integers $m$ that are relatively prime to $n$, there exists a permutation $\\pi\\colon \\{1,2,\\dots,n\\} \\to \\{1,2,\\dots,n\\}$ such that $\\pi(\\pi(k)) \\equiv mk \\pmod{n}$ for all $k \\in \\{1,2,\\dots,n\\}$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "2k^2-4k+3",
"style": "rule"
}
|
{
"index": 214,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-77-without-guidance
|
without-guidance
|
[
{
"content": "Kevin writes down the positive integers $1,2, \\ldots, 15$ on a blackboard. Then, he repeatedly picks two random integers $a, b$ on the blackboard, erases them, and writes down $\\operatorname{gcd}(a, b)$ and $\\operatorname{lcm}(a, b)$. He does this until he is no longer able to change the set of numbers written on the board. Find the maximum sum of the numbers on the board after this process.",
"role": "user"
}
] |
math
|
{
"ground_truth": "360864",
"style": "rule"
}
|
{
"index": 544,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-247-without-guidance
|
without-guidance
|
[
{
"content": "How many ways can you remove one tile from a $2014 \\times 2014$ grid such that the resulting figure can be tiled by $1 \\times 3$ and $3 \\times 1$ rectangles?",
"role": "user"
}
] |
math
|
{
"ground_truth": "451584",
"style": "rule"
}
|
{
"index": 57,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-21-without-guidance
|
without-guidance
|
[
{
"content": "Consider an $n$ -by- $n$ board of unit squares for some odd positive integer $n$ . We say that a collection $C$ of identical dominoes is a maximal grid-aligned configuration on the board if $C$ consists of $(n^2-1)/2$ dominoes where each domino covers exactly two neighboring squares and the dominoes don't overlap: $C$ then covers all but one square on the board. We are allowed to slide (but not rotate) a domino on the board to cover the uncovered square, resulting in a new maximal grid-aligned configuration with another square uncovered. Let $k(C)$ be the number of distinct maximal grid-aligned configurations obtainable from $C$ by repeatedly sliding dominoes. Find the maximum value of $k(C)$ as a function of $n$ .",
"role": "user"
}
] |
math
|
{
"ground_truth": "\\[\n\\left(\\frac{n+1}{2}\\right)^2\n\\]",
"style": "rule"
}
|
{
"index": 7,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-6-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:\nCamille the snail lives on the surface of a regular dodecahedron. Right now he is on vertex $P_{1}$ of the face with vertices $P_{1}, P_{2}, P_{3}, P_{4}, P_{5}$. This face has a perimeter of 5. Camille wants to get to the point on the dodecahedron farthest away from $P_{1}$. To do so, he must travel along the surface a distance at least $L$. What is $L^{2}$?\n\nPartial Response:\nTo solve this problem, we need to find the shortest distance on the surface of a regular dodecahedron between a vertex and its farthest point.\n\n**1. Identify the Dodecahedron and its Properties**\nA regular dodecahedron is a polyhedron with 12 identical faces, each being a regular pentagon. It has 20 vertices and 30 edges.\nThe problem states that a pentagonal face has a perimeter of 5. Since the face is a regular pentagon, each of its 5 sides must have a length of $s = 5/5 = 1$. This is the edge length of the dodecahedron.\nThe interior angle of a regular pentagon is $(5-2) \\times 180^\\circ / 5 = 108^\\circ$.\n\n**2. Identify the Farthest Point**\nThe point on the surface of a convex polyhedron that is farthest from a given vertex is its unique antipodal vertex. Let's call the starting vertex $A$ and its antipode $J$.\n\n**3. Determine the Shortest Path on the Surface**\nThe shortest distance between two points on the surface of a polyhedron is a straight line on a planar net of the polyhedron. We need to find the specific unfolding of faces that places $A$ and $J$ in a plane such that the straight-line distance between them is minimized. The shortest path from a vertex to its antipode on a dodecahedron is known to traverse a net composed of a strip of three pentagonal faces.\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{17+7 \\sqrt{5}}{2}",
"style": "rule"
}
|
{
"index": 522,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-234-with-guidance-3
|
without-guidance
|
[
{
"content": "In a regular quadrilateral pyramid \\(P-ABCD\\) with a volume of 1, points \\(E\\), \\(F\\), \\(G\\), and \\(H\\) are the midpoints of segments \\(AB\\), \\(CD\\), \\(PB\\), and \\(PC\\), respectively. Find the volume of the polyhedron \\(BEG-CFH\\).",
"role": "user"
}
] |
math
|
{
"ground_truth": "5/16",
"style": "rule"
}
|
{
"index": 195,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-70-without-guidance
|
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
|
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 $n > 2$ be an integer and let $\\ell \\in \\{1, 2,\\dots, n\\}$. A collection $A_1,\\dots,A_k$ of (not necessarily distinct) subsets of $\\{1, 2,\\dots, n\\}$ is called $\\ell$-large if $|A_i| \\ge \\ell$ for all $1 \\le i \\le k$. Find, in terms of $n$ and $\\ell$, the largest real number $c$ such that the inequality\n\\[ \\sum_{i=1}^k\\sum_{j=1}^k x_ix_j\\frac{|A_i\\cap A_j|^2}{|A_i|\\cdot|A_j|}\\ge c\\left(\\sum_{i=1}^k x_i\\right)^2 \\]\nholds for all positive integer $k$, all nonnegative real numbers $x_1,x_2,\\dots,x_k$, and all $\\ell$-large collections $A_1,A_2,\\dots,A_k$ of subsets of $\\{1,2,\\dots,n\\}$.\n\nPartial Response:\nLet the left-hand side of the inequality be denoted by $L$. Let $X = \\sum_{i=1}^k x_i$. We are looking for the largest $c$ such that $L \\ge cX^2$ for all choices of $k, x_i, A_i$ satisfying the given conditions. This is equivalent to finding the minimum value of $L/X^2$.\n\nWe can express the term $|A_i \\cap A_j|$ using indicator functions. Let $S = \\{1, 2, \\dots, n\\}$. For any subset $A \\subseteq S$, let $1_A(s)$ be its indicator function. Then $|A_i \\cap A_j| = \\sum_{s=1}^n 1_{A_i}(s)1_{A_j}(s)$.\nThe expression for $L$ is\n\\[ L = \\sum_{i=1}^k\\sum_{j=1}^k x_ix_j\\frac{\\left(\\sum_{s=1}^n 1_{A_i}(s)1_{A_j}(s)\\right)^2}{|A_i|\\cdot|A_j|} \\]\nWe can rewrite the squared sum:\n\\begin{align*} L &= \\sum_{i=1}^k\\sum_{j=1}^k x_ix_j \\left(\\sum_{s=1}^n \\frac{1_{A_i}(s)1_{A_j}(s)}{\\sqrt{|A_i||A_j|}}\\right) \\left(\\sum_{t=1}^n \\frac{1_{A_i}(t)1_{A_j}(t)}{\\sqrt{|A_i||A_j|}}\\right) \\\\ &= \\sum_{s=1}^n \\sum_{t=1}^n \\left(\\sum_{i=1}^k x_i \\frac{1_{A_i}(s)1_{A_i}(t)}{|A_i|}\\right) \\left(\\sum_{j=1}^k x_j \\frac{1_{A_j}(s)1_{A_j}(t)}{|A_j|}\\right)\\end{align*}\nLet us define an $n \\times n$ matrix $Y$ with entries\n\\[ Y_{st} = \\sum_{i=1}^k x_i \\frac{1_{A_i}(s)1_{A_i}(t)}{|A_i|} \\]\nThen the expression for $L$ becomes\n\\[ L = \\sum_{s=1}^n \\sum_{t=1}^n Y_{st}^2 \\]\nThe matrix $Y$ is a real symmetric matrix, and since $x_i \\ge 0$, its entries are non-negative, $Y_{st} \\ge 0$.\n\nLet's compute the sum of the diagonal entries and the sum of the off-diagonal entries of $Y$.\nThe sum of the diagonal entries is:\n\\begin{align*} D = \\sum_{s=1}^n Y_{ss} &= \\sum_{s=1}^n \\sum_{i=1}^k x_i \\frac{1_{A_i}(s)^2}{|A_i|} \\\\ &= \\sum_{i=1}^k \\frac{x_i}{|A_i|} \\sum_{s=1}^n 1_{A_i}(s) \\quad (\\text{since } 1_{A_i}(s)^2 = 1_{A_i}(s)) \\\\ &= \\sum_{i=1}^k \\frac{x_i}{|A_i|} |A_i| = \\sum_{i=1}^k x_i = X \\end{align*}\nThe sum of the off-diagonal entries is:\n\\begin{align*} O = \\sum_{s \\neq t} Y_{st} &= \\sum_{s \\neq t} \\sum_{i=1}^k x_i \\frac{1_{A_i}(s)1_{A_i}(t)}{|A_i|} \\\\ &= \\sum_{i=1}^k \\frac{x_i}{|A_i|} \\sum_{s \\neq t} 1_{A_i}(s)1_{A_i}(t) \\end{align*}\nThe inner sum $\\sum_{s \\neq t} 1_{A_i}(s)1_{A_i}(t)$ counts the number of ordered pairs of distinct elements in $A_i$, which is $|A_i|(|A_i|-1)$.\nSo, $O = \\sum_{i=1}^k \\frac{x_i}{|A_i|} |A_i|(|A_i|-1) = \\sum_{i=1}^k x_i(|A_i|-1)$.\nThe collection of sets is $\\ell$-large, which means $|A_i| \\ge \\ell$ for all $i$. Since $x_i \\ge 0$, we have\n\\[ O = \\sum_{i=1}^k x_i(|A_i|-1) \\ge \\sum_{i=1}^k x_i(\\ell-1) = (\\ell-1)X \\]\nNow we can establish a lower bound for $L = \\sum_{s,t} Y_{st}^2 = \\sum_{s=1}^n Y_{ss}^2 + \\sum_{s \\neq t} Y_{st}^2$.\nBy the Cauchy-Schwarz inequality, applied to the $n$ diagonal entries $Y_{ss}$:\n\\[ \\left(\\sum_{s=1}^n Y_{ss}\\right)^2 \\le n \\sum_{s=1}^n Y_{ss}^2 \\implies \\sum_{s=1}^n Y_{ss}^2 \\ge \\frac{D^2}{n} = \\frac{X^2}{n} \\]\nEquality holds if and only if $Y_{11} = Y_{22} = \\dots = Y_{nn}$.\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{\\ell^2 - 2\\ell + n}{n(n-1)}",
"style": "rule"
}
|
{
"index": 110,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-69-with-guidance
|
without-guidance
|
[
{
"content": "In isosceles triangle $\\triangle ABC$, $A$ is located at the origin and $B$ is located at $(20,0)$. Point $C$ is in the first quadrant with $AC = BC$ and angle $BAC = 75^{\\circ}$. If triangle $ABC$ is rotated counterclockwise about point $A$ until the image of $C$ lies on the positive $y$-axis, the area of the region common to the original and the rotated triangle is in the form $p\\sqrt{2} + q\\sqrt{3} + r\\sqrt{6} + s$, where $p,q,r,s$ are integers. Find $\\frac{p-q+r-s}2$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "875",
"style": "rule"
}
|
{
"index": 428,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-171-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:\nWhat is the least number of gumballs that Wally must buy to guarantee that he receives 3 gumballs of the same colour?\n\nPartial Response:\nThis problem is an application of the Pigeonhole Principle. The goal is to find the smallest number of gumballs Wally must buy to *guarantee* that he has at least 3 gumballs of the same color. To do this, we need to consider the worst-case scenario.\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": "8",
"style": "rule"
}
|
{
"index": 565,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-257-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:\n\nThe base of pyramid \\( T ABCD \\) is an isosceles trapezoid \\( ABCD \\) with the length of the shorter base \\( BC \\) equal to \\( \\sqrt{3} \\). The ratio of the areas of the parts of the trapezoid \\( ABCD \\), divided by the median line, is \\( 5:7 \\). All the lateral faces of the pyramid \\( T ABCD \\) are inclined at an angle of \\( 30^\\circ \\) with respect to the base. The plane \\( AKN \\), where points \\( K \\) and \\( N \\) are the midpoints of the edges \\( TB \\) and \\( TC \\) respectively, divides the pyramid into two parts. Find the volume of the larger part.\n\n**(16 points)**\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**Step 1: Analyze the base trapezoid \\( ABCD \\)**\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": "0.875",
"style": "rule"
}
|
{
"index": 153,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-98-with-guidance
|
without-guidance
|
[
{
"content": "For a continuous and absolutely integrable complex-valued function $f(x)$ on $\\mathbb{R}$, define a function $(S f)(x)$ on $\\mathbb{R}$ by $(S f)(x)=\\int_{-\\infty}^{+\\infty} e^{2 \\pi \\mathrm{i} u x} f(u) \\mathrm{d} u$. Find explicit forms of $S\\left(\\frac{1}{1+x^{2}}\\right)$ and $S\\left(\\frac{1}{\\left(1+x^{2}\\right)^{2}}\\right)$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "S\\left(\\frac{1}{1+x^{2}}\\right)=\\pi e^{-2 \\pi|x|}, S\\left(\\frac{1}{\\left(1+x^{2}\\right)^{2}}\\right)=\\frac{\\pi}{2}(1+2 \\pi|x|) e^{-2 \\pi|x|}",
"style": "rule"
}
|
{
"index": 49,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-31-without-guidance
|
without-guidance
|
[
{
"content": "What is the sum of all of the possibilities for Sam's number if Sam thinks of a 5-digit number, Sam's friend Sally tries to guess his number, Sam writes the number of matching digits beside each of Sally's guesses, and a digit is considered \"matching\" when it is the correct digit in the correct position?",
"role": "user"
}
] |
math
|
{
"ground_truth": "526758",
"style": "rule"
}
|
{
"index": 556,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-254-without-guidance
|
without-guidance
|
[
{
"content": "Let $N$ be the number of ways to place the integers $1$ through $12$ in the $12$ cells of a $2 \\times 6$ grid so that for any two cells sharing a side, the difference between the numbers in those cells is not divisible by $3.$ One way to do this is shown below. Find the number of positive integer divisors of $N.$ \n$$\\begin{array}{|c|c|c|c|c|c|} \\hline 1 & 3 & 5& 7 &9& 11 \\\\ \\hline 2& 4 & 6 & 8& 10 & 12 \\\\ \\hline \\end{array}$$",
"role": "user"
}
] |
math
|
{
"ground_truth": "144",
"style": "rule"
}
|
{
"index": 291,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-177-without-guidance
|
without-guidance
|
[
{
"content": "Define a \\textit{growing spiral} in the plane to be a sequence of points with integer coordinates $P_0 = (0,0), P_1, \\dots, P_n$ such that $n \\geq 2$ and: \\begin{itemize} \\item the directed line segments $P_0 P_1, P_1 P_2, \\dots, P_{n-1} P_n$ are in the successive coordinate directions east (for $P_0 P_1$), north, west, south, east, etc.; \\item the lengths of these line segments are positive and strictly increasing. \\end{itemize} [Picture omitted.] How many of the points $(x,y)$ with integer coordinates $0\\leq x\\leq 2011, 0\\leq y\\leq 2011$ \\emph{cannot} be the last point, $P_n$ of any growing spiral?",
"role": "user"
}
] |
math
|
{
"ground_truth": "10053",
"style": "rule"
}
|
{
"index": 212,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-76-without-guidance
|
without-guidance
|
[
{
"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$ and $BCP$ are tangent. If $AC = 2\\sqrt{61}$ and $BD = 6\\sqrt7$,then $OP$ can be expressed as $\\sqrt{a}-\\sqrt{b}$ for positive integers $a$ and $b$. Compute $100a + b$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "103360",
"style": "rule"
}
|
{
"index": 305,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-121-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 magician has one hundred cards numbered 1 to 100. He puts them into three boxes, a red one, a white one and a blue one, so that each box contains at least one card. A member of the audience draws two cards from two different boxes and announces the sum of numbers on those cards. Given this information, the magician locates the box from which no card has been drawn. \n\nHow many ways are there to put the cards in the three boxes so that the trick works?\n\nPartial Response:\nLet $S = \\{1, 2, \\dots, 100\\}$. The set of cards is partitioned into three non-empty sets $C_R, C_W, C_B$ corresponding to the red, white, and blue boxes.\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": "12",
"style": "rule"
}
|
{
"index": 117,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-42-with-guidance-1
|
without-guidance
|
[
{
"content": "In an office at various times during the day, the boss gives the secretary a letter to type, each time putting the letter on top of the pile in the secretary's inbox. When there is time, the secretary takes the top letter off the pile and types it. There are nine letters to be typed during the day, and the boss delivers them in the order $1, 2, 3, 4, 5, 6, 7, 8, 9$.\n While leaving for lunch, the secretary tells a colleague that letter $8$ has already been typed but says nothing else about the morning's typing. The colleague wonders which of the nine letters remain to be typed after lunch and in what order they will be typed. Based on the above information, how many such after-lunch typing orders are possible? (That there are no letters left to be typed is one of the possibilities.)",
"role": "user"
}
] |
math
|
{
"ground_truth": "704",
"style": "rule"
}
|
{
"index": 423,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-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:\nWhat is the value of $x$ if $P Q S$ is a straight line and $\\angle P Q R=110^{\\circ}$?\n\nPartial Response:\nStep-by-step solution:\n\n1. **Identify the relationship between the angles on the straight line.**\n The line $PQS$ is a straight line. The angles $\\angle PQR$ and $\\angle RQS$ are adjacent angles that form a linear pair on this straight line. The sum of angles on a straight line is $180^{\\circ}$.\n Therefore, we can write the equation:\n $\\angle PQR + \\angle RQS = 180^{\\circ}$\n\n2. **Calculate the measure of $\\angle RQS$.**\n We are given that $\\angle PQR = 110^{\\circ}$. We can substitute this value into the equation from Step 1.\n $110^{\\circ} + \\angle RQS = 180^{\\circ}$\n Subtract $110^{\\circ}$ from both sides to find $\\angle RQS$:\n $\\angle RQS = 180^{\\circ} - 110^{\\circ}$\n $\\angle RQS = 70^{\\circ}$\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": "24",
"style": "rule"
}
|
{
"index": 564,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-256-with-guidance-0
|
without-guidance
|
[
{
"content": "The second and fourth terms of a geometric sequence are 2 and 6. Which of the following is a possible first term?",
"role": "user"
}
] |
math
|
{
"ground_truth": "$-\\frac{2\\sqrt{3}}{3}$",
"style": "rule"
}
|
{
"index": 192,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-69-without-guidance
|
without-guidance
|
[
{
"content": "Let $ n$ and $ k$ be positive integers such that $ \\frac{1}{2} n < k \\leq \\frac{2}{3} n.$ Find the least number $ m$ for which it is possible to place $ m$ pawns on $ m$ squares of an $ n \\times n$ chessboard so that no column or row contains a block of $ k$ adjacent unoccupied squares.",
"role": "user"
}
] |
math
|
{
"ground_truth": "$4(n-k)$",
"style": "rule"
}
|
{
"index": 403,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-241-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 man named Juan has three rectangular solids, each having volume $128$. Two of the faces of one solid have areas $4$ and $32$. Two faces of another solid have areas $64$ and $16$. Finally, two faces of the last solid have areas $8$ and $32$. What is the minimum possible exposed surface area of the tallest tower Juan can construct by stacking his solids one on top of the other, face to face? (Assume that the base of the tower is not exposed.)\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**Step 1: Determine the dimensions of each rectangular solid.**\n\nLet the dimensions of a rectangular solid be $l, w, h$. The volume is $V = lwh$. The areas of the three pairs of faces are $lw, lh, wh$. We know that $(lw)(lh)(wh) = l^2w^2h^2 = (lwh)^2 = V^2$.\nFor each solid, the volume $V = 128$, so $V^2 = 128^2 = 16384$.\n\n* **Solid 1:** Two face areas are $4$ and $32$. Let the third face area be $A_3$.\n $4 \\cdot 32 \\cdot A_3 = 128^2$\n $128 \\cdot A_3 = 16384$\n $A_3 = 128$\n The three face areas are $lw=4$, $lh=32$, and $wh=128$.\n To find the dimensions, we can solve the system of equations:\n $l = \\sqrt{\\frac{(lw)(lh)}{wh}} = \\sqrt{\\frac{4 \\cdot 32}{128}} = \\sqrt{\\frac{128}{128}} = 1$.\n $w = 4/l = 4/1 = 4$.\n $h = 32/l = 32/1 = 32$.\n The dimensions of the first solid are **1 x 4 x 32**.\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": "688",
"style": "rule"
}
|
{
"index": 294,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-115-with-guidance-3
|
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 $S$ be the set of all points in the plane whose coordinates are positive integers less than or equal to 100 (so $S$ has $100^{2}$ elements), and let $\\mathcal{L}$ be the set of all lines $\\ell$ such that $\\ell$ passes through at least two points in $S$. Find, with proof, the largest integer $N \\geq 2$ for which it is possible to choose $N$ distinct lines in $\\mathcal{L}$ such that every two of the chosen lines are parallel.\n\nPartial Response:\nLet $S = \\{(x,y) \\in \\mathbb{Z}^2 \\mid 1 \\le x \\le 100, 1 \\le y \\le 100\\}$.\nLet $\\mathcal{L}$ be the set of lines passing through at least two points of $S$.\nWe are looking for the largest integer $N$ such that there exist $N$ distinct lines $\\ell_1, \\dots, \\ell_N$ in $\\mathcal{L}$ that are all parallel to each other.\n\nA set of parallel lines is characterized by a common slope, $m$. Since each line must pass through at least two points in $S$, the slope $m$ must be a rational number. Let the slope be $m = p/q$ where $p, q$ are coprime integers and we can assume $q \\ge 0$.\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": "4950",
"style": "rule"
}
|
{
"index": 216,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-138-with-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:\nFive people take a true-or-false test with five questions. Each person randomly guesses on every question. Given that, for each question, a majority of test-takers answered it correctly, let $p$ be the probability that every person answers exactly three questions correctly. Suppose that $p=\\frac{a}{2^{b}}$ where $a$ is an odd positive integer and $b$ is a nonnegative integer. Compute 100a+b.\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**Step 1: Define the sample space and events**\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": "25517",
"style": "rule"
}
|
{
"index": 45,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-29-with-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 a point $P$ on a triangular piece of paper $ABC,\\,$ consider the creases that are formed in the paper when $A, B,\\,$ and $C\\,$ are folded onto $P.\\,$ Let us call $P$ a fold point of $\\triangle ABC\\,$ if these creases, which number three unless $P$ is one of the vertices, do not intersect. Suppose that $AB=36, AC=72,\\,$ and $\\angle B=90^\\circ.\\,$ Then the area of the set of all fold points of $\\triangle ABC\\,$ can be written in the form $q\\pi-r\\sqrt{s},\\,$ where $q, r,\\,$ and $s\\,$ are positive integers and $s\\,$ is not divisible by the square of any prime. What is $q+r+s\\,$?\n\n\nPartial Response:\n**Step 1: Understand the Geometry of the Triangle**\nWe are given a triangle `ABC` with `AB = 36`, `AC = 72`, and `∠B = 90°`. This is a right-angled triangle. We can find the length of the third side `BC` using the Pythagorean theorem:\n`AC² = AB² + BC²`\n`72² = 36² + BC²`\n`BC² = 72² - 36² = (2 \\cdot 36)² - 36² = 4 \\cdot 36² - 36² = 3 \\cdot 36²`\n`BC = 36√3`\n\nLet's place the triangle in a coordinate system for easier calculations. Let `B` be at the origin `(0,0)`, `A` on the y-axis, and `C` on the x-axis.\nThe coordinates of the vertices are:\n`B = (0, 0)`\n`A = (0, 36)`\n`C = (36√3, 0)`\nThe hypotenuse `AC` lies on the line with equation `y - 0 = \\frac{36-0}{0-36\\sqrt{3}}(x - 36\\sqrt{3})`, which simplifies to `y = -\\frac{1}{\\sqrt{3}}(x - 36\\sqrt{3})`, or `x + \\sqrt{3}y = 36\\sqrt{3}`.\n\n**Step 2: Interpret the Condition for a Fold Point**\nA point `P` is a fold point if the creases formed by folding vertices `A, B, C` onto `P` do not intersect.\nThe crease formed by folding a vertex, say `A`, onto `P` is a segment of the perpendicular bisector of the line segment `AP`. Let's call this line `l_A`.\nThe intersection of two such creases, say for `A` and `B`, is the intersection of `l_A` and `l_B`. A point `X` on this intersection satisfies `XA = XP` and `XB = XP`, which implies `XA = XB = XP`. This means `X` is the circumcenter of the triangle `ΔABP`.\nThe creases do not intersect *within the triangle `ABC`* if their intersection points (the circumcenters of `ΔABP`, `ΔBCP`, and `ΔCAP`) all lie outside the (open) triangle `ABC`.\n\nLet `O_C` be the circumcenter of `ΔABP`.\nLet `O_A` be the circumcenter of `ΔBCP`.\nLet `O_B` be the circumcenter of `ΔCAP`.\n`P` is a fold point if and only if `O_A`, `O_B`, and `O_C` are all outside `ΔABC`.\n\n**Step 3: Find the Locus of P for each Condition**\nThe locus of points `P` such that the circumcenter of `V₁V₂P` lies on a side of `ΔABC` forms the boundary of the region of \"non-fold\" points. It is a known result that this locus is a circle.\nLet's analyze the condition for `O_C` (circumcenter of `ΔABP`) to be inside `ΔABC`. The boundaries are the loci of `P` where `O_C` is on the lines `AB`, `BC`, or `AC`.\n- If `O_C` is on the line `AB`, `P` must lie on the circle with diameter `AB`. Let's call this circle `Γ_AB`.\n- If `O_C` is on the line `BC`, this is not possible as `O_C` must lie on the perpendicular bisector of `AB`, which is the line `y=18`.\n- If `O_C` is on the line `AC`, `P` must lie on the circumcircle of `ΔABC`. Let's call this `Γ`.\n\nSo, the region of points `P` for which `O_C` is inside `ΔABC` is bounded by `Γ_AB` and `Γ`. A careful analysis shows that `O_C` is inside `ΔABC` if `P` is inside `Γ` and outside `Γ_AB`.\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": "597",
"style": "rule"
}
|
{
"index": 364,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-145-with-guidance-1
|
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
|
without-guidance
|
[
{
"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$ and $BCP$ are tangent. If $AC = 2\\sqrt{61}$ and $BD = 6\\sqrt7$,then $OP$ can be expressed as $\\sqrt{a}-\\sqrt{b}$ for positive integers $a$ and $b$. Compute $100a + b$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "103360",
"style": "rule"
}
|
{
"index": 305,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-121-without-guidance
|
without-guidance
|
[
{
"content": "Let $A=(a_{ij})\\in M_{(n+1)\\times (n+1)}(\\mathbb{R})$ with $a_{ij}=a+|i-j|d$, where $a$ and $d$ are fixed real numbers.\nCalculate $\\det(A)$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "(-1)^n 2^{n-1} d^n (2a + nd)",
"style": "rule"
}
|
{
"index": 118,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-75-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:\nLet $A$ be as in problem 33. Let $W$ be the sum of all positive integers that divide $A$. Find $W$.\n\nPartial Response:\nTo solve this problem, we first need to determine the value of $A$. The problem states that \"$A$ is as in problem 33\", which indicates that this problem is part of a larger set of problems where variables are defined in preceding questions.\n\nBy searching for this problem, we can identify it as part of the 2023 Duke Math Meet (DMM), specifically from the Power Round. The relevant sequence of problems is:\n\n* **Problem 32:** Let $n$ be a positive integer. Let $S(n)$ be the sum of the digits of $n$. Find $S(S(S(2023^{2023})))$.\n* **Problem 33:** Let $A$ be the answer to the previous problem. Find the number of positive integers that divide $A$.\n* **Problem 34 (The current problem):** Let $A$ be as in problem 33. Let $W$ be the sum of all positive integers that divide $A$. Find $W$.\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": "8",
"style": "rule"
}
|
{
"index": 16,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-10-with-guidance
|
without-guidance
|
[
{
"content": "Let $W=(0,0), A=(7,0), S=(7,1)$, and $H=(0,1)$. Compute the number of ways to tile rectangle $W A S H$ with triangles of area $1 / 2$ and vertices at lattice points on the boundary of WASH.",
"role": "user"
}
] |
math
|
{
"ground_truth": "3432",
"style": "rule"
}
|
{
"index": 432,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-175-without-guidance
|
without-guidance
|
[
{
"content": "Triangle $ABC$ has $BC=20.$ The incircle of the triangle evenly trisects the median $AD.$ If the area of the triangle is $m \\sqrt{n}$ where $m$ and $n$ are integers and $n$ is not divisible by the square of a prime, find $m+n.$",
"role": "user"
}
] |
math
|
{
"ground_truth": "38",
"style": "rule"
}
|
{
"index": 416,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-248-without-guidance
|
without-guidance
|
[
{
"content": "It is known that exactly one of the three (distinguishable) musketeers stole the truffles. Each musketeer makes one statement, in which he either claims that one of the three is guilty, or claims that one of the three is innocent. It is possible for two or more of the musketeers to make the same statement. After hearing their claims, and knowing that exactly one musketeer lied, the inspector is able to deduce who stole the truffles. How many ordered triplets of statements could have been made?",
"role": "user"
}
] |
math
|
{
"ground_truth": "99",
"style": "rule"
}
|
{
"index": 39,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-25-without-guidance
|
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": "Mutually prime positive integers $p_n, q_n$ satisfy $\\\\frac{P_n}{q_n}=1+\\\\frac12+\\\\frac13+\\\\cdots+\\\\frac1n$. The sum of all positive integers $n$ such that $3|p_n$ is \\\\underline{\\\\hspace{2cm}}.",
"role": "user"
}
] |
math
|
{
"ground_truth": "31",
"style": "rule"
}
|
{
"index": 200,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-73-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:\nAlien 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.$\n\nPartial Response:\nHere is the step-by-step solution to the problem.\n\n**Step 1: Analyze the Toxic Waste and Encounter Conditions**\n\nLet $P_i$ be Alien Connor's position after step $i$, with $P_0 = (0,0)$. Let $D_i$ be the direction of the $i$-th step. So, $P_i = P_{i-1} + D_i$.\n\nA step is taken every 60 seconds. The toxic waste at a point lasts for 150 seconds.\nWhen Connor takes step $k$ (at time $t=60k$ seconds), he moves from $P_{k-1}$ to $P_k$. He leaves waste at $P_{k-1}$. The waste left at $P_{j-1}$ (from step $j$) is toxic until $t = 60j + 150$.\n\nAn encounter at step $k$ occurs if his new position $P_k$ is on a lattice point that is currently toxic. The set of toxic points at time $t=60k$ are those $P_{j-1}$ for which $60k \\le 60j + 150$. This simplifies to $k \\le j + 2.5$, or $j \\ge k-2.5$. Since $j$ must be an integer and the waste is left at $P_{j-1}$ before he arrives at $P_j$, we consider waste left from steps $j=1, ..., k-1$. So, at step $k$, he must avoid the locations $\\{P_0, P_1, \\dots, P_{k-2}\\}$ for which the waste is still active.\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": "505",
"style": "rule"
}
|
{
"index": 323,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-193-with-guidance
|
without-guidance
|
[
{
"content": "For $\\pi \\le \\theta < 2\\pi$, let\n\\begin{align*} P &= \\frac12\\cos\\theta - \\frac14\\sin 2\\theta - \\frac18\\cos 3\\theta + \\frac{1}{16}\\sin 4\\theta + \\frac{1}{32} \\cos 5\\theta - \\frac{1}{64} \\sin 6\\theta - \\frac{1}{128} \\cos 7\\theta + \\cdots \\end{align*}\n and\n\\begin{align*} Q &= 1 - \\frac12\\sin\\theta -\\frac14\\cos 2\\theta + \\frac18 \\sin 3\\theta + \\frac{1}{16}\\cos 4\\theta - \\frac{1}{32}\\sin 5\\theta - \\frac{1}{64}\\cos 6\\theta +\\frac{1}{128}\\sin 7\\theta + \\cdots \\end{align*}\n so that $\\frac{P}{Q} = \\frac{2\\sqrt2}{7}$. Then $\\sin\\theta = -\\frac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "36",
"style": "rule"
}
|
{
"index": 141,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-90-without-guidance
|
without-guidance
|
[
{
"content": "Compute the number of positive integers less than 10! which can be expressed as the sum of at most 4 (not necessarily distinct) factorials.",
"role": "user"
}
] |
math
|
{
"ground_truth": "648",
"style": "rule"
}
|
{
"index": 91,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-59-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 student computed the repeating decimal expansion of $\\frac{1}{N}$ for some integer $N$, but inserted six extra digits into the repetend to get $.0 \\overline{0231846597}$. Compute the value of $N$.\n\nPartial Response:\nLet the given repeating decimal be $x = 0.0\\overline{0231846597}$.\nThe repetend is $R = 0231846597$, which has a length of 10 digits.\nThe problem states that this was obtained from the repeating decimal expansion of $\\frac{1}{N}$ by inserting six extra digits into its repetend.\nLet the original repetend of $\\frac{1}{N}$ have length $d$. The new repetend has length $d+6$.\nSo, $d+6=10$, which implies the original repetend had length $d=4$.\n\nThe given number has a non-repeating part of one digit ('0'). It's reasonable to assume the original number $\\frac{1}{N}$ also has a non-repeating part of one digit ('0').\nSo, the decimal expansion of $\\frac{1}{N}$ is of the form $0.0\\overline{c_1c_2c_3c_4}$.\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": "606",
"style": "rule"
}
|
{
"index": 205,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-131-with-guidance
|
without-guidance
|
[
{
"content": "Numbers $m$ and $n$ are on the number line. What is the value of $n-m$?",
"role": "user"
}
] |
math
|
{
"ground_truth": "55",
"style": "rule"
}
|
{
"index": 552,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-251-without-guidance
|
without-guidance
|
[
{
"content": "Let $V=\\{1, \\ldots, 8\\}$. How many permutations $\\sigma: V \\rightarrow V$ are automorphisms of some tree?",
"role": "user"
}
] |
math
|
{
"ground_truth": "30212",
"style": "rule"
}
|
{
"index": 226,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-80-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:\nLet $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.\n\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**Step 1: Understand the Goal and Interpret the Notation**\n\nWe are asked to find the number of pairs of functions $\\{f, g\\}$, where $f: A \\to B$ and $g: A \\to B$, with $A = \\{1,2,3,4,5\\}$ and $B = \\{0,1,2\\}$. The condition is that there are exactly two elements $x \\in A$ for which $f(x) = g(x)$.\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": "9720",
"style": "rule"
}
|
{
"index": 325,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-194-with-guidance
|
without-guidance
|
[
{
"content": "(a) Can 1000 queens be placed on a $2017 \\times 2017$ chessboard such that every square is attacked by some queen? A square is attacked by a queen if it lies in the same row, column, or diagonal as the queen. (b) A $2017 \\times 2017$ grid of squares originally contains a 0 in each square. At any step, Kelvin the Frog chooses two adjacent squares (two squares are adjacent if they share a side) and increments the numbers in both of them by 1. Can Kelvin make every square contain a different power of 2? (c) A tournament consists of single games between every pair of players, where each game has a winner and loser with no ties. A set of people is dominated if there exists a player who beats all of them. Does there exist a tournament in which every set of 2017 people is dominated? (d) Every cell of a $19 \\times 19$ grid is colored either red, yellow, green, or blue. Does there necessarily exist a rectangle whose sides are parallel to the grid, all of whose vertices are the same color? (e) Does there exist a $c \\in \\mathbb{R}^{+}$such that $\\max (|A \\cdot A|,|A+A|) \\geq c|A| \\log ^{2}|A|$ for all finite sets $A \\subset \\mathbb{Z}$? (f) Can the set $\\{1,2, \\ldots, 1093\\}$ be partitioned into 7 subsets such that each subset is sum-free (i.e. no subset contains $a, b, c$ with $a+b=c)$?",
"role": "user"
}
] |
math
|
{
"ground_truth": "NNYYYY",
"style": "rule"
}
|
{
"index": 462,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-196-without-guidance
|
without-guidance
|
[
{
"content": "A subset $S$ of the nonnegative integers is called supported if it contains 0, and $k+8, k+9 \\in S$ for all $k \\in S$. How many supported sets are there?",
"role": "user"
}
] |
math
|
{
"ground_truth": "1430",
"style": "rule"
}
|
{
"index": 231,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-82-without-guidance
|
without-guidance
|
[
{
"content": "Compute the number of ways to color the vertices of a regular heptagon red, green, or blue (with rotations and reflections distinct) such that no isosceles triangle whose vertices are vertices of the heptagon has all three vertices the same color.",
"role": "user"
}
] |
math
|
{
"ground_truth": "294",
"style": "rule"
}
|
{
"index": 247,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-158-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:\nLet $S$ be the set of all points in the plane whose coordinates are positive integers less than or equal to $100$ (so $S$ has $100^2$ elements), and let $L$ be the set of all lines $\\ell$ such that $\\ell$ passes through at least two points in $S$. Find, with proof, the largest integer $N \\geq 2$ for which it is possible to choose $N$ distinct lines in $L$ such that every two of the chosen lines are parallel.\n\nPartial Response:\nLet $S = \\{(x, y) \\in \\mathbb{Z}^2 : 1 \\leq x \\leq 100, 1 \\leq y \\leq 100\\}$.\nLet $L$ be the set of lines passing through at least two points of $S$.\nWe want to find the maximum number $N$ of distinct lines in $L$ that are all parallel to each other.\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": "4950",
"style": "rule"
}
|
{
"index": 307,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-122-with-guidance-2
|
without-guidance
|
[
{
"content": "Compute the number of ways a non-self-intersecting concave quadrilateral can be drawn in the plane such that two of its vertices are $(0,0)$ and $(1,0)$, and the other two vertices are two distinct lattice points $(a, b),(c, d)$ with $0 \\leq a, c \\leq 59$ and $1 \\leq b, d \\leq 5$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "366",
"style": "rule"
}
|
{
"index": 396,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-158-without-guidance
|
without-guidance
|
[
{
"content": "Alice starts with the number 0. She can apply 100 operations on her number. In each operation, she can either add 1 to her number, or square her number. After applying all operations, her score is the minimum distance from her number to any perfect square. What is the maximum score she can attain?",
"role": "user"
}
] |
math
|
{
"ground_truth": "94",
"style": "rule"
}
|
{
"index": 59,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-37-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 triangle $ABC$, $AB = 100$, $BC = 120$, and $CA = 140$. Points $D$ and $F$ lie on $\\overline{BC}$ and $\\overline{AB}$, respectively, such that $BD = 90$ and $AF = 60$. Point $E$ is an arbitrary point on $\\overline{AC}$. Denote the intersection of $\\overline{BE}$ and $\\overline{CF}$ as $K$, the intersection of $\\overline{AD}$ and $\\overline{CF}$ as $L$, and the intersection of $\\overline{AD}$ and $\\overline{BE}$ as $M$. If $[KLM] = [AME] + [BKF] + [CLD]$, where $[X]$ denotes the area of region $X$, compute $CE$.\n\nPartial Response:\nLet $S$ denote the area of triangle $ABC$. The side lengths are given as $c=AB=100$, $a=BC=120$, and $b=CA=140$.\nPoints $D$ and $F$ are on sides $\\overline{BC}$ and $\\overline{AB}$ respectively. We are given $BD=90$ and $AF=60$.\nThis means $DC = BC - BD = 120 - 90 = 30$ and $FB = AB - AF = 100 - 60 = 40$.\nPoint $E$ is on $\\overline{AC}$. Let $CE=x$. Then $AE = AC - CE = 140 - x$.\n\nWe will use barycentric coordinates with respect to $\\triangle ABC$. Let $A=(1,0,0)$, $B=(0,1,0)$, $C=(0,0,1)$.\nThe coordinates of the points $D, E, F$ are:\n$D$ on $BC$: $D = \\frac{DC}{BC}B + \\frac{BD}{BC}C = \\frac{30}{120}B + \\frac{90}{120}C = \\frac{1}{4}B + \\frac{3}{4}C$. So $D=(0, 1/4, 3/4)$.\n$F$ on $AB$: $F = \\frac{FB}{AB}A + \\frac{AF}{AB}B = \\frac{40}{100}A + \\frac{60}{100}B = \\frac{2}{5}A + \\frac{3}{5}B$. So $F=(2/5, 3/5, 0)$.\n$E$ on $AC$: $E = \\frac{CE}{AC}A + \\frac{AE}{AC}C = \\frac{x}{140}A + \\frac{140-x}{140}C$. Let $\\lambda = \\frac{x}{140}$. So $E=(\\lambda, 0, 1-\\lambda)$.\n\nThe lines $AD, BE, CF$ have the following equations in barycentric coordinates:\nLine $AD$ passes through $A(1,0,0)$ and $D(0,1/4,3/4)$. Its equation is $3y-z=0$.\nLine $BE$ passes through $B(0,1,0)$ and $E(\\lambda,0,1-\\lambda)$. Its equation is $(1-\\lambda)x-\\lambda z=0$.\nLine $CF$ passes through $C(0,0,1)$ and $F(2/5,3/5,0)$. Its equation is $3x-2y=0$.\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": "91",
"style": "rule"
}
|
{
"index": 405,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-243-with-guidance
|
without-guidance
|
[
{
"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 empty cell. (2) Choose two (not necessarily adjacent) cells with the same number in them; denote that number by $2^j.$ Replace the number in one of the cells with $2^j+1$ and erase the number in the other cell. At the end of the game, one cell contains the number $2^n$, where $n$ is a given positive integer, while the other cells are empty. Determine the maximum number of moves that Sir Alex could have made, in terms of $n$. Please provide the value of the maximum number of moves when $n = 10$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "2025",
"style": "rule"
}
|
{
"index": 333,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-133-without-guidance
|
without-guidance
|
[
{
"content": "For any integer $k\\geq 1$, let $p(k)$ be the smallest prime which does not divide $k.$ Define the integer function $X(k)$ to be the product of all primes less than $p(k)$ if $p(k)>2$, and $X(k)=1$ if $p(k)=2.$ Let $\\{x_n\\}$ be the sequence defined by $x_0=1$, and $x_{n+1}X(x_n)=x_np(x_n)$ for $n\\geq 0.$ Find the smallest positive integer $t$ such that $x_t=2090.$",
"role": "user"
}
] |
math
|
{
"ground_truth": "149",
"style": "rule"
}
|
{
"index": 177,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-115-without-guidance
|
without-guidance
|
[
{
"content": "David and Evan are playing a game. Evan thinks of a positive integer $N$ between 1 and 59, inclusive, and David tries to guess it. Each time David makes a guess, Evan will tell him whether the guess is greater than, equal to, or less than $N$. David wants to devise a strategy that will guarantee that he knows $N$ in five guesses. In David's strategy, each guess will be determined only by Evan's responses to any previous guesses (the first guess will always be the same), and David will only guess a number which satisfies each of Evan's responses. How many such strategies are there?",
"role": "user"
}
] |
math
|
{
"ground_truth": "36440",
"style": "rule"
}
|
{
"index": 61,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-39-without-guidance
|
without-guidance
|
[
{
"content": "How many ways are there to cut a 1 by 1 square into 8 congruent polygonal pieces such that all of the interior angles for each piece are either 45 or 90 degrees? Two ways are considered distinct if they require cutting the square in different locations. In particular, rotations and reflections are considered distinct.",
"role": "user"
}
] |
math
|
{
"ground_truth": "54",
"style": "rule"
}
|
{
"index": 538,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-243-without-guidance
|
without-guidance
|
[
{
"content": "Given that the 32-digit integer 64312311692944269609355712372657 is the product of 6 consecutive primes, compute the sum of these 6 primes.",
"role": "user"
}
] |
math
|
{
"ground_truth": "1200974",
"style": "rule"
}
|
{
"index": 471,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-202-without-guidance
|
without-guidance
|
[
{
"content": "Patty is standing on a line of planks playing a game. Define a block to be a sequence of adjacent planks, such that both ends are not adjacent to any planks. Every minute, a plank chosen uniformly at random from the block that Patty is standing on disappears, and if Patty is standing on the plank, the game is over. Otherwise, Patty moves to a plank chosen uniformly at random within the block she is in; note that she could end up at the same plank from which she started. If the line of planks begins with $n$ planks, then for sufficiently large n, the expected number of minutes Patty lasts until the game ends (where the first plank disappears a minute after the game starts) can be written as $P(1/n)f(n) + Q(1/n)$, where $P,Q$ are polynomials and $f(n) =\\sum^n_{i=1}\\frac{1}{i}$ . Find $P(2023) + Q(2023)$.",
"role": "user"
}
] |
math
|
{
"ground_truth": "4045",
"style": "rule"
}
|
{
"index": 320,
"split": "without-guidance"
}
|
medium-without-guidance
|
medium-128-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:\nOn a table lies a regular 100-gon whose vertices are numbered consecutively: $1, 2, \\cdots , 100$. These numbers were then rewritten, in increasing order, according to the distance of the corresponding vertex from the front edge of the table. If vertices are at the same distance from the edge, the left number is written first, and then the right one. All possible sets of numbers corresponding to different positions of the 100-gon are written out. Calculate the sum of the numbers in the 13-th position from the left in all these sets. Please provide the value of the sum of these numbers multiplied by 2.\n\nPartial Response:\nHere is a step-by-step solution to the problem.\n\n**1. Understanding the setup**\n\n* We have a regular 100-gon with vertices numbered 1 to 100 consecutively.\n* The 100-gon is placed on a table with a straight front edge.\n* For any position of the 100-gon, we create an ordered list (a permutation) of the vertex numbers from 1 to 100.\n* The ordering criterion is the distance of the vertex from the front edge, from smallest to largest.\n* If two vertices are at the same distance, the one on the left is placed first in the list.\n\n**2. Defining a \"Position\" and the Set of Orderings**\n\nA \"position\" is defined by the orientation of the 100-gon relative to the front edge. We can model the front edge as the x-axis and the distance as the y-coordinate (assuming the polygon is above the edge). The \"left-to-right\" rule uses the x-coordinate for tie-breaking.\n\nThe ordered list of vertex numbers changes only when the orientation of the 100-gon is \"critical\". A critical orientation occurs when the relative order of some vertices changes. This happens when:\n1. The y-coordinates of two vertices, say $V_i$ and $V_j$, become equal. This means the line segment (chord) $V_iV_j$ is parallel to the front edge.\n2. For a pair of vertices $V_i, V_j$ with equal y-coordinates, their x-coordinates become equal. This is impossible for distinct vertices of a polygon. However, the *order* of the x-coordinates can change, but this happens only when the y-coordinates are no longer equal. The tie-breaking rule's outcome changes when a horizontal chord $V_iV_j$ becomes vertical, i.e., the polygon rotates by 90 degrees. This means the chord $V_iV_j$ becomes perpendicular to the front edge.\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": "20200",
"style": "rule"
}
|
{
"index": 134,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-84-with-guidance
|
without-guidance
|
[
{
"content": "What is the 3-digit number formed by the $9998^{\\text {th }}$ through $10000^{\\text {th }}$ digits after the decimal point in the decimal expansion of \\frac{1}{998}$ ?",
"role": "user"
}
] |
math
|
{
"ground_truth": "042",
"style": "rule"
}
|
{
"index": 62,
"split": "without-guidance"
}
|
easy-without-guidance
|
easy-40-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 tetrahedron $ABCD$, triangle $ABC$ is an equilateral triangle, $\\\\angle BCD=90^{\\\\circ}$, $BC=CD=1$,$AC=\\\\sqrt{3}$,$E$ and $F$ are the midpoints of edges $BD$ and $AC$ respectively. Then the cosine of the angle formed by lines $AE$ and $BF$ is \\\\_\\\\_\\\\_\\\\_\\\\_.\n\nPartial Response:\nThe problem statement contains a contradiction. It states that triangle $ABC$ is an equilateral triangle and $BC=1$. This implies that $AC=BC=AB=1$. However, the problem also states that $AC=\\sqrt{3}$. These two statements, $AC=1$ and $AC=\\sqrt{3}$, contradict each other.\n\nA likely scenario is a typo in the problem statement. A common type of error is mislabeling a length. If we assume that the length of $AD$ was intended to be $\\sqrt{3}$ instead of $AC$, the problem becomes consistent and solvable. We will proceed under this assumption: the given information is that $\\triangle ABC$ is an equilateral triangle, $\\angle BCD=90^{\\circ}$, $BC=CD=1$, and $AD=\\sqrt{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": "$\\frac{\\sqrt{2}}{3}$",
"style": "rule"
}
|
{
"index": 201,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-127-with-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:\nLet $ \\left(a_{n}\\right)$ be the sequence of reals defined by $ a_{1}=\\frac{1}{4}$ and the recurrence $ a_{n}= \\frac{1}{4}(1+a_{n-1})^{2}, n\\geq 2$. Find the minimum real $ \\lambda$ such that for any non-negative reals $ x_{1},x_{2},\\dots,x_{2002}$, it holds\r\n\\[ \\sum_{k=1}^{2002}A_{k}\\leq \\lambda a_{2002}, \\]\r\nwhere $ A_{k}= \\frac{x_{k}-k}{(x_{k}+\\cdots+x_{2002}+\\frac{k(k-1)}{2}+1)^{2}}, k\\geq 1$.\n\nPartial Response:\nLet $N=2002$. We are asked to find the minimum real $\\lambda$ such that for any non-negative reals $x_1, x_2, \\dots, x_N$,\n\\[ \\sum_{k=1}^{N}A_{k}\\leq \\lambda a_{N}, \\]\nwhere $A_{k}= \\frac{x_{k}-k}{(x_{k}+\\cdots+x_{N}+\\frac{k(k-1)}{2}+1)^{2}}$.\n\nLet's define a sequence of variables $S_k$ for $k=1, \\dots, N+1$:\n\\[ S_k = \\sum_{i=k}^{N} x_i + \\frac{k(k-1)}{2} + 1 \\]\nFor $k=N+1$, the sum is empty, so we define it as 0.\n\\[ S_{N+1} = \\frac{(N+1)N}{2} + 1 \\]\nLet's find the relation between consecutive terms $S_k$ and $S_{k+1}$:\n\\[ S_k - S_{k+1} = \\left(\\sum_{i=k}^{N} x_i + \\frac{k(k-1)}{2} + 1\\right) - \\left(\\sum_{i=k+1}^{N} x_i + \\frac{(k+1)k}{2} + 1\\right) \\]\n\\[ S_k - S_{k+1} = x_k + \\frac{k(k-1)}{2} - \\frac{k(k+1)}{2} = x_k + \\frac{k^2-k-k^2-k}{2} = x_k - k \\]\nThe numerator of $A_k$ is $x_k-k$, and the denominator is $(S_k)^2$. So we can write $A_k$ as:\n\\[ A_k = \\frac{S_k - S_{k+1}}{S_k^2} \\]\nThe sum we want to maximize is $\\sum_{k=1}^{N} \\frac{S_k - S_{k+1}}{S_k^2}$.\n\nThe variables $x_k$ must be non-negative. This imposes constraints on the values of $S_k$.\n$x_k = S_k - S_{k+1} + k \\geq 0$, which means $S_k \\geq S_{k+1} - k$.\nAlso, from its definition, $S_k = \\sum_{i=k}^N x_i + \\frac{k(k-1)}{2}+1 \\ge \\frac{k(k-1)}{2}+1 > 0$.\n\nWe want to find the maximum value of the sum $ \\mathcal{S} = \\sum_{k=1}^{N} A_k $. Let's denote this maximum value by $M_N$.\nThe value of $S_{N+1}$ is fixed:\n$S_{N+1} = \\frac{2002 \\cdot 2003}{2} + 1 = 1001 \\cdot 2003 + 1 = 2005003 + 1 = 2005004$.\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}{2005004}",
"style": "rule"
}
|
{
"index": 217,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-78-with-guidance-1
|
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:\nSuppose $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$.\n\nPartial Response:\nLet $d = 2023$. We are given that $P(x)$ is a monic polynomial of degree $d$ such that for $k \\in \\{1, 2, \\dots, d\\}$, we have $P(k) = k^d P(1-\\frac{1}{k})$.\n\nLet's define a polynomial $Q(x) = x^d P(1-\\frac{1}{x})$. Let $P(x) = x^d + c_{d-1}x^{d-1} + \\dots + c_0$.\n$Q(x) = x^d \\left( \\left(1-\\frac{1}{x}\\right)^d + c_{d-1}\\left(1-\\frac{1}{x}\\right)^{d-1} + \\dots + c_0 \\right)$\n$Q(x) = (x-1)^d + c_{d-1}x(x-1)^{d-1} + \\dots + c_0x^d$.\n$Q(x)$ is a polynomial. The coefficient of $x^d$ in $Q(x)$ is $1+c_{d-1}+\\dots+c_0 = P(1)$.\nThe given condition is $P(k) = Q(k)$ for $k=1, 2, \\dots, d$.\nLet $R(x) = P(x) - Q(x)$. Since $R(k)=0$ for $k=1, \\dots, d$, we can write $R(x)$ as $C \\prod_{i=1}^d (x-i)$ for some constant $C$, provided $R(x)$ is a polynomial of degree $d$.\nThe degree of $R(x)$ is at most $d$. The coefficient of $x^d$ in $R(x)$ is $1 - P(1)$.\nIf $P(1) \\neq 1$, the degree is exactly $d$. Then $C = 1 - P(1)$.\nSo, $P(x) - x^d P(1-\\frac{1}{x}) = (1-P(1)) \\prod_{i=1}^d (x-i)$.\nLet's find the value of $P(1)$. For $k=1$, $P(1) = 1^d P(1-1/1) = P(0)$.\nLet's evaluate the identity at $x=0$:\n$P(0) - 0 = (1-P(1)) \\prod_{i=1}^d (-i) = (1-P(1))(-1)^d d!$.\nSince $d=2023$ is odd, $P(0) = -(1-P(1))d!$.\nUsing $P(1)=P(0)$, we get $P(1) = -(1-P(1))d! = -d! + P(1)d!$.\n$P(1)(1-d!) = -d!$, so $P(1) = \\frac{-d!}{1-d!} = \\frac{d!}{d!-1}$.\nThen $C = 1 - P(1) = 1 - \\frac{d!}{d!-1} = \\frac{d!-1-d!}{d!-1} = \\frac{-1}{d!-1}$.\nLet $F(x) = C \\prod_{i=1}^d (x-i)$. So $P(x) - x^d P(1-\\frac{1}{x}) = F(x)$.\n\nLet's define an operator $T$ acting on polynomials $G(x)$ by $(TG)(x) = x^d G(1-\\frac{1}{x})$.\nThe identity is $P - TP = F$.\nLet's apply $T$ repeatedly. Let $f(x)=1-1/x$, then $f(f(x))=-1/(x-1)$ and $f(f(f(x)))=x$.\n$(T^2G)(x) = T(TG)(x) = x^d (TG)(1-1/x) = x^d (1-1/x)^d G(1-1/(1-1/x)) = (x-1)^d G(-1/(x-1))$.\n$(T^3G)(x) = T(T^2G)(x) = x^d (T^2G)(1-1/x) = x^d ((1-1/x)-1)^d G(-1/((1-1/x)-1)) = x^d(-1/x)^d G(x) = (-1)^d G(x)$.\nSince $d=2023$ is odd, $(T^3G)(x) = -G(x)$ for any polynomial $G$.\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": "406",
"style": "rule"
}
|
{
"index": 306,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-184-with-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:\nWhat is the least number of gumballs that Wally must buy to guarantee that he receives 3 gumballs of the same colour?\n\nPartial Response:\nThis problem is an application of the Pigeonhole Principle. The goal is to find the smallest number of gumballs Wally must buy to *guarantee* that he has at least 3 gumballs of the same color. To do this, we need to consider the worst-case scenario.\n\nThe worst-case scenario is the one in which Wally picks the maximum possible number of gumballs without getting 3 of the same color. The very next gumball he buys will then guarantee a set of 3.\n\nTo prolong the process of getting 3 of the same color, Wally should pick gumballs of different colors. The maximum number of gumballs of any single color he can have without satisfying the condition is 2.\n\nThe problem does not state how many colors of gumballs are in the machine. Let's analyze the situation based on the number of colors available.\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": "8",
"style": "rule"
}
|
{
"index": 565,
"split": "with-guidance"
}
|
medium-with-guidance
|
medium-257-with-guidance-3
|
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:\nWhat is the smallest square-free composite number that can divide a number of the form $4242\\ldots 42\\pm 1$?\n\nPartial Response:\nLet $N_k$ be the number formed by repeating the block '42' $k$ times. We can express $N_k$ as:\n$N_k = 42 \\sum_{i=0}^{k-1} 100^i = 42 \\cdot \\frac{100^k - 1}{100 - 1} = \\frac{42}{99}(100^k - 1) = \\frac{14}{33}(10^{2k} - 1)$.\n\nWe are looking for the smallest square-free composite number $d$ that divides a number of the form $N_k \\pm 1$ for some positive integer $k$.\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": "319",
"style": "rule"
}
|
{
"index": 295,
"split": "with-guidance"
}
|
easy-with-guidance
|
easy-179-with-guidance
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 36