data_source
stringclasses
1 value
prompt
listlengths
1
1
ability
stringclasses
1 value
reward_model
dict
extra_info
dict
DeepScaleR
[ { "role": "user", "content": "For certain real numbers $a$, $b$, and $c$, the polynomial \\[g(x) = x^3 + ax^2 + x + 10\\]has three distinct roots, and each root of $g(x)$ is also a root of the polynomial \\[f(x) = x^4 + x^3 + bx^2 + 100x + c.\\]What is $f(1)$?" } ]
math
{ "style": "rule", "ground_truth": "-7007" }
{ "index": 11600, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For certain real values of $a, b, c,$ and $d,$ the equation $x^4+ax^3+bx^2+cx+d=0$ has four non-real roots. The product of two of these roots is $7-3i$ and the sum of the other two roots is $5-2i,$ where $i^2 = -1.$ Find $b.$" } ]
math
{ "style": "rule", "ground_truth": "43" }
{ "index": 11601, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For certain real values of $a, b, c,$ and $d_{},$ the equation $x^4+ax^3+bx^2+cx+d=0$ has four non-real roots. The product of two of these roots is $13+i$ and the sum of the other two roots is $3+4i,$ where $i=\\sqrt{-1}.$ Find $b.$" } ]
math
{ "style": "rule", "ground_truth": "51" }
{ "index": 11602, "solution": "Since the coefficients of the polynomial are real, it follows that the non-real roots must come in complex conjugate pairs. Let the first two roots be $m,n$. Since $m+n$ is not real, $m,n$ are not conjugates, so the other pair of roots must be the conjugates of $m,n$. Let $m'$ be the ...
DeepScaleR
[ { "role": "user", "content": "For certain real values of $a, b, c,$ and $d_{},$ the equation $x^4+ax^3+bx^2+cx+d=0$ has four non-real roots. The product of two of these roots is $13+i$ and the sum of the other two roots is $3+4i,$ where $i^2 = -1.$ Find $b.$" } ]
math
{ "style": "rule", "ground_truth": "51" }
{ "index": 11603, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For certain real values of $p, q, r,$ and $s,$ the equation $x^4+px^3+qx^2+rx+s=0$ has four non-real roots. The product of two of these roots is $17 + 2i$ and the sum of the other two roots is $2 + 5i,$ where $i^2 = -1.$ Find $q.$" } ]
math
{ "style": "rule", "ground_truth": "63" }
{ "index": 11604, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For dessert, Melinda eats a spherical scoop of ice cream with diameter 2 inches. She prefers to eat her ice cream in cube-like shapes, however. She has a special machine which, given a sphere placed in space, cuts it through the planes $x=n, y=n$, and $z=n$ for every integer $n...
math
{ "style": "rule", "ground_truth": "7+\\frac{13 \\pi}{3}" }
{ "index": 11605, "solution": "Note that if we consider the division of \\mathbb{R}^{3}$ into unit cubes by the given planes, we only need to compute the sum of the probabilities that the ice cream scoop intersects each cube. There are three types of cubes that can be intersected: - The cube $0 \\leq x, y, z \\leq ...
DeepScaleR
[ { "role": "user", "content": "For dinner, Priya is eating grilled pineapple spears. Each spear is in the shape of the quadrilateral PINE, with $P I=6 \\mathrm{~cm}, I N=15 \\mathrm{~cm}, N E=6 \\mathrm{~cm}, E P=25 \\mathrm{~cm}$, and \\angle N E P+\\angle E P I=60^{\\circ}$. What is the area of each spear,...
math
{ "style": "rule", "ground_truth": "\\frac{100 \\sqrt{3}}{3}" }
{ "index": 11606, "solution": "We consider a configuration composed of 2 more quadrilaterals congruent to PINE. Let them be $P^{\\prime} I^{\\prime} N^{\\prime} E^{\\prime}$, with $E^{\\prime}=P$ and $N^{\\prime}=I$, and $P^{\\prime \\prime} I^{\\prime \\prime} N^{\\prime \\prime} E^{\\prime \\prime}$ with $P^{\\pr...
DeepScaleR
[ { "role": "user", "content": "For distinct complex numbers $z_1,z_2,\\dots,z_{673}$, the polynomial \\[(x-z_1)^3(x-z_2)^3 \\cdots (x-z_{673})^3\\]can be expressed as $x^{2019} + 20x^{2018} + 19x^{2017}+g(x)$, where $g(x)$ is a polynomial with complex coefficients and with degree at most $2016$. The sum $\\l...
math
{ "style": "rule", "ground_truth": "352" }
{ "index": 11607, "solution": "This is a quick fake solve using $z_i = 0$ where $3 \\le i \\le 673$ and only $z_1,z_2 \\neq 0$ .\n By Vieta's, \\[3z_1+3z_2=-20\\] and \\[3z_1^2+3z_2^2+9z_1z_2 = 19.\\] Rearranging gives $z_1 + z_2 = \\dfrac{-20}{3}$ and $3(z_1^2 + 2z_1z_2 + z_2^2) + 3z_1z_2 = 19$ giving $3(z_1 + z_2...
DeepScaleR
[ { "role": "user", "content": "For distinct positive integers $a$ , $b < 2012$ , define $f(a,b)$ to be the number of integers $k$ with $1 \\le k < 2012$ such that the remainder when $ak$ divided by 2012 is greater than that of $bk$ divided by 2012. Let $S$ be the minimum value of $f(a,b)$ , where $a$ and $b...
math
{ "style": "rule", "ground_truth": "\\[ S = 502 \\]" }
{ "index": 11608, "solution": "Solution 1\nFirst we'll show that $S \\geq 502$ , then we'll find an example $(a, b)$ that have $f(a, b)=502$ .\nLet $x_k$ be the remainder when $ak$ is divided by 2012, and let $y_k$ be defined similarly for $bk$ . First, we know that, if $x_k > y_k >0$ , then $x_{2012-k} \\equiv a(2...
DeepScaleR
[ { "role": "user", "content": "For distinct positive integers $a, b<2012$, define $f(a, b)$ to be the number of integers $k$ with $1\\le k<2012$ such that the remainder when $ak$ divided by $2012$ is greater than that of $bk$ divided by $2012$. Let $S$ be the minimum value of $f(a, b)$, where $a$ and $b$ ran...
math
{ "style": "rule", "ground_truth": "502" }
{ "index": 11609, "solution": "\nTo solve for \\( S \\), the minimum value of \\( f(a, b) \\), where distinct positive integers \\( a, b < 2012 \\), we first need to analyze the function \\( f(a, b) \\). This function represents the number of integers \\( k \\) with \\( 1 \\leq k < 2012 \\) such that:\n\n\\[\nak \\...
DeepScaleR
[ { "role": "user", "content": "For distinct real numbers $x$ and $y$, let $M(x,y)$ be the larger of $x$ and $y$ and let $m(x,y)$ be the smaller of $x$ and $y$. If $a<b<c<d<e$, then\n$M(M(a,m(b,c)),m(d,m(a,e)))=$" } ]
math
{ "style": "rule", "ground_truth": "b" }
{ "index": 11610, "solution": "To solve the problem, we need to evaluate the expression $M(M(a,m(b,c)),m(d,m(a,e)))$ step by step using the definitions of $M(x,y)$ and $m(x,y)$, and the given inequalities $a<b<c<d<e$.\n\n1. **Evaluate $m(b,c)$ and $m(a,e)$:**\n - Since $b < c$, $m(b,c) = b$.\n - Since $a < e$, ...
DeepScaleR
[ { "role": "user", "content": "For each \\(i \\in\\{1, \\ldots, 10\\}, a_{i}\\) is chosen independently and uniformly at random from \\([0, i^{2}]\\). Let \\(P\\) be the probability that \\(a_{1}<a_{2}<\\cdots<a_{10}\\). Estimate \\(P\\)." } ]
math
{ "style": "rule", "ground_truth": "0.003679" }
{ "index": 11611, "solution": "The probability that \\(a_{2}>a_{1}\\) is \\(7/8\\). The probability that \\(a_{3}>a_{2}\\) is \\(7/9\\). The probability that \\(a_{4}>a_{3}\\) is \\(23/32\\). The probability that \\(a_{5}>a_{4}\\) is \\(17/25\\). The probability that \\(a_{6}>a_{5}\\) is \\(47/72\\). The probabilit...
DeepScaleR
[ { "role": "user", "content": "For each continuous function $f: [0,1] \\to \\mathbb{R}$, let $I(f) = \\int_0^1 x^2 f(x)\\,dx$ and $J(x) = \\int_0^1 x \\left(f(x)\\right)^2\\,dx$. Find the maximum value of $I(f) - J(f)$ over all such functions $f$." } ]
math
{ "style": "rule", "ground_truth": "1/16" }
{ "index": 11612, "solution": "The answer is $1/16$. We have \\begin{align*} &\\int_0^1 x^2 f (x)\\,dx - \\int_0^1 x f(x)^2\\,dx \\\\ &= \\int_0^1 (x^3/4 - x ( f(x)-x/2)^2)\\,dx \\\\ &\\leq \\int_0^1 x^3/4\\,dx = 1/16, \\end{align*} with equality when $f(x) = x/2$." }
DeepScaleR
[ { "role": "user", "content": "For each even positive integer $x$, let $g(x)$ denote the greatest power of 2 that divides $x.$ For example, $g(20)=4$ and $g(16)=16.$ For each positive integer $n,$ let $S_n=\\sum_{k=1}^{2^{n-1}}g(2k).$ Find the greatest integer $n$ less than 1000 such that $S_n$ is a perfect ...
math
{ "style": "rule", "ground_truth": "899" }
{ "index": 11613, "solution": "First note that $g(k)=1$ if $k$ is odd and $2g(k/2)$ if $k$ is even. so $S_n=\\sum_{k=1}^{2^{n-1}}g(2k). = \\sum_{k=1}^{2^{n-1}}2g(k) = 2\\sum_{k=1}^{2^{n-1}}g(k) = 2\\sum_{k=1}^{2^{n-2}} g(2k-1)+g(2k).$ $2k-1$ must be odd so this reduces to $2\\sum_{k=1}^{2^{n-2}}1+g(2k) = 2(2^{n-2}+...
DeepScaleR
[ { "role": "user", "content": "For each integer $i=0,1,2, \\dots$ , there are eight balls each weighing $2^i$ grams. We may place balls as much as we desire into given $n$ boxes. If the total weight of balls in each box is same, what is the largest possible value of $n$ ?" } ]
math
{ "style": "rule", "ground_truth": "15" }
{ "index": 11614, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer $a_0 > 1$, define the sequence $a_0, a_1, a_2, \\ldots$ for $n \\geq 0$ as\n$$a_{n+1} = \n\\begin{cases}\n\\sqrt{a_n} & \\text{if } \\sqrt{a_n} \\text{ is an integer,} \\\\\na_n + 3 & \\text{otherwise.}\n\\end{cases}\n$$\nDetermine all values of $a_0$ such that...
math
{ "style": "rule", "ground_truth": "3 \\mid a_0" }
{ "index": 11615, "solution": "\nWe are given a sequence defined by \\( a_0, a_1, a_2, \\ldots \\) where the recurrence relation for \\( n \\geq 0 \\) is:\n\\[\na_{n+1} = \n\\begin{cases}\n\\sqrt{a_n} & \\text{if } \\sqrt{a_n} \\text{ is an integer}, \\\\\na_n + 3 & \\text{otherwise}.\n\\end{cases}\n\\]\nThe goal i...
DeepScaleR
[ { "role": "user", "content": "For each integer $n \\ge 2$, let $A(n)$ be the area of the region in the coordinate plane defined by the inequalities $1\\le x \\le n$ and $0\\le y \\le x \\left\\lfloor \\sqrt x \\right\\rfloor$, where $\\left\\lfloor \\sqrt x \\right\\rfloor$ is the greatest integer not excee...
math
{ "style": "rule", "ground_truth": "483" }
{ "index": 11616, "solution": "By considering the graph of this function, it is shown that the graph is composed of trapezoids ranging from $a^2$ to $(a+1)^2$ with the top made of diagonal line $y=ax$. The width of each trapezoid is $3, 5, 7$, etc. Whenever $a$ is odd, the value of $A(n)$ increases by an integer va...
DeepScaleR
[ { "role": "user", "content": "For each integer $n$ greater than 1, let $F(n)$ be the number of solutions of the equation $\\sin x = \\sin nx$ on the interval $[0, \\pi]$. What is $\\sum_{n=2}^{2007} F(n)$?" } ]
math
{ "style": "rule", "ground_truth": "2{,}016{,}532" }
{ "index": 11617, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer $n$ greater than 1, let $G(n)$ be the number of solutions of the equation $\\sin x = \\sin (n+1)x$ on the interval $[0, 2\\pi]$. Calculate $\\sum_{n=2}^{100} G(n)$." } ]
math
{ "style": "rule", "ground_truth": "10296" }
{ "index": 11618, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer $n$ greater than 1, let $G(n)$ be the number of solutions of the equation $\\sin x = \\sin (n^2 x)$ on the interval $[0, 2\\pi]$. What is $\\sum_{n=2}^{100} G(n)$?" } ]
math
{ "style": "rule", "ground_truth": "676797" }
{ "index": 11619, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer $n\\ge 2$ , determine, with proof, which of the two positive real numbers $a$ and $b$ satisfying \\[a^n=a+1,\\qquad b^{2n}=b+3a\\] is larger." } ]
math
{ "style": "rule", "ground_truth": "\\[ a > b \\]" }
{ "index": 11620, "solution": "Solution 1\nSquare and rearrange the first equation and also rearrange the second. \\begin{align} a^{2n}-a&=a^2+a+1\\\\ b^{2n}-b&=3a \\end{align} It is trivial that \\begin{align*} (a-1)^2 > 0 \\tag{3} \\end{align*} since $a-1$ clearly cannot equal $0$ (Otherwise $a^n=1\\neq 1+1$ ). ...
DeepScaleR
[ { "role": "user", "content": "For each integer $n\\geq 2$, let $S_n$ be the sum of all products $jk$, where $j$ and $k$ are integers and $1\\leq j<k\\leq n$. What is the sum of the 10 least values of $n$ such that $S_n$ is divisible by $3$?" } ]
math
{ "style": "rule", "ground_truth": "197" }
{ "index": 11621, "solution": "1. **Define the sets and express $S_n$:**\n Let $A_{n, <} = \\{(j, k) : 1 \\leq j < k \\leq n\\}$ and $A_{n, >} = \\{(j, k) : 1 \\leq k < j \\leq n\\}$. Note that $A_{n, <}$ and $A_{n, >}$ are symmetric, and each product $jk$ where $j < k$ has a corresponding product $kj$ where $k <...
DeepScaleR
[ { "role": "user", "content": "For each integer $n\\geq 4$, let $a_n$ denote the base-$n$ number $0.\\overline{133}_n$. The product $a_4a_5 \\dotsm a_{99}$ can be expressed as $\\frac{m}{n!}$, where $m$ and $n$ are positive integers and $n$ is as small as possible. What is the value of $m$?" } ]
math
{ "style": "rule", "ground_truth": "962" }
{ "index": 11622, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer $n\\geq3$, let $f(n)$ be the number of $3$-element subsets of the vertices of the regular $n$-gon that are the vertices of an isosceles triangle (including equilateral triangles). Find the sum of all values of $n$ such that $f(n+1)=f(n)+78$." } ]
math
{ "style": "rule", "ground_truth": "245" }
{ "index": 11623, "solution": "Considering $n \\pmod{6}$, we have the following formulas:\n Even and a multiple of 3: $\\frac{n(n-4)}{2} + \\frac{n}{3}$\n Even and not a multiple of 3: $\\frac{n(n-2)}{2}$\n Odd and a multiple of 3: $\\frac{n(n-3)}{2} + \\frac{n}{3}$\n Odd and not a multiple of 3: $\\frac{n(n-1)}{2}...
DeepScaleR
[ { "role": "user", "content": "For each integer $n\\geqslant2$, determine the largest real constant $C_n$ such that for all positive real numbers $a_1, \\ldots, a_n$ we have\n\\[\\frac{a_1^2+\\ldots+a_n^2}{n}\\geqslant\\left(\\frac{a_1+\\ldots+a_n}{n}\\right)^2+C_n\\cdot(a_1-a_n)^2\\mbox{.}\\]" } ]
math
{ "style": "rule", "ground_truth": "\\frac{1}{2n}" }
{ "index": 11624, "solution": "\nTo determine the largest real constant \\( C_n \\) such that for all positive real numbers \\( a_1, a_2, \\ldots, a_n \\), the inequality\n\n\\[\n\\frac{a_1^2 + a_2^2 + \\ldots + a_n^2}{n} \\geq \\left( \\frac{a_1 + a_2 + \\ldots + a_n}{n} \\right)^2 + C_n \\cdot (a_1 - a_n)^2\n\\]\...
DeepScaleR
[ { "role": "user", "content": "For 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." ...
math
{ "style": "rule", "ground_truth": "\\frac{1793}{128}" }
{ "index": 11625, "solution": "Let $n=10$. Given a random variable $X$, let $\\mathbb{E}(X)$ denote its expected value. If all points are collinear, then the convex hull has area zero. This happens with probability $\\frac{2}{2^{n}}$ (either all points are at $y=1$ or all points are at $y=-1$ ). Otherwise, the poin...
DeepScaleR
[ { "role": "user", "content": "For each integer \\( n \\geq 2 \\), let \\( A(n) \\) be the area of the region in the coordinate plane defined by the inequalities \\( 1 \\leq x \\leq n \\) and \\( 0 \\leq y \\leq x \\left\\lfloor \\log_2{x} \\right\\rfloor \\), where \\( \\left\\lfloor \\log_2{x} \\right\\rfl...
math
{ "style": "rule", "ground_truth": "99" }
{ "index": 11626, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each integer from 1 through 2019, Tala calculated the product of its digits. Compute the sum of all 2019 of Tala's products." } ]
math
{ "style": "rule", "ground_truth": "184320" }
{ "index": 11627, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each interger $n\\geq 4$, we consider the $m$ subsets $A_1, A_2,\\dots, A_m$ of $\\{1, 2, 3,\\dots, n\\}$, such that\n$A_1$ has exactly one element, $A_2$ has exactly two elements,...., $A_m$ has exactly $m$ elements and none of these subsets is contained in any other set. ...
math
{ "style": "rule", "ground_truth": "\\left\\lfloor \\frac{-1 + \\sqrt{1 + 8n}}{2} \\right\\rfloor" }
{ "index": 11628, "solution": "\nTo find the maximum value of \\( m \\), we need to evaluate the constraints given by the problem, specifically that none of the subsets \\( A_1, A_2, \\ldots, A_m \\) is contained in any other subset. Each subset \\( A_i \\) has exactly \\( i \\) elements.\n\nLet's consider the key ...
DeepScaleR
[ { "role": "user", "content": "For each natural number from 1 to 999, Damir subtracted the last digit from the first digit and wrote all the resulting 1000 differences on the board. For example, for the number 7, Damir wrote 0; for the number 105, he wrote (-4); for the number 61, he wrote 5.\n\nWhat is the ...
math
{ "style": "rule", "ground_truth": "495" }
{ "index": 11629, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each nonnegative integer $n$ we define $A_n = 2^{3n}+3^{6n+2}+5^{6n+2}$ . Find the greatest common divisor of the numbers $A_0,A_1,\\ldots, A_{1999}$ ." } ]
math
{ "style": "rule", "ground_truth": "\\[\n7\n\\]" }
{ "index": 11630, "solution": "Note that $A_0 = 2^0 + 3^2 + 5^2 = 35$ , so the GCD must be a factor of 35. The prime factorization of $35$ is $5 \\cdot 7$ , so we need to check if $5$ and $7$ are factors of the rest of the numbers.\n Note that $A_1 = 2^3 + 3^8 + 5^8$ . Taking both sides modulo 5 yields $A_1 \\equ...
DeepScaleR
[ { "role": "user", "content": "For each nonnegative integer $n$ we define $A_n = 2^{3n}+3^{6n+2}+5^{6n+2}$. Find the greatest common divisor of the numbers $A_0,A_1,\\ldots, A_{1999}$.\n\n[i]Romania[/i]" } ]
math
{ "style": "rule", "ground_truth": "7" }
{ "index": 11631, "solution": "\nTo find the greatest common divisor (GCD) of the sequence \\( A_n = 2^{3n} + 3^{6n+2} + 5^{6n+2} \\) for each nonnegative integer \\( n \\), we begin by examining the expression for \\( A_n \\):\n\n\\[\nA_n = 2^{3n} + 3^{6n+2} + 5^{6n+2}.\n\\]\n\nOur goal is to determine \\( \\gcd(A...
DeepScaleR
[ { "role": "user", "content": "For each of the possible outcomes of rolling three coins (TTT, THT, TTH, HHT, HTH, HHH), a fair die is rolled for each two heads that appear together. What is the probability that the sum of the die rolls is odd?" } ]
math
{ "style": "rule", "ground_truth": "\\frac{1}{4}" }
{ "index": 11632, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each ordered pair of real numbers $(x,y)$ satisfying \\[\\log_2(2x+y) = \\log_4(x^2+xy+7y^2)\\]there is a real number $K$ such that \\[\\log_3(3x+y) = \\log_9(3x^2+4xy+Ky^2).\\]Find the product of all possible values of $K$." } ]
math
{ "style": "rule", "ground_truth": "189" }
{ "index": 11633, "solution": "Using the logarithmic property $\\log_{a^n}b^n = \\log_{a}b$, we note that \\[(2x+y)^2 = x^2+xy+7y^2\\] That gives \\[x^2+xy-2y^2=0\\] upon simplification and division by $3$. Factoring $x^2+xy-2y^2=0$ by Simon's Favorite Factoring Trick gives \\[(x+2y)(x-y)=0\\] Then, \\[x=y \\text{ ...
DeepScaleR
[ { "role": "user", "content": "For each pair of distinct natural numbers \\(a\\) and \\(b\\), not exceeding 20, Petya drew the line \\( y = ax + b \\) on the board. That is, he drew the lines \\( y = x + 2, y = x + 3, \\ldots, y = x + 20, y = 2x + 1, y = 2x + 3, \\ldots, y = 2x + 20, \\ldots, y = 3x + 1, y =...
math
{ "style": "rule", "ground_truth": "190" }
{ "index": 11634, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each pair of real numbers $a \\ne b$, define the operation $\\star$ as \\[\n(a \\star b) = \\frac{a + b}{a - b}.\n\\]What is the value of $((1 \\star 2) \\star 3)$?" } ]
math
{ "style": "rule", "ground_truth": "0" }
{ "index": 11635, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each pair of real numbers $a \\ne b$, define the operation $\\star$ as \\[\n(a \\star b) = \\frac{a + b}{a - b}.\n\\]What is the value of $((1 \\star 2) \\star 4)$?" } ]
math
{ "style": "rule", "ground_truth": "-\\frac{1}{7}" }
{ "index": 11636, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each pair of real numbers \\((x, y)\\) with \\(0 \\leq x \\leq y \\leq 1\\), consider the set\n\\[ A = \\{ x y, x y - x - y + 1, x + y - 2 x y \\}. \\]\n\nLet the maximum value of the elements in set \\(A\\) be \\(M(x, y)\\). Find the minimum value of \\(M(x, y)\\)." } ]
math
{ "style": "rule", "ground_truth": "4/9" }
{ "index": 11637, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each permutation $a_1,a_2,a_3,\\cdots,a_{10}$ of the integers $1,2,3,\\cdots,10$, form the sum\n\\[|a_1-a_2|+|a_3-a_4|+|a_5-a_6|+|a_7-a_8|+|a_9-a_{10}|.\\]\n The average value of all such sums can be written in the form $\\dfrac{p}{q}$, where $p$ and $q$ are relatively prim...
math
{ "style": "rule", "ground_truth": "58" }
{ "index": 11638, "solution": "Similar to Solution 1, we can find the average value of $|a_2 - a_1|$, and multiply this by 5 due to symmetry. And again due to symmetry, we can arbitrarily choose $a_2 > a_1$. Thus there are $\\binom{10}{2} = 45$ ways to pick the two values of $a_2$ and $a_1$ from the set $\\{1, 2, 3...
DeepScaleR
[ { "role": "user", "content": "For each permutation $a_1,a_2,a_3,\\cdots,a_{10}$ of the integers $1,2,3,\\cdots,10$, form the sum\n\\[|a_1-a_2|+|a_3-a_4|+|a_5-a_6|+|a_7-a_8|+|a_9-a_{10}|.\\]\nThe average value of all such sums can be written in the form $\\dfrac{p}{q}$, where $p$ and $q$ are relatively prime...
math
{ "style": "rule", "ground_truth": "58" }
{ "index": 11639, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each permutation $b_1, b_2, b_3, \\ldots, b_8$ of the integers $1, 2, 3, \\ldots, 8$, form the sum\n\\[|b_1 - b_2| + |b_3 - b_4| + |b_5 - b_6| + |b_7 - b_8|.\\]\nThe average value of all such sums can be written in the form $\\dfrac{p}{q}$, where $p$ and $q$ are relatively ...
math
{ "style": "rule", "ground_truth": "13" }
{ "index": 11640, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive digit $D$ and positive integer $k$, we use the symbol $D_{(k)}$ to represent the positive integer having exactly $k$ digits, each of which is equal to $D$. For example, $2_{(1)}=2$ and $3_{(4)}=3333$. There are $N$ quadruples $(P, Q, R, k)$ with $P, Q$ and $R$...
math
{ "style": "rule", "ground_truth": "11" }
{ "index": 11641, "solution": "Suppose that $D$ is a digit and $k$ is a positive integer. Then $D_{(k)}=\\underbrace{D D \\cdots D D}_{k \\text { times }}=D \\cdot \\underbrace{11 \\cdots 11}_{k \\text { times }}=D \\cdot \\frac{1}{9} \\cdot \\underbrace{99 \\cdots 99}_{k \\text { times }}=D \\cdot \\frac{1}{9} \\c...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $k$ , let $S(k)$ be the sum of its digits. For example, $S(21) = 3$ and $S(105) = 6$ . Let $n$ be the smallest integer for which $S(n) - S(5n) = 2013$ . Determine the number of digits in $n$ ." } ]
math
{ "style": "rule", "ground_truth": "224" }
{ "index": 11642, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $m$ and $n$ define function $f(m, n)$ by $f(1, 1) = 1$ , $f(m+ 1, n) = f(m, n) +m$ and $f(m, n + 1) = f(m, n) - n$ . Find the sum of all the values of $p$ such that $f(p, q) = 2004$ for some $q$ ." } ]
math
{ "style": "rule", "ground_truth": "3007" }
{ "index": 11643, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$ , consider the highest common factor $h_n$ of the two numbers $n!+1$ and $(n+1)!$ . For $n<100$ , find the largest value of $h_n$ ." } ]
math
{ "style": "rule", "ground_truth": "97" }
{ "index": 11644, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$ , let $g(n)$ be the sum of the digits when $n$ is written in binary. For how many positive integers $n$ , where $1\\leq n\\leq 2007$ , is $g(n)\\geq 3$ ?" } ]
math
{ "style": "rule", "ground_truth": "1941" }
{ "index": 11645, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $ n$, let $ c(n)$ be the largest real number such that\r\n\\[ c(n) \\le \\left| \\frac {f(a) \\minus{} f(b)}{a \\minus{} b}\\right|\\]\r\nfor all triples $ (f, a, b)$ such that\r\n\r\n--$ f$ is a polynomial of degree $ n$ taking integers to integers, a...
math
{ "style": "rule", "ground_truth": "\\frac{1}{L_n}" }
{ "index": 11646, "solution": "\nFor each positive integer \\( n \\), let \\( c(n) \\) be the largest real number such that\n\\[\nc(n) \\le \\left| \\frac{f(a) - f(b)}{a - b} \\right|\n\\]\nfor all triples \\( (f, a, b) \\) such that:\n- \\( f \\) is a polynomial of degree \\( n \\) taking integers to integers, and...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $1 \\leq m \\leq 10$, Krit chooses an integer $0 \\leq a_{m}<m$ uniformly at random. Let $p$ be the probability that there exists an integer $n$ for which $n \\equiv a_{m}(\\bmod m)$ for all $m$. If $p$ can be written as $\\frac{a}{b}$ for relatively p...
math
{ "style": "rule", "ground_truth": "1540" }
{ "index": 11647, "solution": "Tuples of valid $a_{m}$ correspond with residues $\\bmod \\operatorname{lcm}(1,2, \\ldots, 10)$, so the answer is $$\\frac{\\operatorname{lcm}(1,2, \\ldots, 10)}{10!}=\\frac{2^{3} \\cdot 3^{2} \\cdot 5 \\cdot 7}{2^{8} \\cdot 3^{4} \\cdot 5^{2} \\cdot 7}=\\frac{1}{1440}$$" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $k$ denote $C(k)$ to be sum of its distinct prime divisors. For example $C(1)=0,C(2)=2,C(45)=8$. Find all positive integers $n$ for which $C(2^n+1)=C(n)$." } ]
math
{ "style": "rule", "ground_truth": "3" }
{ "index": 11648, "solution": "\nWe are tasked with finding all positive integers \\( n \\) such that \\( C(2^n + 1) = C(n) \\), where \\( C(k) \\) denotes the sum of distinct prime divisors of the integer \\( k \\).\n\n**Step 1: Understanding the function \\( C(k) \\)**\n- The function \\( C(k) \\) evaluates to th...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $k$, let $A(k)$ be the number of odd divisors of $k$ in the interval $[1, \\sqrt{2k})$. Evaluate\n\\[\n\\sum_{k=1}^\\infty (-1)^{k-1} \\frac{A(k)}{k}.\n\\]" } ]
math
{ "style": "rule", "ground_truth": "\\frac{\\pi^2}{16}" }
{ "index": 11649, "solution": "We will prove that the sum converges to $\\pi^2/16$.\nNote first that the sum does not converge absolutely, so we are not free to rearrange it arbitrarily. For that matter, the standard alternating sum test does not apply because the absolute values of the terms does not decrease to 0...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $k$, let $S_k$ denote the increasing arithmetic sequence of integers whose first term is $1$ and whose common difference is $k$. For example, $S_3$ is the sequence $1,4,7,10,\\ldots.$ For how many values of $k$ does $S_k$ contain the term $2005$?" } ...
math
{ "style": "rule", "ground_truth": "12" }
{ "index": 11650, "solution": "Suppose that the $n$th term of the sequence $S_k$ is $2005$. Then $1+(n-1)k=2005$ so $k(n-1)=2004=2^2\\cdot 3\\cdot 167$. The ordered pairs $(k,n-1)$ of positive integers that satisfy the last equation are $(1,2004)$,$(2,1002)$, $(3,668)$, $(4,501)$, $(6,334)$, $(12,167)$, $(167,12)$,...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n > 1$, let $P(n)$ denote the greatest prime factor of $n$. For how many positive integers $n$ is it true that both $P(n) = \\sqrt{n}$ and $P(n+48) = \\sqrt{n+48}$?" } ]
math
{ "style": "rule", "ground_truth": "1" }
{ "index": 11651, "solution": "1. **Understanding the conditions**: We are given two conditions:\n - $P(n) = \\sqrt{n}$, which implies $n = p_1^2$ where $p_1$ is a prime number.\n - $P(n+48) = \\sqrt{n+48}$, which implies $n+48 = p_2^2$ where $p_2$ is a different prime number.\n\n2. **Setting up the equation**:...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$ , find the number of $n$ -digit positive integers that satisfy both of the following conditions:\n$\\bullet$ no two consecutive digits are equal, and\n$\\bullet$ the last digit is a prime." } ]
math
{ "style": "rule", "ground_truth": "\\[\n\\frac{2}{5}\\left(9^n + (-1)^{n+1}\\right)\n\\]" }
{ "index": 11652, "solution": "The answer is $\\boxed{\\frac{2}{5}\\left(9^n+(-1)^{n+1}\\right)}$ .\nSuppose $a_n$ denotes the number of $n$ -digit numbers that satisfy the condition. We claim $a_n=4\\cdot 9^{n-1}-a_{n-1}$ , with $a_1=4$ . $\\textit{Proof.}$ It is trivial to show that $a_1=4$ . Now, we can do casew...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$ and non-negative integer $k$, define $W(n, k)$ recursively by $$ W(n, k)= \\begin{cases}n^{n} & k=0 \\\\ W(W(n, k-1), k-1) & k>0\\end{cases} $$ Find the last three digits in the decimal representation of $W(555,2)$." } ]
math
{ "style": "rule", "ground_truth": "875" }
{ "index": 11653, "solution": "For any $n$, we have $$ W(n, 1)=W(W(n, 0), 0)=\\left(n^{n}\\right)^{n^{n}}=n^{n^{n+1}} $$ Thus, $$ W(555,1)=555^{555^{556}} $$ Let $N=W(555,1)$ for brevity, and note that $N \\equiv 0(\\bmod 125)$, and $N \\equiv 3(\\bmod 8)$. Then, $$ W(555,2)=W(N, 1)=N^{N^{N+1}} $$ is $0(\\bmod 125)...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$ let $a_n$ be the least positive integer multiple of $23$ such that $a_n \\equiv 1 \\pmod{2^n}.$ Find the number of positive integers $n$ less than or equal to $1000$ that satisfy $a_n = a_{n+1}.$" } ]
math
{ "style": "rule", "ground_truth": "363" }
{ "index": 11654, "solution": "Observe that if $a_{n-1} - 1$ is divisible by $2^n$, $a_n = a_{n-1}$. If not, $a_n = a_{n-1} + 23 \\cdot 2^{n-1}$.\n This encourages us to let $b_n = \\frac{a_n - 1}{2^n}$. Rewriting the above equations, we have \\[b_n = \\begin{cases} \\frac{b_{n-1}}{2} & \\text{if } 2 \\text{ } \\ve...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, an associated non-negative integer $f(n)$ is defined to satisfy the following three rules:\ni) $f(a b)=f(a)+f(b)$.\n\nii) $f(n)=0$ if $n$ is a prime greater than 10.\n\niii) $f(1)<f(243)<f(2)<11$.\n\nGiven that $f(2106)<11$, determine the value of...
math
{ "style": "rule", "ground_truth": "31" }
{ "index": 11655, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, define $S(n)$ to be the smallest positive integer divisible by each of the positive integers $1, 2, 3, \\ldots, n$. How many positive integers $n$ with $1 \\leq n \\leq 100$ have $S(n) = S(n+4)$?" } ]
math
{ "style": "rule", "ground_truth": "11" }
{ "index": 11656, "solution": "For each positive integer $n, S(n)$ is defined to be the smallest positive integer divisible by each of $1, 2, 3, \\ldots, n$. In other words, $S(n)$ is the least common multiple (lcm) of $1, 2, 3, \\ldots, n$. To calculate the lcm of a set of numbers, we determine the prime factoriza...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, define $s(n)$ to equal the sum of the digits of $n$. The number of integers $n$ with $100 \\leq n \\leq 999$ and $7 \\leq s(n) \\leq 11$ is $S$. What is the integer formed by the rightmost two digits of $S$?" } ]
math
{ "style": "rule", "ground_truth": "24" }
{ "index": 11657, "solution": "We write an integer $n$ with $100 \\leq n \\leq 999$ as $n=100a+10b+c$ for some digits $a, b$ and $c$. That is, $n$ has hundreds digit $a$, tens digit $b$, and ones digit $c$. For each such integer $n$, we have $s(n)=a+b+c$. We want to count the number of such integers $n$ with $7 \\l...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, find the number of $n$-digit positive integers that satisfy both of the following conditions:\n[list]\n[*] no two consecutive digits are equal, and\n[*] the last digit is a prime.\n[/list]" } ]
math
{ "style": "rule", "ground_truth": "\\frac{2}{5} \\cdot 9^n - \\frac{2}{5} \\cdot (-1)^n" }
{ "index": 11658, "solution": "\nTo solve this problem, we need to determine the number of \\( n \\)-digit positive integers that meet two criteria:\n1. No two consecutive digits are equal.\n2. The last digit is a prime number.\n\n### Step 1: Count All \\( n \\)-Digit Numbers\n\nThe total number of \\( n \\)-digit ...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let \n\n$a_n = \\frac{(n+9)!}{(n-1)!}$.\nLet $k$ denote the smallest positive integer for which the rightmost nonzero digit of $a_k$ is odd. The rightmost nonzero digit of $a_k$ is" } ]
math
{ "style": "rule", "ground_truth": "9" }
{ "index": 11659, "solution": "1. **Expression Simplification**:\n Given $a_n = \\frac{(n+9)!}{(n-1)!}$, we can simplify this as:\n \\[\n a_n = n(n+1)(n+2)\\cdots(n+9)\n \\]\n This is the product of 10 consecutive integers starting from $n$.\n\n2. **Factorization**:\n We can express $a_n$ in terms of it...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $S(n)$ be the number of sequences of length $n$ consisting solely of the letters $A$ and $B$, with no more than three $A$s in a row and no more than three $B$s in a row. What is the remainder when $S(2015)$ is divided by $12$?" } ]
math
{ "style": "rule", "ground_truth": "8" }
{ "index": 11660, "solution": "To solve for $S(n)$, the number of sequences of length $n$ consisting of the letters $A$ and $B$ with no more than three consecutive $A$s or $B$s, we can use a recursive approach. Let's define:\n\n- $a_n$: the number of sequences of length $n$ ending in $A$.\n- $b_n$: the number of se...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $S(n)$ denote the sum of the digits of $n$. For how many values of $n$ is $n+S(n)+S(S(n))=2007$?" } ]
math
{ "style": "rule", "ground_truth": "4" }
{ "index": 11661, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $a_{n}$ be the smallest nonnegative integer such that there is only one positive integer at most $n$ that is relatively prime to all of $n, n+1, \\ldots, n+a_{n}$. If $n<100$, compute the largest possible value of $n-a_{n}$." } ]
math
{ "style": "rule", "ground_truth": "16" }
{ "index": 11662, "solution": "Note that 1 is relatively prime to all positive integers. Therefore, the definition of $a_{n}$ can equivalently be stated as: \"$a_{n}$ is the smallest nonnegative integer such that for all integers $x, 2 \\leq x \\leq n$, $x$ shares a prime factor with at least one of $n, n+1, \\ldot...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $f(n) = n^4 - 360n^2 + 400$. What is the sum of all values of $f(n)$ that are prime numbers?" } ]
math
{ "style": "rule", "ground_truth": "802" }
{ "index": 11663, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $f(n)$ be the sum of the digits in the base-four representation of $n$ and let $g(n)$ be the sum of the digits in the base-eight representation of $f(n)$. For example, $f(2020) = f(133210_{\\text{4}}) = 10 = 12_{\\text{8}}$, and $g(2020) = \\t...
math
{ "style": "rule", "ground_truth": "151" }
{ "index": 11664, "solution": "Let's work backwards. The minimum base-sixteen representation of $g(n)$ that cannot be expressed using only the digits $0$ through $9$ is $A_{16}$, which is equal to $10$ in base 10. Thus, the sum of the digits of the base-eight representation of the sum of the digits of $f(n)$ is $10...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $f(n)$ denote the last digit of the sum $1+2+3+\\ldots+n$. \nFor example: $f(1)=1$, $f(2)=3$ (the last digit of $1+2$), $f(5)=5$ (the last digit of $1+2+3+4+5$), $f(7)=8$ (the last digit of $1+2+3+4+5+6+7$) \nThen, the value of $f(1)+f(2)+f(...
math
{ "style": "rule", "ground_truth": "7015" }
{ "index": 11665, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $f_1(n)$ be twice the number of positive integer divisors of $n$, and for $j \\ge 2$, let $f_j(n) = f_1(f_{j-1}(n))$. For how many values of $n \\le 50$ is $f_{50}(n) = 12?$" } ]
math
{ "style": "rule", "ground_truth": "10" }
{ "index": 11666, "solution": "To solve this problem, we need to understand the function $f_j(n)$ and its behavior as $j$ increases. We start by analyzing the function $f_1(n)$, which is defined as twice the number of positive integer divisors of $n$. We then recursively apply $f_1$ to its own outputs to determine ...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $k(n)$ be the number of ones in the binary representation of $2023 \\cdot n$. What is the minimum value of $k(n)$?" } ]
math
{ "style": "rule", "ground_truth": "3" }
{ "index": 11667, "solution": "The minimum is $3$. \\n\\n\\textbf{First solution.} We record the factorization $2023 = 7\\cdot 17^2$. We first rule out $k(n)=1$ and $k(n)=2$. If $k(n)=1$, then $2023n = 2^a$ for some $a$, which clearly cannot happen. If $k(n)=2$, then $2023n=2^a+2^b=2^b(1+2^{a-b})$ for some $a>b$. T...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $n!$ denote the product $1\\cdot 2\\cdot 3\\cdot\\,\\cdots\\,\\cdot (n-1)\\cdot n$.\n\nWhat is the remainder when $9!$ is divided by $11$?" } ]
math
{ "style": "rule", "ground_truth": "1" }
{ "index": 11668, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, let $s(n)$ be the sum of the squares of the digits of $n$. For example, $s(15)=1^2+5^2=26$. Determine all integers $n\\geq 1$ such that $s(n)=n$." } ]
math
{ "style": "rule", "ground_truth": "1" }
{ "index": 11669, "solution": "Given the problem, we want to determine all integers \\( n \\geq 1 \\) such that the sum of the squares of the digits of \\( n \\), denoted as \\( s(n) \\), is equal to \\( n \\).\n\nTo begin, let's express \\( n \\) in terms of its digits. Suppose \\( n \\) is a \\( k \\)-digit numbe...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, the mean of the first $n$ terms of a sequence is $n$. What is the 2008th term of the sequence?" } ]
math
{ "style": "rule", "ground_truth": "4015" }
{ "index": 11670, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $n$, there is a circle around the origin with radius $n$. Rainbow Dash starts off somewhere on the plane, but not on a circle. She takes off in some direction in a straight path. She moves \\frac{\\sqrt{5}}{5}$ units before crossing a circle, then \\sq...
math
{ "style": "rule", "ground_truth": "\\frac{2 \\sqrt{170}-9 \\sqrt{5}}{5}" }
{ "index": 11671, "solution": "Note that the distance from Rainbow Dash's starting point to the first place in which she hits a circle is irrelevant, except in checking that this distance is small enough that she does not hit another circle beforehand. It will be clear at the end that our configuration does not all...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $p$, let $b(p)$ denote the unique positive integer $k$ such that $|k-\\sqrt{p}| < \\frac{1}{2}$. For example, $b(6) = 2$ and $b(23) = 5$. If $S = \\sum_{p=1}^{2007} b(p),$ find the remainder when $S$ is divided by 1000." } ]
math
{ "style": "rule", "ground_truth": "955" }
{ "index": 11672, "solution": "$\\left(k- \\frac 12\\right)^2=k^2-k+\\frac 14$ and $\\left(k+ \\frac 12\\right)^2=k^2+k+ \\frac 14$. Therefore $b(p)=k$ if and only if $p$ is in this range, or $k^2-k<p\\leq k^2+k$. There are $2k$ numbers in this range, so the sum of $b(p)$ over this range is $(2k)k=2k^2$. $44<\\sqrt...
DeepScaleR
[ { "role": "user", "content": "For each positive integer $p$, let $b(p)$ denote the unique positive integer $k$ such that $|k-\\sqrt{p}|<\\frac{1}{2}$. For example, $b(6)=2$ and $b(23)=5$. Find $S=\\sum_{p=1}^{2007} b(p)$." } ]
math
{ "style": "rule", "ground_truth": "59955" }
{ "index": 11673, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer $p$, let $c(p)$ denote the unique positive integer $k$ such that $|k - \\sqrt[3]{p}| < \\frac{1}{2}$. For example, $c(8)=2$ and $c(27)=3$. Find $T = \\sum_{p=1}^{1728} c(p)$." } ]
math
{ "style": "rule", "ground_truth": "18252" }
{ "index": 11674, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer \\( n \\), define \\( A_{n} = \\frac{20^{n} + 11^{n}}{n!} \\), where \\( n! = 1 \\times 2 \\times \\cdots \\times n \\). Find the value of \\( n \\) that maximizes \\( A_{n} \\)." } ]
math
{ "style": "rule", "ground_truth": "19" }
{ "index": 11675, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer \\( n \\), let \\( \\varphi(n) \\) be the number of positive integers from 1 to \\( n \\) that are relatively prime to \\( n \\). Evaluate:\n$$\n\\sum_{n=1}^{\\infty} \\frac{\\varphi(n) 4^{n}}{7^{n}-4^{n}}\n$$" } ]
math
{ "style": "rule", "ground_truth": "28/9" }
{ "index": 11676, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer \\( x \\), let \\( f(x) \\) denote the greatest power of 3 that divides \\( x \\). For example, \\( f(9) = 9 \\) and \\( f(18) = 9 \\). For each positive integer \\( n \\), let \\( T_n = \\sum_{k=1}^{3^n} f(3k) \\). Find the greatest integer \\( n \\) ...
math
{ "style": "rule", "ground_truth": "960" }
{ "index": 11677, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer \\(1 \\leqq k \\leqq 100\\), let \\(a_{k}\\) denote the sum \\(\\frac{1}{k}+\\frac{1}{k+1}+\\ldots+\\frac{1}{100}\\). Calculate the value of\n\n\\[ a_{1} + a_{1}^{2} + a_{2}^{2} + \\ldots + a_{100}^{2}. \\]" } ]
math
{ "style": "rule", "ground_truth": "200" }
{ "index": 11678, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each positive integer n, let $f(n) = \\sum_{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$." } ]
math
{ "style": "rule", "ground_truth": "109" }
{ "index": 11679, "solution": "Observe that $f$ is strictly increasing in $n$. We realize that we need $100$ terms to add up to around $300$, so we need some sequence of $2$s, $3$s, and then $4$s.\n It follows that $n \\approx 100$ (alternatively, use binary search to get to this, with $n\\le 1000$). Manually check...
DeepScaleR
[ { "role": "user", "content": "For each positive real number $\\alpha$, define $$ \\lfloor\\alpha \\mathbb{N}\\rfloor:=\\{\\lfloor\\alpha m\\rfloor \\mid m \\in \\mathbb{N}\\} $$ Let $n$ be a positive integer. A set $S \\subseteq\\{1,2, \\ldots, n\\}$ has the property that: for each real $\\beta>0$, $$ \\tex...
math
{ "style": "rule", "ground_truth": "\\lfloor n / 2\\rfloor+1" }
{ "index": 11680, "solution": "Answer: $\\lfloor n / 2\\rfloor+1$ Solution: For each $k \\in\\{\\lceil n / 2\\rceil, \\ldots, n\\}$, picking $\\beta=1+1 / k$ gives $$ \\lfloor\\beta \\mathbb{N}\\rfloor \\cap[n]=[n] \\backslash\\{k\\} $$ so $S$ must contain $k$. Now we show that $S=\\{\\lceil n / 2\\rceil, \\ldots, ...
DeepScaleR
[ { "role": "user", "content": "For each prime $p$, a polynomial $P(x)$ with rational coefficients is called $p$-good if and only if there exist three integers $a, b$, and $c$ such that $0 \\leq a<b<c<\\frac{p}{3}$ and $p$ divides all the numerators of $P(a)$, $P(b)$, and $P(c)$, when written in simplest form...
math
{ "style": "rule", "ground_truth": "12" }
{ "index": 11681, "solution": "By Vieta, the sum of the roots is $-10(\\bmod p)$. However, since the three roots are less than $p/3$, it follows that the roots are $\\left(p-a^{\\prime}\\right)/3,\\left(p-b^{\\prime}\\right)/3,\\left(p-c^{\\prime}\\right)/3$, where there are finitely many choices $a^{\\prime}<b^{\\...
DeepScaleR
[ { "role": "user", "content": "For each real number $a$ with $0 \\leq a \\leq 1$, let numbers $x$ and $y$ be chosen independently at random from the intervals $[0, a]$ and $[0, 1]$, respectively, and let $P(a)$ be the probability that\n$\\sin^2{(\\pi x)} + \\sin^2{(\\pi y)} > 1$\nWhat is the maximum value of...
math
{ "style": "rule", "ground_truth": "2 - \\sqrt{2}" }
{ "index": 11682, "solution": "To solve for the maximum value of $P(a)$, we start by analyzing the condition given:\n\\[\\sin^2{(\\pi x)} + \\sin^2{(\\pi y)} > 1.\\]\n\nWe can rewrite this inequality using trigonometric identities:\n\\[\\sin^2{(\\pi x)} + \\sin^2{(\\pi y)} = 1 - \\cos^2{(\\pi x)} + 1 - \\cos^2{(\\p...
DeepScaleR
[ { "role": "user", "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...
math
{ "style": "rule", "ground_truth": "4/7" }
{ "index": 11683, "solution": "The answer is $L = 4/7$. For $S \\subset \\mathbb{N}$, let $F(S) = \\sum_{n\\in S} 1/2^n$, so that $f(x) = F(S_x)$. Note that for $T = \\{1,4,7,10,\\ldots\\}$, we have $F(T) = 4/7$.\n\nWe first show by contradiction that for any $x \\in [0,1)$, $f(x) \\geq 4/7$.\nSince each term in th...
DeepScaleR
[ { "role": "user", "content": "For each real number $x$, let $\\lfloor x \\rfloor$ denote the greatest integer that does not exceed x. For how many positive integers $n$ is it true that $n<1000$ and that $\\lfloor \\log_{2} n \\rfloor$ is a positive even integer?" } ]
math
{ "style": "rule", "ground_truth": "340" }
{ "index": 11684, "solution": "For integers $k$, we want $\\lfloor \\log_2 n\\rfloor = 2k$, or $2k \\le \\log_2 n < 2k+1 \\Longrightarrow 2^{2k} \\le n < 2^{2k+1}$. Thus, $n$ must satisfy these inequalities (since $n < 1000$):\n$4\\leq n <8$\n$16\\leq n<32$\n$64\\leq n<128$\n$256\\leq n<512$\n There are $4$ for the...
DeepScaleR
[ { "role": "user", "content": "For each real number \\( x \\), \\( f(x) \\) is defined to be the minimum of the values of \\( 2x + 3 \\), \\( 3x - 2 \\), and \\( 25 - x \\). What is the maximum value of \\( f(x) \\)?" } ]
math
{ "style": "rule", "ground_truth": "\\frac{53}{3}" }
{ "index": 11685, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each value of $x$, $g(x)$ is defined to be the minimum value of the three numbers $3x + 3$, $\\frac{1}{3}x + 1$, and $-\\frac{2}{3}x + 8$. Find the maximum value of $g(x)$." } ]
math
{ "style": "rule", "ground_truth": "\\frac{10}{3}" }
{ "index": 11686, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each value of $x,$ $f(x)$ is defined to be the minimum value of the three numbers $2x + 2,$ $\\frac{1}{2} x + 1,$ and $-\\frac{3}{4} x + 7.$ Find the maximum value of $f(x).$" } ]
math
{ "style": "rule", "ground_truth": "\\frac{17}{5}" }
{ "index": 11687, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each value of $x,$ $g(x)$ is defined to be the minimum value of the three numbers $3x + 3,$ $\\frac{1}{3} x + 2,$ and $-\\frac{1}{2} x + 8.$ Find the maximum value of $g(x).$" } ]
math
{ "style": "rule", "ground_truth": "\\frac{22}{5}" }
{ "index": 11688, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For each vertex of the triangle \\(ABC\\), the angle between the altitude and the angle bisector drawn from that vertex was determined. It turned out that these angles at vertices \\(A\\) and \\(B\\) are equal to each other and are less than the angle at vertex \\(C\\). What is...
math
{ "style": "rule", "ground_truth": "60" }
{ "index": 11689, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For environmental protection, Wuyang Mineral Water recycles empty bottles. Consumers can exchange 4 empty bottles for 1 bottle of mineral water (if there are fewer than 4 empty bottles, they cannot be exchanged). Huacheng Middle School bought 1999 bottles of Wuyang brand minera...
math
{ "style": "rule", "ground_truth": "2345" }
{ "index": 11690, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For every $0 < \\alpha < 1$ , let $R(\\alpha)$ be the region in $\\mathbb{R}^2$ whose boundary is the convex pentagon of vertices $(0,1-\\alpha), (\\alpha, 0), (1, 0), (1,1)$ and $(0, 1)$ . Let $R$ be the set of points that belong simultaneously to each of the regions...
math
{ "style": "rule", "ground_truth": "2/3" }
{ "index": 11691, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For every $x \\ge -\\frac{1}{e}\\,$ , there is a unique number $W(x) \\ge -1$ such that \n\\[\n W(x) e^{W(x)} = x.\n\\]\nThe function $W$ is called Lambert's $W$ function. Let $y$ be the unique positive number such that\n\\[\n \\frac{y}{\\log_{2} y} = - \\frac{3}{5}...
math
{ "style": "rule", "ground_truth": "5/3" }
{ "index": 11692, "solution": "" }
DeepScaleR
[ { "role": "user", "content": "For every $3^\\circ$ rise in temperature, the volume of a certain gas expands by $4$ cubic centimeters. If the volume of the gas is $24$ cubic centimeters when the temperature is $32^\\circ$, what was the volume of the gas in cubic centimeters when the temperature was $20^\\ci...
math
{ "style": "rule", "ground_truth": "8" }
{ "index": 11693, "solution": "1. **Identify the relationship between temperature and volume**: \n Given that for every $3^\\circ$ rise in temperature, the volume of the gas expands by $4$ cubic centimeters. This implies that for every $3^\\circ$ decrease in temperature, the volume of the gas decreases by $4$ cub...
DeepScaleR
[ { "role": "user", "content": "For every $a \\in \\mathbb N$ denote by $M(a)$ the number of elements of the set\n\\[ \\{ b \\in \\mathbb N | a + b \\text{ is a divisor of } ab \\}.\\]\nFind $\\max_{a\\leq 1983} M(a).$" } ]
math
{ "style": "rule", "ground_truth": "121" }
{ "index": 11694, "solution": "\nTo solve the problem, we need to analyze the set \\( S(a) = \\{ b \\in \\mathbb{N} \\mid a + b \\text{ is a divisor of } ab \\} \\) for a given \\( a \\) in the natural numbers, and we need to find the maximum number of elements \\( M(a) \\) in this set for \\( a \\leq 1983 \\).\n\n...
DeepScaleR
[ { "role": "user", "content": "For every $m \\geq 2$, let $Q(m)$ be the least positive integer with the following property: For every $n \\geq Q(m)$, there is always a perfect cube $k^3$ in the range $n < k^3 \\leq m \\cdot n$. Find the remainder when \\[\\sum_{m = 2}^{2017} Q(m)\\]is divided by 1000." } ]
math
{ "style": "rule", "ground_truth": "59" }
{ "index": 11695, "solution": "We claim that $Q(m) = 1$ when $m \\ge 8$.\n When $m \\ge 8$, for every $n \\ge Q(m) = 1$, we need to prove there exists an integer $k$, such that $n < k^3 \\le m*n$.\n That because $\\sqrt[3]{m*n} - \\sqrt[3]{n} \\ge 2\\sqrt[3]{n} - \\sqrt[3]{n} = \\sqrt[3]{n} \\ge 1$, so k exists bet...
DeepScaleR
[ { "role": "user", "content": "For every $m$ and $k$ integers with $k$ odd, denote by $\\left[ \\frac{m}{k} \\right]$ the integer closest to $\\frac{m}{k}$. For every odd integer $k$, let $P(k)$ be the probability that\n\\[\\left[ \\frac{n}{k} \\right] + \\left[ \\frac{100 - n}{k} \\right] = \\left[ \\frac{1...
math
{ "style": "rule", "ground_truth": "\\frac{34}{67}" }
{ "index": 11696, "solution": "\n1. **Understanding the Problem:**\n We are given a function $\\left[\\frac{m}{k}\\right]$ which denotes the integer closest to $\\frac{m}{k}$ for integers $m$ and $k$, with $k$ odd. We need to find the probability $P(k)$ that for a randomly chosen integer $n$ from $1$ to $99!$, th...
DeepScaleR
[ { "role": "user", "content": "For every $n$ the sum of $n$ terms of an arithmetic progression is $2n + 3n^2$. The $r$th term is:" } ]
math
{ "style": "rule", "ground_truth": "6r - 1" }
{ "index": 11697, "solution": "1. **Identify the formula for the sum of the first $n$ terms**: Given that the sum of the first $n$ terms of an arithmetic progression is $S_n = 2n + 3n^2$.\n\n2. **Expression for the $r$th term**: The $r$th term of an arithmetic sequence can be found by subtracting the sum of the fir...
DeepScaleR
[ { "role": "user", "content": "For every dollar Ben spent on bagels, David spent $25$ cents less. Ben paid $\\$12.50$ more than David. How much did they spend in the bagel store together?" } ]
math
{ "style": "rule", "ground_truth": "$87.50" }
{ "index": 11698, "solution": "Let $B$ represent the amount Ben spent and $D$ represent the amount David spent at the bagel store. According to the problem, for every dollar Ben spent, David spent $25$ cents less. This can be expressed as:\n\\[ D = B - 0.25B = 0.75B \\]\nThis simplifies to:\n\\[ D = \\frac{3}{4}B \...
DeepScaleR
[ { "role": "user", "content": "For every dollar Ben spent on pastries, David spent $50$ cents less. Ben paid $20$ more than David. Calculate the amount Ben and David spent together in the pastry shop." } ]
math
{ "style": "rule", "ground_truth": "60" }
{ "index": 11699, "solution": "" }