ability stringclasses 2
values | agent_name stringclasses 2
values | prompt listlengths 1 1 | reward_model unknown |
|---|---|---|---|
math | [
{
"role": "user",
"content": "Suppose that $a$ and $b$ are natural numbers such that \\[ p = \\frac{b}{4} \\sqrt{\\frac{2a-b}{2a+b}} \\] is a prime number. What is the maximum possible value of $p$?\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Random sequences $a_1, a_2, . . .$ and $b_1, b_2, . . .$ are chosen so that every element in each sequence is chosen independently and uniformly from the set $\\{0, 1, 2, 3, . . . , 100\\}$. Compute the expected value of the smallest nonnegative integer $s$ such that there exis... | {
"ground_truth": "2550",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let the sequence $\\{a_n\\}$ for $n \\ge 0$ be defined as $a_0 = c$, and for $n \\ge 0$, \n$$a_n = \\frac{2a_{n-1}}{4a^2_{n-1} - 1}.$$ \nCompute the sum of all values of $c$ such that $a_{2020}$ exists but $a_{2021}$ does not exist.\nPlease reason step by step, and put your f... | {
"ground_truth": "0",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The cells of a $100 \\times 100$ table are colored white. In one move, it is allowed to select some $99$ cells from the same row or column and recolor each of them with the opposite color. What is the smallest number of moves needed to get a table with a chessboard coloring?\nP... | {
"ground_truth": "100",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Raashan, Sylvia, and Ted play the following game. Each starts with $$$ $1$. A bell rings every $15$ seconds, at which time each of the players who currently have money simultaneously chooses one of the other two players independently and at random and gives $$$ $1$ to that play... | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Amy places positive integers in each of these cells so that each row and column contains each of $1, 2, 3, 4, 5$ exactly once. Find the sum of the numbers in the gray cells.\n\n\\begin{asy}\nimport graph; size(4cm);\nfill((4,0)--(10,0)--(10,6)--(4,6)--cycle, gray(.7));\ndraw((0... | {
"ground_truth": "25",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Define $n!!$ to be $n(n-2)(n-4)\\cdots 3\\cdot 1$ for $n$ odd and $n(n-2)(n-4)\\cdots 4\\cdot 2$ for $n$ even. When $\\sum\\limits_{i=1}^{2009} \\frac{(2i-1)!!}{(2i)!!}$ is expressed as a fraction in lowest terms, its denominator is $2^ab$ with $b$ odd. Find $\\dfrac{ab}{10}$.\... | {
"ground_truth": "401",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "David recently bought a large supply of letter tiles. One day he arrives back to his dorm to find that some of the tiles have been arranged to read $\\textsc{Central Michigan University}$. What is the smallest number of tiles David must remove and/or replace so that he can rear... | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $ABC$ be an equilateral triangle with side length $1$. This triangle is rotated by some angle about its center to form triangle $DEF$. The intersection of $ABC$ and $DEF$ is an equilateral hexagon with an area that is $\\frac{4}{5}$ the area of $ABC$. The side length of thi... | {
"ground_truth": "7",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $ABCD$ be a convex cyclic quadrilateral. Suppose $P$ is a point in the plane of the quadrilateral such that the sum of its distances from the vertices of $ABCD$ is the least. If $\\{PA, PB, PC, PD\\} = \\{3, 4, 6, 8\\}$, what is the maximum possible area of $ABCD$?\nPlease ... | {
"ground_truth": "55",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Find the number of ordered pairs of integers $(a,b) \\in \\{1,2,\\ldots,35\\}^2$ (not necessarily distinct) such that $ax+b$ is a quadratic residue modulo $x^2+1$ and $35$. This means there exists a polynomial $f(x)$ with integer coefficients such that either of the following e... | {
"ground_truth": "225",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $ABCD$ be a cyclic quadrilateral with circumcircle $\\omega$ and let $AC$ and $BD$ intersect at $X$. Let the line through $A$ parallel to $BD$ intersect line $CD$ at $E$ and $\\omega$ at $Y \\neq A$. If $AB = 10$, $AD = 24$, $XA = 17$, and $XB = 21$, then the area of $\\tri... | {
"ground_truth": "421",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $X, Y$ , and $Z$ be concentric circles with radii $1$, $13$, and $22$, respectively. Draw points $A, B$, and $C$ on $X$, $Y$ , and $Z$, respectively, such that the area of triangle $ABC$ is as large as possible. If the area of the triangle is $\\Delta$, find $\\Delta^2$.\nP... | {
"ground_truth": "24300",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $a > 1$ be a positive integer. The sequence of natural numbers $\\{a_n\\}_{n \\geq 1}$ is defined such that $a_1 = a$ and for all $n \\geq 1$, $a_{n+1}$ is the largest prime factor of $a_n^2 - 1$. Determine the smallest possible value of $a$ such that the numbers $a_1, a_2,... | {
"ground_truth": "46",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Define a search algorithm called $\\texttt{powSearch}$. Assume $A$ is a 1-indexed sorted array of distinct integers. To search for an integer $b$ in this array, we search the indices $2^0, 2^1, \\ldots$ until we either reach the end of the array or $A[2^k] > b$. If at any point... | {
"ground_truth": "808",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "An ant starts at the origin of the Cartesian coordinate plane. Each minute, it moves randomly one unit in one of the directions: up, down, left, or right, with all four directions being equally likely. Its direction each minute is independent of its direction in any previous mi... | {
"ground_truth": "3907",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "How many ordered triples $\\left(a, b, c\\right)$ of positive integers are there such that at least two of $a, b, c$ are prime and $abc = 11(a + b + c)$?\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "30",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "We say that a positive integer $m$ covers the number $1998$ if the digits $1, 9, 9, 8$ appear in this order as digits of $m$. For instance, $1998$ is covered by $2\\textbf{1}59\\textbf{9}36\\textbf{98}$ but not by $213326798$.\n\nLet $k(n)$ be the number of positive integers th... | {
"ground_truth": "1",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Three red books, three white books, and three blue books are randomly stacked to form three piles of three books each. The probability that no book is the same color as the book immediately on top of it is $\\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers... | {
"ground_truth": "6",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $T$ be the triangle in the coordinate plane with vertices $(0,0), (4,0),$ and $(0,3).$ Consider the following five isometries (rigid transformations) of the plane: rotations of $90^{\\circ}, 180^{\\circ},$ and $270^{\\circ}$ counterclockwise around the origin, reflection ac... | {
"ground_truth": "12",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Find the smallest number $n$ such that any set of $n$ points in a Cartesian plane, all of them with integer coordinates, contains two points such that the square of their mutual distance is a multiple of $2016$.\nPlease reason step by step, and put your final answer within \\bo... | {
"ground_truth": "14113",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Evaluate$$\\lim _{n \\rightarrow \\infty} \\frac{1}{n} \\sum_{k=1}^{n}\\left(\\left[\\frac{2 n}{k}\\right]-2\\left[\\frac{n}{k}\\right]\\right)$$and express your answer in the form $\\log a-b$, with $a$ and $b$ positive integers. Please provide the value of a-b. Here $[x]$ is d... | {
"ground_truth": "3",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Tim has a working analog 12-hour clock with two hands that run continuously. He also has a clock that runs at half the correct rate. At noon one day, both clocks show the exact time. At any given instant, the hands on each clock form an angle between $0^\\circ$ and $180^\\circ$... | {
"ground_truth": "33",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Raashan, Sylvia, and Ted play the following game. Each starts with $1$. A bell rings every $15$ seconds, at which time each of the players who currently have money simultaneously chooses one of the other two players independently and at random and gives $1$ to that player. What... | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "There are 100 houses on the street, divided into 50 pairs. Each pair consists of houses directly opposite each other across the street. On the right side, houses have even numbers, while on the left side, houses have odd numbers. The numbers on both sides increase from the star... | {
"ground_truth": "198",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The numbers $1, 2, . . . , 10$ are randomly arranged in a circle. Let $p$ be the probability that for every positive integer $k < 10$, there exists an integer $k' > k$ such that there is at most one number between $k$ and $k'$ in the circle. If $p$ can be expressed as $\\frac{a... | {
"ground_truth": "1390",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "In Occidentalia, there are $20$ different companies, each looking to hire $15$ new employees. A group of $300$ applicants interview with each of the companies. Each company qualifies each applicant as suitable or not suitable to work in it, such that each company finds exactly ... | {
"ground_truth": "285",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "In this problem, we consider only polynomials with integer coeffients. Call two polynomials $p$ and $q$ [i]really close[/i] if $p(2k + 1) \\equiv q(2k + 1)$ (mod $210$) for all $k \\in Z^+$. Call a polynomial $p$ [i]partial credit[/i] if no polynomial of lesser degree is [i]rea... | {
"ground_truth": "6",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Consider the $2 \\times 3$ rectangle below. We fill in the small squares with the numbers $1, 2, 3, 4, 5, 6$ (one per square). Define a tasty filling to be one such that each row is not in numerical order from left to right and each column is not in numerical order from top to ... | {
"ground_truth": "157",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $a_1$, $a_2$, \\ldots, $a_6$; $b_1$, $b_2$, \\ldots, $b_6$; and $c_1$, $c_2$, \\ldots, $c_6$ be permutations of $1$, $2$, \\ldots, $6$, respectively. Find the minimum value of $\\sum_{i=1}^{6} a_i b_i c_i$.\nPlease reason step by step, and put your final answer within \\box... | {
"ground_truth": "162",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Determine the least possible value of $f(1998)$, where $f: \\mathbb{N} \\to \\mathbb{N}$ is a function such that for all $m, n \\in \\mathbb{N}$, \n\n$$f\\left( n^{2}f(m)\\right) = m\\left( f(n)\\right)^{2}.$$\nPlease reason step by step, and put your final answer within \\box... | {
"ground_truth": "120",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For each positive integer $n$ , let $f(n) = \\sum\\limits_{k = 1}^{100} \\lfloor \\log_{10} (kn) \\rfloor$ . Find the largest value of $n$ for which $f(n) \\le 300$ . \nNote: $\\lfloor x \\rfloor$ is the greatest integer less than or equal to $x$ .\nPlease reason step by step, ... | {
"ground_truth": "109",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A large number of rocks are placed on a table. On each turn, one may remove some rocks from the table following these rules: on the first turn, only one rock may be removed, and on every subsequent turn, one may remove either twice as many rocks or the same number of rocks as t... | {
"ground_truth": "18",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "We say that an integer $a$ is a quadratic, cubic, or quintic residue modulo $n$ if there exists an integer $x$ such that $x^2 \\equiv a \\pmod{n}$, $x^3 \\equiv a \\pmod{n}$, or $x^5 \\equiv a \\pmod{n}$, respectively. Further, an integer $a$ is a primitive residue modulo $n$ i... | {
"ground_truth": "694",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The sequence of integers $a_1, a_2, \\dots$ is defined as follows:\n- $a_1 = 1$.\n- For $n > 1$, $a_{n+1}$ is the smallest integer greater than $a_n$ such that $a_i + a_j \\neq 3a_k$ for any $i, j, k$ from $\\{1, 2, \\dots, n+1\\}$, where $i, j, k$ are not necessarily different... | {
"ground_truth": "4507",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For what integers $n \\geq 3$ is it possible to arrange the numbers $1, 2, \\ldots, n$ in a circular order such that every number divides the sum of the next two numbers, in a clockwise direction?\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "3",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Triangle $ABC$ has $\\angle A = 90^\\circ$, $\\angle C = 30^\\circ$, and $AC = 12$. Let the circumcircle of this triangle be $W$. Define $D$ to be the point on arc $BC$ not containing $A$ so that $\\angle CAD = 60^\\circ$. Define points $E$ and $F$ to be the feet of the perpend... | {
"ground_truth": "23",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A cube with side length $10$ is divided into two cuboids with integral side lengths by a straight cut. Afterwards, one of these two cuboids is divided into two cuboids with integral side lengths by another straight cut. What is the smallest possible volume of the largest of the... | {
"ground_truth": "350",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "An alien from the planet OMO Centauri writes the first ten prime numbers in arbitrary order as $U$, $W$, $XW$, $ZZ$, $V$, $Y$, $ZV$, $ZW$, $ZY$, and $X$. Each letter represents a nonzero digit. Each letter represents the same digit everywhere it appears, and different letters r... | {
"ground_truth": "5390",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $n$ be a positive integer. We arrange $1+2+\\cdots+n$ circles in a triangle with $n$ rows, such that the $i^{\\text {th }}$ row contains exactly $i$ circles. The following figure shows the case $n=6$. In this triangle, a ninja-path is a sequence of circles obtained by repea... | {
"ground_truth": "3",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A wooden cube has edges of length $3$ meters. Square holes, with a side of $1$ meter, are centered in each face and cut through to the opposite face. The edges of the holes are parallel to the edges of the cube. What is the total surface area, including the inside, in square me... | {
"ground_truth": "72",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "13. Let $\\triangle T B D$ be a triangle with $T B=6, B D=8$, and $D T=7$. Let $I$ be the incenter of $\\triangle T B D$, and let $T I$ intersect the circumcircle of $\\triangle T B D$ at $M \\neq T$. Let lines $T B$ and $M D$ intersect at $Y$, and let lines $T D$ and $M B$ int... | {
"ground_truth": "97",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Nine light bulbs are equally spaced around a circle. When the power is turned on, each of the nine light bulbs turns blue or red, where the color of each bulb is determined randomly and independently of the colors of the other bulbs. Each time the power is turned on, the probab... | {
"ground_truth": "293",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let\n\\[f_1(x) = \\frac{1}{x}\\quad\\text{and}\\quad f_2(x) = 1 - x\\]\nLet $H$ be the set of all compositions of the form $h_1 \\circ h_2 \\circ \\ldots \\circ h_k$, where each $h_i$ is either $f_1$ or $f_2$. For all $h$ in $H$, let $h^{(n)}$ denote $h$ composed with itself $... | {
"ground_truth": "2",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A polynomial $f(x)$ with integer coefficients is called $\\textit{splitty}$ if and only if for every prime $p$, there exists polynomials $g_p, h_p$ with integer coefficients with degrees strictly smaller than the the degree of $f$, such that all coefficients of $f-g_ph_p$ are d... | {
"ground_truth": "693",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The real numbers $a_0, a_1, \\dots, a_{2013}$ and $b_0, b_1, \\dots, b_{2013}$ satisfy the recurrence relations:\n\\[\na_{n} = \\frac{1}{63} \\sqrt{2n+2} + a_{n-1} \\quad \\text{and} \\quad b_{n} = \\frac{1}{96} \\sqrt{2n+2} - b_{n-1}\n\\]\nfor every integer $n = 1, 2, \\dots, ... | {
"ground_truth": "671",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Daniel writes a list of positive integers, each less than or equal to 10, on a board from top to bottom. Next to each number in Daniel's list, Martin writes the number of times that number appears in Daniel's list, creating a new list of the same length. When Martin's list is r... | {
"ground_truth": "39",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "At the start of the PUMaC opening ceremony in McCosh auditorium, the speaker counts $90$ people in the audience. Every minute afterwards, either one person enters the auditorium (due to waking up late) or leaves (in order to take a dreadful math contest). The speaker observes t... | {
"ground_truth": "6",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The diagram below shows the first three \ffigures of a sequence of figures. The fi\frst \ffigure shows an equilateral triangle $ABC$ with side length $1$. The leading edge of the triangle going in a clockwise direction around $A$ is labeled $\\overline{AB}$ and is darkened in o... | {
"ground_truth": "1088",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Two externally tangent circles $\\omega_1$ and $\\omega_2$ have centers $O_1$ and $O_2$, respectively. A third circle $\\Omega$ passing through $O_1$ and $O_2$ intersects $\\omega_1$ at $B$ and $C$ and $\\omega_2$ at $A$ and $D$, as shown. Suppose that $AB = 2$, $O_1O_2 = 15$, ... | {
"ground_truth": "140",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A convex equilateral pentagon with side length $2$ has two right angles. The greatest possible area of the pentagon is $m + \\sqrt{n}$, where $m$ and $n$ are positive integers. Find $100m + n$.\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "407",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Determine the smallest positive integer $n$ such that there exist positive integers $x_1, x_2, \\ldots, x_n$ so that each natural number from 1001 to 2021 inclusive can be expressed as the sum of one or more distinct terms $x_i$ (where $i = 1, 2, \\ldots, n$).\nPlease reason st... | {
"ground_truth": "11",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Two different cubes of the same size are to be painted, with the color of each face being chosen independently and at random to be either black or white. Find the probability that after they are painted, the cubes can be rotated to be identical in appearance. The original answe... | {
"ground_truth": "1171",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For an upcoming international mathematics contest, the participating countries were asked to choose from nine combinatorics problems. Given how hard it usually is to agree, nobody was surprised that the following happened:\n[b]i)[/b] Every country voted for exactly three proble... | {
"ground_truth": "56",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Given 2005 distinct numbers $a_1, a_2, \\dots, a_{2005}$. By one question, we may take three different indices $1 \\le i < j < k \\le 2005$ and find out the set of numbers $\\{a_i, a_j, a_k\\}$ (unordered, of course). Find the minimal number of questions necessary to determine ... | {
"ground_truth": "1003",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "There are $100$ people standing in a line from left to right. Half of them are randomly chosen to face right (with all $\\binom{100}{50}$ possible choices being equally likely), and the others face left. Then, while there is a pair of people who are facing each other and have n... | {
"ground_truth": "\\frac{2^{100}}{\\binom{100}{50}} - 1",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "How many ways are there to arrange the numbers $1$ through $8$ into a $2 \\times 4$ grid such that:\n1. The sum of the numbers in each of the two rows is a multiple of $6$.\n2. The sum of the numbers in each of the four columns is a multiple of $3$?\nPlease reason step by step,... | {
"ground_truth": "288",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $n \\geq 1$ be a positive integer. We say that an integer $k$ is a fan of $n$ if $0 \\leq k \\leq n-1$ and there exist integers $x, y, z \\in \\mathbb{Z}$ such that\n\\[\n\\begin{align*}\nx^2 + y^2 + z^2 &\\equiv 0 \\pmod{n}; \\\\\nxyz &\\equiv k \\pmod{n}.\n\\end{align*}\n... | {
"ground_truth": "101",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A 16-step path is to go from $( -4, -4)$ to $(4,4)$ with each step increasing either the $x$-coordinate or the $y$-coordinate by 1. Find the number of such paths that stay outside or on the boundary of the square $-2 \\le x \\le 2$, $-2 \\le y \\le 2$ at each step.\nPlease reas... | {
"ground_truth": "1698",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $S$ S be a point chosen at random from the interior of the square $ABCD$, which has side $AB$ and diagonal $AC$. Let $P$ be the probability that the segments $AS$, $SB$, and $AC$ are congruent to the sides of a triangle. Then $P$ can be written as $\\dfrac{a-\\pi\\sqrt{b}... | {
"ground_truth": "160",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "In the figure, point $A$ is the center of the circle, the measure of angle $RAS$ is 74 degrees, and the measure of angle $RTB$ is 28 degrees. What is the measure of minor arc $BR$, in degrees? [asy]\nunitsize(1.2cm);\ndefaultpen(linewidth(.7pt)+fontsize(8pt));\ndotfactor=3;\n\n... | {
"ground_truth": "81",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $A=(a_{ij})$ be the $n \\times n$ matrix, where $a_{ij}$ is the remainder of the division of $i^j + j^i$ by $3$ for $i,j=1,2,\\ldots,n$. Find the greatest $n$ for which $\\det A \\neq 0$.\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For $0\\leq p\\leq1/2$,let $X_1,X_2,\\ldots$ be independent random variables such that $$X_i=\\begin{cases}1&with~ probability~p,\\\\-1&{with ~probability}~p,\\\\0&{with ~probability}~1-2p,\\end{cases}$$ for all $i\\geq1.$ Given a positive integer $n$ and integers $b,a_1,\\ld... | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Determine the maximum value of the sum\n$$S=\\sum_{n=1}^{\\infty}\\frac{n}{2^{n}}\\left(a_{1}a_{2}\\cdots a_{n}\\right)^{1/n}$$\nover all sequences $a_{1},a_{2},a_{3},\\cdots\\$ of nonnegative real numbers satisfying\n$$\\sum_{k=1}^{\\infty}a_{k}=1.$$The answer is in the form \... | {
"ground_truth": "5",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Sixty points are marked on a circle, divided as follows: thirty are red, twenty are blue, and ten are green. These points divide the circle into sixty arcs. Each arc is assigned a number based on the colors of its endpoints:\n\n- An arc between a red and a green point is assign... | {
"ground_truth": "100",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A palindrome is a nonnegative integer number that reads the same forwards and backwards when written in base $10$ with no leading zeros. A $6$-digit palindrome $n$ is chosen uniformly at random. Find the probability that \\(\\frac{n}{11}\\) is also a palindrome. The original an... | {
"ground_truth": "41",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Rhombus $ABCD$ has $\\angle BAD < 90^\\circ.$ There is a point $P$ on the incircle of the rhombus such that the distances from $P$ to the lines $DA,AB,$ and $BC$ are $9,$ $5,$ and $16,$ respectively. Find the perimeter of $ABCD.$\nPlease reason step by step, and put your final ... | {
"ground_truth": "125",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "$P(x)$ is a polynomial of degree $3n$ such that:\n\n\\[\n\\begin{align*}\nP(0) = P(3) = \\cdots &= P(3n) = 2, \\\\\nP(1) = P(4) = \\cdots &= P(3n-2) = 1, \\\\\nP(2) = P(5) = \\cdots &= P(3n-1) = 0, \\\\\n\\text{and } & P(3n+1) = 730.\n\\end{align*}\n\\]\n\nDetermine $n$.\nPleas... | {
"ground_truth": "4",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Kobar and Borah are playing a game on a whiteboard with the following rules: They start with two distinct positive integers on the board. On each step, beginning with Kobar, each player takes turns changing the numbers on the board as follows:\n\n1. From $P$ and $Q$ to $2P-Q$ a... | {
"ground_truth": "2179",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For integers $0 \\le m,n \\le 64$, let $\\alpha(m,n)$ be the number of nonnegative integers $k$ for which $\\left\\lfloor \\frac{m}{2^k} \\right\\rfloor$ and $\\left\\lfloor \\frac{n}{2^k} \\right\\rfloor$ are both odd integers. Consider a $65 \\times 65$ matrix $M$ whose $(i,j... | {
"ground_truth": "208",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Given a $4 \\times 4$ squares table, how many ways can we fill the table with $\\{0,1\\}$ such that any two neighboring squares (sharing one common side) have a product equal to $0$?\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "1234",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $C$ and $D$ be points on the circle with center $O$ and diameter $[AB]$, where $C$ and $D$ are on different semicircles with diameter $[AB]$. Let $H$ be the foot of the perpendicular from $B$ to $[CD]$. If $|AO| = 13$, $|AC| = 24$, and $|HD| = 12$, what is $\\widehat{DCB}$ ... | {
"ground_truth": "30",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Given a cube, on each edge, write a number, either $1$ or $-1$. For each face of the cube, multiply the four numbers on the edges of this face and write the product on this face. Finally, add all the eighteen numbers that were written on the edges and faces of the cube.\n\nWhat... | {
"ground_truth": "-12",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The following analog clock has two hands that can move independently of each other.\n[asy] unitsize(2cm); draw(unitcircle,black+linewidth(2)); for (int i = 0; i < 12; ++i) { draw(0.9*dir(30*i)--dir(30*i)); } ... | {
"ground_truth": "608",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Two real numbers $x$ and $y$ are chosen at random in the interval (0,1) with respect to the uniform distribution. What is the probability that the closest integer to $x/y$ is even? The original answer is in the form $r + s\\pi$, please give the value of $r + s$. \nPlease reason... | {
"ground_truth": "1",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The polynomial $f(x)=x^3-3x^2-4x+4$ has three real roots $r_1$, $r_2$, and $r_3$. Let $g(x)=x^3+ax^2+bx+c$ be the polynomial which has roots $s_1$, $s_2$, and $s_3$, where\n\\begin{align*}\ns_1 &= r_1+r_2z+r_3z^2, \\\\\ns_2 &= r_1z+r_2z^2+r_3, \\\\\ns_3 &= r_1z^2+r_2+r_3z,\n\\... | {
"ground_truth": "-26",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Find the greatest natural number $n$ such that there exist natural numbers $x_{1}, x_{2}, \\ldots, x_{n}$ and natural numbers $a_{1} < a_{2} < \\ldots < a_{n-1}$ satisfying the following equations for $i = 1, 2, \\ldots, n-1$: \n\\[x_{1}x_{2}\\ldots x_{n} = 1980 \\quad \\text{... | {
"ground_truth": "7",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $a$ and $b$ be positive integers such that $1 \\leq a < b \\leq 100$. If there exists a positive integer $k$ such that $ab \\mid a^k + b^k$, we say that the pair $(a, b)$ is good. Determine the number of good pairs.\nPlease reason step by step, and put your final answer wit... | {
"ground_truth": "96",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "A positive integer $n$ is said to be $m$-free if $n \\leq m!$ and $\\gcd(i,n)=1$ for each $i=1,2,...,m$. Let $\\mathcal{S}_k$ denote the sum of the squares of all the $k$-free integers. Find the remainder when $\\mathcal{S}_7-\\mathcal{S}_6$ is divided by $1000$.\nPlease reason... | {
"ground_truth": "80",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "For nonnegative integer $n$, the following are true:\n- $f(0) = 0$\n- $f(1) = 1$\n- $f(n) = f\\left(n - \\frac{m(m-1)}{2}\\right) - f\\left(\\frac{m(m+1)}{2} - n\\right)$ for integer $m$ satisfying $m \\geq 2$ and $\\frac{m(m-1)}{2} < n \\leq \\frac{m(m+1)}{2}$.\n\nFind the sma... | {
"ground_truth": "646",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "We define the function $f(x,y)=x^3+(y-4)x^2+(y^2-4y+4)x+(y^3-4y^2+4y)$. Then choose any distinct $a, b, c \\in \\mathbb{R}$ such that the following holds: $f(a,b)=f(b,c)=f(c,a)$. Over all such choices of $a, b, c$, what is the maximum value achieved by\n\\[\\min(a^4 - 4a^3 + 4a... | {
"ground_truth": "1",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "10 students are arranged in a row. Every minute, a new student is inserted in the row (which can occur in the front and in the back as well, hence $11$ possible places) with a uniform $\\frac{1}{11}$ probability of each location. Then, either the frontmost or the backmost stude... | {
"ground_truth": "828",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "In circle $\\Omega$, let $\\overline{AB}=65$ be the diameter and let points $C$ and $D$ lie on the same side of arc $\\overarc{AB}$ such that $CD=16$, with $C$ closer to $B$ and $D$ closer to $A$. Moreover, let $AD, BC, AC,$ and $BD$ all have integer lengths. Two other circles,... | {
"ground_truth": "961",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Determine the largest integer $n \\geq 3$ for which the edges of the complete graph on $n$ vertices can be assigned pairwise distinct non-negative integers such that the edges of every triangle have numbers which form an arithmetic progression.\nPlease reason step by step, and ... | {
"ground_truth": "4",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The sum of digits of integers k and $k +l$ is divisible by 11 and there is no number with similar properties between them. What is the greatest value of l?\nPlease reason step by step, and put your final answer within \\boxed{}."
}
] | {
"ground_truth": "39",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Two quadrilaterals are considered the same if one can be obtained from the other by a rotation and a translation. How many different convex cyclic quadrilaterals are there with integer sides and perimeter equal to $32$? Provide your answer as an integer.\nPlease reason step by ... | {
"ground_truth": "568",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "ABCD is a cyclic quadrilateral with circumcenter $O$ and circumradius 7. The line segments $AB$ and $CD$ intersect at point $E$, while $DA$ and $CB$ intersect at point $F$. Given that $OE = 13$ and $OF = 14$, let $\\cos\\angle FOE = \\frac{p}{q}$, where $p$ and $q$ are coprime ... | {
"ground_truth": "33",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $n>3$ be a positive integer. Equilateral triangle $ABC$ is divided into $n^2$ smaller congruent equilateral triangles (with sides parallel to its sides). Let $m$ be the number of rhombuses that contain two small equilateral triangles and $d$ the number of rhombuses that con... | {
"ground_truth": "21",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "One thousand students participate in the $2011$ Canadian Closed Mathematics Challenge. Each student is assigned a unique three-digit identification number $abc$, where each of $a$, $b$, and $c$ is a digit between $0$ and $9$, inclusive. Later, when the contests are marked, a nu... | {
"ground_truth": "50",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The $n$ contestants of an EGMO are named $C_{1}, \\ldots, C_{n}$. After the competition they queue in front of the restaurant according to the following rules. \n- The Jury chooses the initial order of the contestants in the queue. \n- Every minute, the Jury chooses an intege... | {
"ground_truth": "502",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Temerant is a spherical planet with a radius of $1000$ kilometers. The government wants to build twelve towers of the same height on the equator of Temerant, so that every point on the equator can be seen from at least one tower. The minimum possible height of the towers can be... | {
"ground_truth": "3008",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "The distance between towns A and B is 999 km. At every kilometer of the road that connects A and B a sign shows the distances to A and B as follows:\n$$\\boxed{0|999}\\quad\\boxed{1|998}\\quad\\boxed{2|997}\\quad\\ldots\\quad\\boxed{998|1}\\quad\\boxed{999|0}$$\nHow many signs ... | {
"ground_truth": "40",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Six gamers play a round-robin tournament where each gamer plays one game against each of the other five gamers. In each game there is one winner and one loser where each player is equally likely to win that game, and the result of each game is independent of the results of the ... | {
"ground_truth": "833",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Let $ABC$ be a triangle with $\\angle B - \\angle C = 30^{\\circ}$. Let $D$ be the point where the $A$-excircle touches line $BC$, $O$ the circumcenter of triangle $ABC$, and $X,Y$ the intersections of the altitude from $A$ with the incircle with $X$ in between $A$ and $Y$. Sup... | {
"ground_truth": "11",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "We say that a positive integer $n$ is [i]divable [/i] if there exist positive integers $1 < a < b < n$ such that, if the base-$a$ representation of $n$ is $\\sum_{i=0}^{k_1} a_ia^i$ , and the base-$b$ representation of $n$ is $\\sum_{i=0}^{k_2} b_ib^i$ , then for all positive ... | {
"ground_truth": "27",
"style": "rule"
} | |
math | [
{
"role": "user",
"content": "Define the sequences $a_n$, $b_n$, and $c_n$ as follows: \n- $a_0 = k$, $b_0 = 4$, $c_0 = 1$.\n\nFor each $n$:\n- If $a_n$ is even, then:\n - $a_{n+1} = \\frac{a_n}{2}$,\n - $b_{n+1} = 2b_n$,\n - $c_{n+1} = c_n$.\n- If $a_n$ is odd, then:\n - $a_{n+1} = a_n - \\frac{b_n}{2... | {
"ground_truth": "31",
"style": "rule"
} | |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "[FEAT] Make `secrets` parameter optional so we can use this action just to get the token.\n**Is your feature request related to a problem? Please describe.**\r\nThe `secrets` parameter should not be mandatory. There is the option for `exportToken`, which is what I want to use t... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/src/action.test.js b/src/action.test.js\nindex 1837eaf..9c585d8 100644\n--- a/src/action.test.js\n+++ b/src/action.test.js\n@@ -332,3 +332,85 @@ with blank lines\n expect(core.setOutput).toBeCalledWith('key', multiLineString);\n })\n }... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "I want `gz::sim::SdfEntityCreator` to support creating ECS entities from SDF projectors. Given an existing `SdfEntityCreator`, calling `Entity CreateEntities(const sdf::Projector *)` with a projector named `projector`, a raw pose of `(1, 2, 3, 0, 0, 0)`, near clip `2.0`, far cl... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/usercase-test-coderl/projector_entities_test.cc b/usercase-test-coderl/projector_entities_test.cc\nnew file mode 100644\n--- /dev/null\n+++ b/usercase-test-coderl/projector_entities_test.cc\n@@ -0,0 +1,353 @@\n+\n+\n+#include <cmath>\n+#include <c... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## Role REST API silently drops `handle` on create / update\n\nI'm wiring up a small admin tool against the Corteza system API and I want to give each role a stable, machine-friendly `handle` next to its display `name` (similar to what users and the signup endpoint already acce... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/api/system/spec/role.json b/api/system/spec/role.json\nindex e09e1de6f6..29baaddf7d 100644\n--- a/api/system/spec/role.json\n+++ b/api/system/spec/role.json\n@@ -40,6 +40,12 @@\n \"title\": \"Name of Role\",\n \"type\": \"s... |
swe | mimo_swe_agent | [
{
"role": "user",
"content": "## BroydenSolver behaves inconsistently with other nonlinear solvers (label + recording)\n\nI'm running a model where I'm experimenting with different nonlinear solvers\n(BroydenSolver vs NewtonSolver vs NonlinearBlockGS) on the same group, and\nI have a case recorder attached ... | {
"style": "test",
"ground_truth": "",
"test_patch": "diff --git a/openmdao/recorders/tests/test_sqlite_recorder.py b/openmdao/recorders/tests/test_sqlite_recorder.py\nindex 3d454e8cc3..1f383d65d8 100644\n--- a/openmdao/recorders/tests/test_sqlite_recorder.py\n+++ b/openmdao/recorders/tests/test_sqlite_recorder.p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.