ChenDRAG/VeRL_math_validation huggingface dataset:
Problem: Square \(ABCD\) has side length \(1\). Points \(P\), \(Q\), \(R\), and \(S\) each lie on a side of \(ABCD\) such that \(APQCRS\) is an equilateral convex hexagon with side length \(s\). The original answer is in the form \(a - \sqrt{b}\). Please give the value of \(a + b\).
Answer: 4
Problem: The taxicab distance between points $(x_1, y_1)$ and $(x_2, y_2)$ in the coordinate plane is given by \[|x_1 - x_2| + |y_1 - y_2|.\]
Find the number of points $P$ with integer coordinates such that the taxicab distance between $P$ and the origin is less than or equal to $20$.
Answer: 841
Problem: Consider the following $100$ sets of $10$ elements each:
\begin{align*} &\{1,2,3,\ldots,10\}, \\ &\{11,12,13,\ldots,20\},\\ &\{21,22,23,\ldots,30\},\\ &\vdots\\ &\{991,992,993,\ldots,1000\}. \end{align*}
Find how many of these sets contain exactly two multiples of $7$.
Answer: 42
Problem: What is the value of \(\frac{1}{3}\cdot\frac{2}{4}\cdot\frac{3}{5}\cdots\frac{18}{20}\cdot\frac{19}{21}\cdot\frac{20}{22}?\) The answer is in the form \(\frac{k}{m}\). Please calculate the value of \(k + m\).
Answer: 232
Problem: On Halloween $31$ children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alternately lie and tell the truth. The alternaters arbitrarily choose their first response, either a lie or the truth, but each subsequent statement has the opposite truth value from its predecessor. The principal asked everyone the same three questions in this order.  
  
"Are you a truth-teller?" The principal gave a piece of candy to each of the $22$ children who answered yes.  
  
"Are you an alternater?" The principal gave a piece of candy to each of the $15$ children who answered yes.  
  
"Are you a liar?" The principal gave a piece of candy to each of the $9$ children who answered yes.  
  
How many pieces of candy in all did the principal give to the children who always tell the truth?
Answer: 7
Problem: The sequence $a_0,a_1,a_2,\cdots$ is a strictly increasing arithmetic sequence of positive integers such that $$2^{a_7}=2^{27} \cdot a_7.$$ Find the minimum possible value of $a_2$.
Answer: 12
Problem: Regular hexagon \(ABCDEF\) has side length \(2\). Let \(G\) be the midpoint of \(\overline{AB}\), and let \(H\) be the midpoint of \(\overline{DE}\). Find the perimeter of quadrilateral \(GCHF\). The original answer is in the form \(k\sqrt{m}\). Please provide the value of \(k + m\).
Answer: 11
Problem: Henry the donkey has a very long piece of pasta. He takes a number of bites of pasta, each time eating $3$ inches of pasta from the middle of one piece. In the end, he has $10$ pieces of pasta whose total length is $17$ inches. How long, in inches, was the piece of pasta he started with?
Answer: 44
Problem: On Halloween $31$ children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alternately lie and tell the truth. The alternaters arbitrarily choose their first response, either a lie or the truth, but each subsequent statement has the opposite truth value from its predecessor. The principal asked everyone the same three questions in this order.  
  
"Are you a truth-teller?" The principal gave a piece of candy to each of the $22$ children who answered yes.  
  
"Are you an alternater?" The principal gave a piece of candy to each of the $15$ children who answered yes.  
  
"Are you a liar?" The principal gave a piece of candy to each of the $9$ children who answered yes.  
  
Find the total number of pieces of candy given to the children who always tell the truth.
Answer: 7
Problem: Let $M$ be the midpoint of $\overline{AB}$ in regular tetrahedron $ABCD$. Find the value of $\cos(\angle CMD)$. The original answer is in the form of \frac{k}{m}, where k and m are integers in simplest form. Please provide the value of k + m.
Answer: 4
Problem: Kayla rolls four fair $6$-sided dice. Find the probability that at least one of the numbers Kayla rolls is greater than $4$ and at least two of the numbers she rolls are greater than $2$. The original answer is in \(\frac{k}{m}\) format, please give the value of k + m.
Answer: 142
Problem: Let $\triangle ABC$ be a scalene triangle. Point $P$ lies on $\overline{BC}$ so that $\overline{AP}$ bisects $\angle BAC.$ The line through $B$ perpendicular to $\overline{AP}$ intersects the line through $A$ parallel to $\overline{BC}$ at point $D.$ Suppose $BP=2$ and $PC=3.$ Find the length of $AD.$
Answer: 10
Problem: Let $\mathcal{R}$ be the region in the complex plane consisting of all complex numbers $z$ that can be written as the sum of complex numbers $z_1$ and $z_2$, where $z_1$ lies on the segment with endpoints $3$ and $4i$, and $z_2$ has magnitude at most $1$. Find the integer closest to the area of $\mathcal{R}$.
Answer: 13
Problem: How many positive integers can fill the blank in the sentence below?

“One positive integer is _____ more than twice another, and the sum of the two numbers is $28$.” Provide your answer as an integer.
Answer: 9
Problem: What is the integer value of the expression:
$$(\log 5)^{3}+(\log 20)^{3}+(\log 8)(\log 0.25)$$
where $\log$ denotes the base-ten logarithm?
Answer: 2
Problem: The graph of $y=x^2+2x-15$ intersects the $x$-axis at points $A$ and $C$ and the $y$-axis at point $B$. Find $\tan(\angle ABC)$. The original answer is in the form \frac{k}{m}, please give the value of k + m.
Answer: 11
Problem: In how many ways can the letters in $BEEKEEPER$ be rearranged so that two or more $E$s do not appear together? Provide the number of such arrangements.
Answer: 24
Problem: Quadrilateral $ABCD$ with side lengths $AB=7, BC=24, CD=20, DA=15$ is inscribed in a circle. The area interior to the circle but exterior to the quadrilateral can be written in the form $\frac{a\pi-b}{c},$ where $a,b,$ and $c$ are positive integers such that $a$ and $c$ have no common prime factor. Find the value of $a+b+c$.
Answer: 1565
Problem: Let $S_n$ be the sum of the first $n$ terms of an arithmetic sequence that has a common difference of $2$. The quotient $\frac{S_{3n}}{S_n}$ does not depend on $n$. What is the value of $S_{20}$?
Answer: 400
Problem: The roots of the polynomial $10x^3 - 39x^2 + 29x - 6$ are the height, length, and width of a rectangular box (right rectangular prism). A new rectangular box is formed by lengthening each edge of the original box by $2$ units. What is the volume of the new box?
Answer: 30
Problem: The diagram below shows a rectangle with side lengths $4$ and $8$ and a square with side length $5$. Three vertices of the square lie on three different sides of the rectangle, as shown. Find the area of the region inside both the square and the rectangle. The original answer is in \frac{k}{m} format, please give the value of k + m.
Answer: 133
Problem: A $\emph{triangular number}$ is a positive integer that can be expressed in the form $t_n = 1+2+3+\cdots+n$, for some positive integer $n$. The three smallest triangular numbers that are also perfect squares are $t_1 = 1 = 1^2$, $t_8 = 36 = 6^2$, and $t_{49} = 1225 = 35^2$. What is the sum of the digits of the fourth smallest triangular number that is also a perfect square?
Answer: 18
Problem: Suppose \(x\) and \(y\) are positive real numbers such that  
\(x^y=2^{64}\) and \((\log_2{x})^{\log_2{y}}=2^{7}.\)
The original answer is in the form \(k+\sqrt{m}\). Please find the value of \(k + m\).
Answer: 5
Problem: How many three-digit positive integers $\underline{a} \ \underline{b} \ \underline{c}$ are there whose nonzero digits $a,b,$ and $c$ satisfy  
$$0.\overline{\underline{a}~\underline{b}~\underline{c}} = \frac{1}{3} (0.\overline{a} + 0.\overline{b} + 0.\overline{c})?$$
(The bar indicates repetition, thus $0.\overline{\underline{a}~\underline{b}~\underline{c}}$ is the infinite repeating decimal $0.\underline{a}~\underline{b}~\underline{c}~\underline{a}~\underline{b}~\underline{c}~\cdots$)  
Find the number of such integers.
Answer: 13
Problem: Suppose \(a\) is a real number such that the equation 
\[ a\cdot(\sin{x}+\sin{(2x)}) = \sin{(3x)} \]
has more than one solution in the interval \((0, \pi)\). The set of all such \(a\) can be written in the form \((p,q) \cup (q,r),\) where \(p, q,\) and \(r\) are real numbers with \(p < q < r\). What is the value of \(p+q+r\)?
Answer: -4
Problem: Let $T_k$ be the transformation of the coordinate plane that first rotates the plane $k$ degrees counterclockwise around the origin and then reflects the plane across the $y$-axis. Find the least positive integer $n$ such that performing the sequence of transformations $T_1, T_2, T_3, \cdots, T_n$ returns the point $(1,0)$ back to itself.
Answer: 359
Problem: The midpoints of the four sides of a rectangle are $(-3,0), (2,0), (5,4),$ and $(0,4).$ What is the area of the rectangle?
Answer: 40
Problem: Define $L_n$ as the least common multiple of all the integers from $1$ to $n$ inclusive. There is a unique integer $h$ such that  

$$\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\cdots+\frac{1}{17}=\frac{h}{L_{17}}$$  

What is the remainder when $h$ is divided by $17$?
Answer: 5
Problem: 在$\triangle{ABC}$中，中线$\overline{AD}$和$\overline{BE}$在$G$点相交，且$\triangle{AGE}$是等边三角形。那么$\cos(C)$可以写成$\frac{m\sqrt{p}}{n}$的形式，其中$m$和$n$是互质的正整数，$p$是一个不被任何素数的平方整除的正整数。请计算$m+n+p$的值。
Answer: 44
Problem: Mr. Ramos gave a test to his class of $20$ students. The dot plot below shows the distribution of test scores.  
Later Mr. Ramos discovered that there was a scoring error on one of the questions. He regraded the tests, awarding some of the students $5$ extra points, which increased the median test score to $85$. What is the minimum number of students who received extra points?    
(Note that the median test score equals the average of the $2$ scores in the middle if the $20$ test scores are arranged in increasing order.)
Answer: 4
Problem: A four-term sequence is formed by adding each term of a four-term arithmetic sequence of positive integers to the corresponding term of a four-term geometric sequence of positive integers. The first three terms of the resulting four-term sequence are $57$, $60$, and $91$. Find the fourth term of this sequence.
Answer: 206
Problem: Let $ABCD$ be a rhombus with $\angle ADC = 46^\circ$. Let $E$ be the midpoint of $\overline{CD}$, and let $F$ be the point on $\overline{BE}$ such that $\overline{AF}$ is perpendicular to $\overline{BE}$. What is the degree measure of $\angle BFC$? If the answer is $x^\circ$, what is the value of $x$?
Answer: 113
Problem: Isosceles trapezoid \(ABCD\) has parallel sides \(\overline{AD}\) and \(\overline{BC},\) with \(BC < AD\) and \(AB = CD.\) There is a point \(P\) in the plane such that \(PA=1, PB=2, PC=3,\) and \(PD=4.\) Find the value of \(\frac{BC}{AD}.\) The original answer is in \(\frac{k}{m}\) format, where \(\frac{k}{m}\) is in simplest form. Please give the value of \(k + m\).
Answer: 4
Problem: Let $P(x)$ be a polynomial with rational coefficients such that when $P(x)$ is divided by the polynomial $x^2 + x + 1$, the remainder is $x+2$, and when $P(x)$ is divided by the polynomial $x^2+1$, the remainder is $2x+1$. There is a unique polynomial of least degree with these two properties. Find the sum of the squares of the coefficients of that polynomial.
Answer: 23
Problem: The grid below is to be filled with integers in such a way that the sum of the numbers in each row and the sum of the numbers in each column are the same. Four numbers are missing. The number $x$ in the lower left corner is larger than the other three missing numbers. What is the smallest possible value of $x$?   
$\begin{array}{|c|c|c|}\hline-2&9&5\\\hline&&-1\\\\\hline x&&8\\\hline\end{array}$
Answer: 8
Problem: Let 
$P(x) = x^{2022} + x^{1011} + 1.$
Find a polynomial that is a factor of $P(x)$. The original answer is in the form ax^6 + bx^3 + c. Please provide the value of a + b + c.
Answer: 3
Problem: Let $S$ be the set of circles in the coordinate plane that are tangent to each of the three circles with equations $x^{2}+y^{2}=4$, $x^{2}+y^{2}=64$, and $(x-5)^{2}+y^{2}=3$. If the sum of the areas of all circles in $S$ is $A\pi$, what is the value of $A$?
Answer: 136
Problem: Steph scored $15$ baskets out of $20$ attempts in the first half of a game, and $10$ baskets out of $10$ attempts in the second half. Candace took $12$ attempts in the first half and $18$ attempts in the second. In each half, Steph scored a higher percentage of baskets than Candace. Surprisingly they ended with the same overall percentage of baskets scored. How many more baskets did Candace score in the second half than in the first?
Answer: 9
Problem: Ant Amelia starts on the number line at \(0\) and crawls in the following manner. For \(n=1,2,3,\) Amelia chooses a time duration \(t_n\) and an increment \(x_n\) independently and uniformly at random from the interval \((0,1).\) During the \(n\)th step of the process, Amelia moves \(x_n\) units in the positive direction, using up \(t_n\) minutes. If the total elapsed time has exceeded \(1\) minute during the \(n\)th step, she stops at the end of that step; otherwise, she continues with the next step, taking at most \(3\) steps in all. Find the probability that Amelia’s position when she stops will be greater than \(1\). The original answer is in \(\frac{k}{m}\) format, please give the value of \(k + m\).
Answer: 5
Problem: A bus takes $2$ minutes to drive from one stop to the next, and waits $1$ minute at each stop to let passengers board. Zia takes $5$ minutes to walk from one bus stop to the next. As Zia reaches a bus stop, if the bus is at the previous stop or has already left the previous stop, then she will wait for the bus. Otherwise she will start walking toward the next stop. Suppose the bus and Zia start at the same time toward the library, with the bus $3$ stops behind. After how many minutes will Zia board the bus?
Answer: 17
Problem: Let $x_0,x_1,x_2,\dotsc$ be a sequence of numbers, where each $x_k$ is either $0$ or $1$. For each positive integer $n$, define  
$$S_n = \sum_{k=0}^{n-1} x_k 2^k$$
Suppose $7S_n \equiv 1 \pmod{2^n}$ for all $n \geq 1$. Find the value of the sum  
$$x_{2019} + 2x_{2020} + 4x_{2021} + 8x_{2022}.$$
Answer: 6
Problem: Consider functions $f$ that satisfy \[|f(x)-f(y)|\leq \frac{1}{2}|x-y|\] for all real numbers $x$ and $y$. Of all such functions that also satisfy the equation $f(300) = f(900)$, find the greatest possible value of
\[f(f(800))-f(f(400))?\]
Answer: 50
Problem: The figure below depicts a regular $7$-gon inscribed in a unit circle.
[asy] import geometry; unitsize(3cm); draw(circle((0,0),1),linewidth(1.5)); for (int i = 0; i < 7; ++i) { for (int j = 0; j < i; ++j) { draw(dir(i * 360/7) -- dir(j * 360/7),linewidth(1.5)); } } for(int i = 0; i < 7; ++i) { dot(dir(i * 360/7),5+black); } [/asy]
Find the sum of the $4$th powers of the lengths of all $21$ of its edges and diagonals.
Answer: 147
Problem: Let $R$, $S$, and $T$ be squares that have vertices at lattice points (i.e., points whose coordinates are both integers) in the coordinate plane, together with their interiors. The bottom edge of each square is on the $x$-axis. The left edge of $R$ and the right edge of $S$ are on the $y$-axis, and $R$ contains $\frac{9}{4}$ as many lattice points as does $S$. The top two vertices of $T$ are in $R \cup S$, and $T$ contains $\frac{1}{4}$ of the lattice points contained in $R \cup S.$ See the figure (not drawn to scale).
[asy] size(8cm); label(scale(.8)*"$y$", (0,60), N); label(scale(.8)*"$x$", (60,0), E); filldraw((0,0)--(55,0)--(55,55)--(0,55)--cycle, yellow+orange+white+white); label(scale(1.3)*"$R$", (55/2,55/2)); filldraw((0,0)--(0,28)--(-28,28)--(-28,0)--cycle, green+white+white); label(scale(1.3)*"$S$",(-14,14)); filldraw((-10,0)--(15,0)--(15,25)--(-10,25)--cycle, red+white+white); label(scale(1.3)*"$T$",(3.5,25/2)); draw((0,-10)--(0,60),EndArrow()); draw((-34,0)--(60,0),EndArrow()); [/asy]
The fraction of lattice points in $S$ that are in $S \cap T$ is $27$ times the fraction of lattice points in $R$ that are in $R \cap T$. What is the minimum possible value of the edge length of $R$ plus the edge length of $S$ plus the edge length of $T$?
Answer: 337
Problem: Let $x_0,x_1,x_2,\dotsc$ be a sequence of numbers, where each $x_k$ is either $0$ or $1$. For each positive integer $n$, define  
$S_n = \sum\limits_{k=0}^{n-1} x_k 2^k$  
Suppose $7S_n \equiv 1 \pmod{2^n}$ for all $n \geq 1$. Find the value of the sum  
$x_{2019} + 2x_{2020} + 4x_{2021} + 8x_{2022}.$
Answer: 6
Problem: A cricket randomly hops between $4$ leaves, on each turn hopping to one of the other $3$ leaves with equal probability. After $4$ hops, what is the probability that the cricket has returned to the leaf where it started? Express your answer in the form \(\frac{k}{m}\) where the fraction is in simplest form, and find the value of \(k + m\).
Answer: 34
Problem: Mrs. Jones is pouring orange juice into four identical glasses for her four sons. She fills the first three glasses completely but runs out of juice when the fourth glass is only \(\frac{1}{3}\) full. What fraction of a glass must Mrs. Jones pour from each of the first three glasses into the fourth glass so that all four glasses will have the same amount of juice? Provide your answer in the form \(\frac{k}{m}\) in simplest form, and then give the value of \(k + m\).
Answer: 7
Problem: How many digits are in the base-ten representation of $8^5 \cdot 5^{10} \cdot 15^5$? Find the number of digits.
Answer: 18
Problem: Jackson's paintbrush makes a narrow strip with a width of \(6.5\) millimeters. Jackson has enough paint to make a strip \(25\) meters long. How many square centimeters of paper could Jackson cover with paint? The original answer is in the form \(a \times b\). Please calculate the value of \(a + b\).
Answer: 90
Problem: The numbers from $1$ to $49$ are arranged in a spiral pattern on a square grid, beginning at the center. The first few numbers have been entered into the grid below. Consider the four numbers that will appear in the shaded squares, on the same diagonal as the number $7.$ How many of these four numbers are prime? Provide your answer as an integer.
Answer: 3
Problem: Janet rolls a standard $6$-sided die $4$ times and keeps a running total of the numbers she rolls. Find the probability that at some point, her running total will equal $3$. Express your answer in the form \(\frac{k}{m}\) where the fraction is in simplest form, and then give the value of \(k + m\).
Answer: 265
Problem: An integer is assigned to each vertex of a cube. The value of an edge is defined to be the sum of the values of the two vertices it touches, and the value of a face is defined to be the sum of the values of the four edges surrounding it. The value of the cube is defined as the sum of the values of its six faces. Suppose the sum of the integers assigned to the vertices is $21$. What is the value of the cube?
Answer: 126
Problem: When the roots of the polynomial 

\[P(x)  = (x-1)^1 (x-2)^2 (x-3)^3 \cdot \cdot \cdot (x-10)^{10}\]

are removed from the number line, what remains is the union of $11$ disjoint open intervals. Find the number of these intervals on which \( P(x) \) is positive.
Answer: 6
Problem: A digital display shows the current date as an $8$-digit integer consisting of a $4$-digit year, followed by a $2$-digit month, followed by a $2$-digit date within the month. For example, Arbor Day this year is displayed as 20230428. For how many dates in $2023$ will each digit appear an even number of times in the 8-digital display for that date? Provide your answer as an integer.
Answer: 9
Problem: For how many integers $n$ does the expression
\[
\sqrt{\frac{\log (n^2) - (\log n)^2}{\log n - 3}}
\]
represent a real number, where log denotes the base $10$ logarithm? Provide your answer as an integer.
Answer: 901
Problem: A rectangle, with sides parallel to the $x$-axis and $y$-axis, has opposite vertices located at $(15, 3)$ and $(16, 5)$. A line is drawn through points $A(0, 0)$ and $B(3, 1)$. Another line is drawn through points $C(0, 10)$ and $D(2, 9)$. How many points on the rectangle lie on at least one of the two lines?
Answer: 1
Problem: How many nonempty subsets $B$ of $\{0, 1, 2, 3, \cdots, 12\}$ have the property that the number of elements in $B$ is equal to the least element of $B$? For example, $B = \{4, 6, 8, 11\}$ satisfies the condition. Find the number of such subsets.
Answer: 144
Problem: The numbers $16$ and $25$ are a pair of consecutive positive squares whose difference is $9$. Find how many pairs of consecutive positive perfect squares have a difference of less than or equal to $2023$.
Answer: 1011
Problem: A square of area \(2\) is inscribed in a square of area \(3\), creating four congruent triangles, as shown below. Find the ratio of the shorter leg to the longer leg in the shaded right triangle. The answer is in the form \(k-\sqrt{m}\). Please find the value of \(k+m\).
Answer: 5
Problem: In the $xy$-plane, a circle of radius $4$ with center on the positive $x$-axis is tangent to the $y$-axis at the origin, and a circle with radius $10$ with center on the positive $y$-axis is tangent to the $x$-axis at the origin. Find the slope of the line passing through the two points at which these circles intersect. The original answer is in \(\frac{k}{m}\) format, please give the value of k + m.
Answer: 7
Problem: Harold made a plum pie to take on a picnic. He was able to eat only \(\frac{1}{4}\) of the pie, and he left the rest for his friends. A moose came by and ate \(\frac{1}{3}\) of what Harold left behind. After that, a porcupine ate \(\frac{1}{3}\) of what the moose left behind. How much of the original pie still remained after the porcupine left? Express your answer in the form of \(\frac{k}{m}\) where \(\frac{k}{m}\) is a simplified fraction, and provide the value of \(k + m\).
Answer: 4
Problem: A square of area \(2\) is inscribed in a square of area \(3\), creating four congruent triangles, as shown below. What is the ratio of the shorter leg to the longer leg in the shaded right triangle? The original answer is in the form \(k - \sqrt{m}\). Please provide the value of \(k + m\).
Answer: 5
Problem: What is the maximum area of an isosceles trapezoid that has legs of length \(1\) and one base twice as long as the other? Express your answer in the form of \(\frac{k}{m}\), where \(\frac{k}{m}\) is a simplified fraction. Please provide the value of \(k + m\).
Answer: 5
Problem: How many three-digit positive integers $N$ satisfy the following properties?  
The number $N$ is divisible by $7$.  
The number formed by reversing the digits of $N$ is divisible by $5$.  
Provide the number of such integers.
Answer: 14
Problem: For complex number $u = a+bi$ and $v = c+di$ (where $i=\sqrt{-1}$), define the binary operation $u \otimes v = ac + bdi$.  
  
Suppose $z$ is a complex number such that $z\otimes z = z^{2}+40$. The original answer for $|z|$ is in the form $k\sqrt{m}$. Please find the value of $k + m$.
Answer: 7
Problem: Abdul and Chiang are standing $48$ feet apart in a field. Bharat is standing in the same field as far from Abdul as possible so that the angle formed by his lines of sight to Abdul and Chiang measures $60^\circ$. What is the square of the distance (in feet) between Abdul and Bharat?
Answer: 3072
Problem: In a table tennis tournament every participant played every other participant exactly once. Although there were twice as many right-handed players as left-handed players, the number of games won by left-handed players was $40\%$ more than the number of games won by right-handed players. (There were no ties and no ambidextrous players.) Find the total number of games played.
Answer: 36
Problem: Along the route of a bicycle race, $7$ water stations are evenly spaced between the start and finish lines, as shown in the figure below. There are also $2$ repair stations evenly spaced between the start and finish lines. The $3$rd water station is located $2$ miles after the $1$st repair station. How long is the race in miles?
Answer: 48