Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
101
894
In Python, define two functions: $f(x) = 2x - 3$ and $g(x) = x + 1$. Compute the expression $g(f(5) - 1)$. What value or expression should the function return?
In the context of Python programming, consider a function dealing with a regular pentagon $FGHIJ$. When the sides of the pentagon are extended, they form a star pattern. Identify the measure of angle $A$ in this star figure. What value or expression should the function return?
To solve this problem in Python, we need a function that computes the product of the $y$-coordinates of all the distinct solutions $(x,y)$ for the given equations. The equations are $y=x^2-8$ and $y^2=-5x+44$. What value or expression should the function return?
In Python, consider a function solve() where you find the greatest common factor of two input values, 6432 and 132, and then increase that value by 11. What value or expression should the function return?
In the Python function `solve()`, find the unique $\textbf{odd}$ integer `t` which satisfies $0<t<23$ given that $t+2$ is the inverse of `t` modulo $23$. What value or expression should the function return?
In the context of JavaScript, consider the function `compute()`. How many of the first one hundred positive integers are divisible by the parameters `3`, `4`, and `5`? What value or expression should the function return?
In Python, consider a function battalion_count() that analyzes the Greek army's composition in Athens. Given: 5 upper class soldiers and 10 lower class soldiers available. The battle of Thermopylae requires a force comprising 4 upper class soldiers and 8 lower class soldiers. What value should the function return for t...
In Python, design a function compute() to process the division $413_5 \div 2_5$. The inputs are numbers expressed in base 5, and the task is to determine what value or expression the function should return, expressed in base 5.
In Python, consider the function `solve()`. It aims to determine the last nonzero digit to the right of the decimal point in the decimal expansion of the fraction $\frac{137}{500}$. What value or expression should the function return?
To solve this problem in Python, consider the function for which you want to determine a key value. The problem is to find the smallest distance between the origin and a point on the graph of $y=\frac{1}{2}x^2-9$. Express this distance as the variable $a$. What value or expression should the function return for $a^2$?
Given a task related to recursive sequences, let's encapsulate it in a Python function scenario. Imagine a function defined as follows: ```python def f(i, j): return mod_5_value # Compute the remainder when n is divided by 5 ``` The function operates over input sets $\{0,1,2,3,\dots\}$ and $\{0,1,2,3,4\}$, apply...
In a Python function compute_attendance(), there are thirty-five students detected at a math club event. The number of girls, represented as variable g, is a multiple of 13, and the count of girls exceeds that of boys. What value or expression should the function return for the number of boys attending the event?
To solve this problem using a Python function, consider the two-digit number "B6," where the variable B represents the tens digit. This number must be the square of a positive integer. What value or expression should the function return for the count of distinct possible values for B?
In the Python function determine_age(), the average of the ages of three individuals: Amy, Ben, and Chris is given as an input parameter with a value of 6. Four years ago, Amy's age (a) equaled Chris's (c) current age. Additionally, in four years, Ben's age (b) will be $\frac{3}{5}$ times Amy's age at that future time....
Let Python’s function compute(x, y, z) accept positive real numbers as input such that \(xyz = 2\). Find the minimum value of the expression \(x^4 + 4y^2 + 4z^4\). What value or expression should the function return?
Using Java, define a function to solve this problem: Find the roots of the equation $(x - 3)^3 + (x - 7)^3 = (2x - 10)^3$. What value or expression should the function return?
To find out how many license plates can be formed, consider the following scenario in Python. Each license plate is comprised of 2 different letters from A to Z, followed by 2 different one-digit numbers (0-9). Define a function compute_license_plates() that counts the combinations. Using this, what value should the fu...
In a Python script, define a function solve() where 10^x - 10 is given as 9990. What value should the function return for x?
In Python, consider a function compute() where a variable $n$ satisfies $n \equiv 2 \pmod{7}$. Determine what value or expression should the function return when it calculates the remainder of $(n + 2)(n + 4)(n + 6)$ divided by 7.
In Python, consider a function compute_cone_volume() that calculates the volume of a cone. The volume is determined by the formula \( V = \frac{1}{3}Bh \), where \( B \) is the base area and \( h \) is the height. Given that the base area \( B \) is 30 square units and the height \( h \) is 6.5 units, what value should...
In Java, consider a function f(n) defined as: - f(n) = 4n + 3 if n < a, - f(n) = 7n - 12 if n ≥ a. To ensure the graph of y = f(n) is continuous at n = a, what value or expression should the function return for the parameter a?
In Python, consider the Fibonacci sequence which starts as 1, 1, 2, 3, 5, $\ldots$, where each subsequent term is the sum of the previous two terms. Implement a function called solve() to determine the remainder when the $100^{\mathrm{th}}$ term of this sequence is divided by 4. What value should the function return?
Using Python syntax, define a function called arrange_letters(). Determine the number of ways to arrange the letters of the input "ELLIPSE". What value should the function return?
Consider a function scenario using the Python language: Suppose that `f` is a function and `f_inverse` represents its inverse. Given that `f(1)` equals 2, `f(2)` equals 6, and `f(3)` equals 5, determine what value or expression should the function `compute()` return for `f_inverse(f_inverse(6))`.
In a Python function `solve()`, if the input parameter is the vector $\mathbf{a} = \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix},$ determine the vector $\mathbf{v}$ such that the following conditions hold: The dot product $\mathbf{a} \cdot \mathbf{v} = 2$ and the cross product $\mathbf{a} \times \mathbf{v} = \begin{pmatrix...
Let $a,$ $b,$ $c,$ $d$ be positive real numbers. In Python, consider a function with input parameters $a, b, c, d$. The goal is to compute the expression \((a + b + c + d) \left( \frac{1}{a} + \frac{1}{b} + \frac{1}{c} + \frac{1}{d} \right)\). What value or expression should the function return for the minimum value of...
In Python, consider a function that takes positive inputs where $xy = 24$, $xz = 48$, and $yz = 72$. The task is to compute the value of $x + y + z$. What value or expression should the function return?
In Python, consider a function called `compute_books()`. A bookcase has 3 shelves with a total of 24 books. The top shelf has 8 mystery books. The middle shelf holds 10 math books. The bottom shelf contains 6 science books. Two books are now taken off each shelf. What fraction of the books remaining on the three shelve...
In Python, define the function compute() to solve the following math problem. Compute $17^{-1}\pmod{83}$. Ensure that your return value is expressed as a residue from $0$ to $82$, inclusive. (Note: You may find it helpful to consider the fact that $17 \cdot 5 = 85$.) What value or expression should the function return?
In Python, consider the congruence problem to solve. Compute the average of the two smallest positive integer solutions to the congruence \(14u \equiv 46 \pmod{100}\). What value should the function return?
In Python, the superfactorial of a given integer n, denoted as n\$, is defined as n\$ = \underbrace{n!^{{n!}^{{\cdot}^{{\cdot}^{{\cdot}^{n!}}}}}}_{n!}. Write a function compute() to determine the units digit of 4\$. What value should the function return?
To solve this problem in Python, define a function called compute() to handle the complex number operations. Let $z = 2 + \sqrt{2} - (3 + 3 \sqrt{2})i$, and let $c = 2 - 3i$. The task is to determine $w$, the result when $z$ is rotated around $c$ by $\frac{\pi}{4}$ counter-clockwise. What value or expression should the...
To solve a combinatorial problem efficiently, consider leveraging a Python function that computes arrangements. If we have 6 girls and 2 boys, and the boys must be adjacent, determine the permutations of a sequence where the boys are treated as a single unit. This unit, combined with the 6 individual girls, forms 7 dis...
In a function solve() written in Python, consider that a square and an equilateral triangle have equal perimeters. The area of the triangle is given as $16\sqrt{3}$ square centimeters. Your task is to determine how long, in centimeters, is a diagonal of the square. What value or expression should the function return, e...
In the Python environment, define a function called solve() where $a$, $b$, and $c$ are positive real number parameters. The goal is to find the minimum value of the expression: \[\frac{(a + b + c)[(a + b)^2 + (a + b + 4c)^2]}{abc}.\] What value should the function return?
Consider a Python function compute() for an equiangular octagon, where the object consists of four sides of length 1 and four sides of length \(\frac{\sqrt{2}}{2}\), with no two consecutive sides having the same length. What value should the function return for the octagon's area?
In the Python-based function compute_handshakes(), analyze the following scenario: Six witches and ten sorcerers attend an arcane mixer. Each witch shakes hands with every single sorcerer. The function should account for the fact that no witch shakes hands with another witch, and sorcerers, disliking each other, refrai...
Consider a Task in Python: A robot with a constant speed takes 2.5 hours to travel 1 kilometer. Using this speed, the robot takes 90 seconds to traverse a particular hallway. Create a function that calculates the hallway's length in meters. What value should the function return?
The binary number $10101001110_{2}$ must be converted to base eight. Write a function in Python that takes this binary number as input and computes the equivalent base-eight number. What value or expression should the function return?
In Python, define a function compute_median() that takes no parameters and uses the table data for eight counties below, determining the median number of students in $2005$. \begin{tabular}[t]{|l|c|c|c|c|c|} \multicolumn{6}{c}{\textbf{Number of Students per County}}\\\hline \textbf{COUNTY}&\textbf{$2001$}&\textbf{$20...
In Python, create a function called compute() to identify the set of vectors $\mathbf{v}$ for which \[\operatorname{proj}_{\begin{pmatrix} 2 \\ 1 \end{pmatrix}} \mathbf{v} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}.\]These vectors lie on a line. What value or expression should the function return to represent the equation ...
Roslyn is organizing storage in Python. She has ten boxes: five contain pencils, four contain pens, and two have both pens and pencils. To optimize her storage solution, determine what value should the function compute() return for the number of boxes containing neither pens nor pencils?
In Python syntax, Steve constructs a function, `polynomial_roots()`, to consider a polynomial equation whose roots are all positive integers given by `P(x) = 2x^3-2a*x^2+(a**2-81)*x-c`, with `a` and `c` as positive integer variables. Steve prompts Jon to find these values. After executing the calculations, Jon indicate...
To solve this Python problem, consider the function solve_power(). Given an input variable $k$, the mathematical condition ${(3^k)}^6=3^6$ must hold. What value or expression should the function return?
Zach needs a Python function to help with organizing his pencils. He has three bags and a collection of pencils to be placed into these bags. The function should place the greatest number of pencils possible into each of the three bags while ensuring that the number of pencils in each bag is the same. What value or exp...
In the Python function find_multiple(), determine the least positive integer multiple of 30 that can be constructed using only the digits 0 and 2. What value or expression should the function return?
```python Consider a Python function where $m$ and $n$ are both integer parameters. Given the equation $3m + 4n = 100$, determine the smallest possible outcome of the expression $\left| m - n \right|$. What value should this function return? ```
Consider the following Python function, solve(). Let $x_1,$ $x_2,$ $x_3,$ $y_1,$ $y_2,$ and $y_3$ be real numbers as input parameters, satisfying these conditions: \begin{align*} (x_1 - x_2)^2 + (y_1 - y_2)^2 &= 9, \\ (x_1 - x_3)^2 + (y_1 - y_3)^2 &= 16, \\ (x_2 - x_3)^2 + (y_2 - y_3)^2 &= 25. \end{align*}What value or...
In Python, define a function compute() that processes a sequence of integers: $1-2+3-4+5-\dots+99-100$. What value or expression should the function return?
In the provided diagram, you need to develop a function in Python, let's name it compute_area(), to find the area of a specific quadrilateral. Here, points $D$ and $E$ are defined as the midpoints of line segments $\overline{AB}$ and $\overline{BC}$ respectively. Your task is to determine the area of the quadrilateral ...
In Python, define a function that takes no parameters to evaluate a mathematical expression. The expression \(2 \cdot 3 \cdot 4 \cdot 5 + 1\) evaluates to 121 because multiplication precedes addition. However, if you can modify this expression by inserting parentheses, different values can be obtained. For instance, in...
To solve for the variable $x$ using Python, consider the equation $\frac{x}2 + \frac{x}3 = 5$. Implement a function called solve() and determine what value or expression this function should return.
In JavaScript, consider the function defined as `f(x) = (2-x) / log10(2-log10(x-2))`. Determine the domain of this function. The task is to ensure that all operations are valid. What value or expression should the `computeDomain` function return, expressed in interval notation?
Let $T$ be the set of all triples $(a,b,c)$ of positive integers for which there exist triangles with side lengths $a,$ $b,$ $c.$ Implement a Python function compute() where you find the following sum: \[\sum_{(a,b,c) \in T} \frac{2^a}{3^b 5^c}.\] What value or expression should the function return?
To solve this function problem using Python, let \(f(n)\) be defined as follows: \[ f(n) = \left\{ \begin{array}{cl} \lfloor n \rfloor & \text{ if } n \geq 4, \\ \lceil n \rceil & \text{ if } n < 4. \end{array} \right. \] Compute the sum \(f\left(\frac{\pi}{3}\right) + f(\sqrt{45}) + f(8^{2/3})\). What value or expre...
To solve this in Python, consider a function that takes the side length of a square as its input parameter. When the lengths of two opposite sides are decreased by $40\%$, and the other two sides are increased by $50\%$, the square morphs into a rectangle. The task is to compute how the change affects the area by deter...
In Python, define a function to find the projection of a vector \(\mathbf{a}\) onto \(\mathbf{b} = \begin{pmatrix} 2 \\ 6 \\ 3 \end{pmatrix}\). Given that the dot product \(\mathbf{a} \cdot \mathbf{b} = 8\), what value or expression should the function return?
In Python, consider a function `swap_contents()` where Bob and Alice each have a bag containing one ball of each color: blue, green, orange, red, and violet. Alice randomly selects a ball from her bag as an input and puts it into Bob's bag. Then, Bob randomly selects any ball from his now-updated bag and returns it to ...
In Python, create a function called `solve()` that determines the correct grade level. The input is data showing the percentage of bus riders among Central H.S. students, with 300 males and 300 females surveyed per grade. Using the data table below, find for which grade the number of male bus riders is closest to 135% ...
In Python, consider a function compute_hyperbola() with parameters F1 = (10, 2) and F2 = (-16, 2). The set of points P satisfies the condition |PF1 - PF2| = 24, forming a hyperbola. The equation of this hyperbola is given by \(\frac{(x - h)^2}{a^2} - \frac{(y - k)^2}{b^2} = 1\). What value or expression should the func...
In a simple Python function, define vectors $\mathbf{a}$ and $\mathbf{b}$ with given norms: $\|\mathbf{a}\| = 2$ and $\|\mathbf{b}\| = 7$. The cross product of these vectors is specified as: \[\mathbf{a} \times \mathbf{b} = \begin{pmatrix} 3 \\ 2 \\ 6 \end{pmatrix}.\] Compute a function that will return the smallest po...
You need to implement a function in Python that calculates the number of ways to distribute 5 indistinguishable balls into 2 indistinguishable boxes. Given this scenario, what value or expression should the function return?
In Python, consider the function `z(x, y)` describing the paraboloid given by the expression: \[ z = (2x - y)^2 - 2y^2 - 3y. \] Archimedes and Brahmagupta are playing a strategic game. Archimedes first chooses the input `x`, and then Brahmagupta chooses the input `y`. Archimedes aims to minimize `z`, while Brahmagupt...
In Python, design a function called compute() with an input parameter representing a set of distinct positive integers whose product equals 84. What value or expression should the function return to represent the least possible sum of these integers?
Given a task using Python, consider a triangle $\triangle ABC$ with $\angle A = 14^\circ$ inscribed in a circle where the segment $AB$ is a diameter. Design a function triangle_angle() that determines how many degrees $\angle B$ measures. What value or expression should the function return?
In Python, define a function to determine the smallest positive perfect cube that can be represented as the sum of three consecutive integers. What value or expression should the function return?
In a regular polygon, the measure of an interior angle is 6.5 times the measure of an exterior angle. Write a Python function, calculateSides(), with the number of sides in the polygon as a variable. What value or expression should the function return to find how many sides the polygon has?
In Python, implement a function to determine how many zeroes are at the end of $42!$ (42 factorial). Recall that the number $n!$ is the product of the integers from 1 to $n$. For example, $5!$ equals $5\cdot 4\cdot 3\cdot 2\cdot 1 = 120$. What value should the function return?
In Python, we define a function to determine the total number of students at Baker Middle School. Two-thirds of the students take music, and currently, there are 834 music students. What value should the function return for the total number of students?
In a Python-based function setup, define the variable `p` as \[p = \sum_{k = 1}^\infty \frac{1}{k^2}\], and `q` as \[q = \sum_{k = 1}^\infty \frac{1}{k^3}.\] Write a function `compute()` to express \[\sum_{j = 1}^\infty \sum_{k = 1}^\infty \frac{1}{(j + k)^3}\] in terms of `p` and `q.` What value or expression should t...
In the Python function setup, suppose I have $6$ different books as inputs, $2$ of which are math books as parameters. In how many ways can I stack my $6$ books on a shelf such that the math books are not adjacent? What value or expression should the function return?
In a Python script, you have a function where the value of variable $y$ varies inversely as the square root of $x$. Consider the scenario when the input $x=24$, the function returns $y=15$. Determine what value or expression should the function return for the variable $x$ when $y=3$.
In a JavaScript-inspired function calculateCurrency(), Kathy is simulating her trip to Europe finances. She has a bank balance of 300 US dollars. She plans to split this equally for withdrawal: half in British pounds and the other half in euros. The variable exchangeRates provides 1 pound = 1.64 USD and 1 euro = 1.32 U...
In Python, let's define a function called solve that needs to determine by what number Remmy should multiply $10$ to perform the division of $10$ by $\frac{2}{3}$. Remmy is unable to recall the correct approach, so what value or expression should the function return?
Consider a Python function that takes two parameters `x` and `y`. If the expression `log6(x-y) + log6(x+y)` equals 2 and `log_y(5x)` returns 2, what value should the function return for `x`?
In Python, define a function tasked with determining the smallest possible positive value of a variable, $k$. Given the product of integers 240 and $k$ must be a perfect cube, what value or expression should the function return?
In the Python function intersect_count(), how many elements are in the intersection of the set of all the prime numbers less than 30 and the set of all the odd numbers greater than zero? What value should the function return?
In a Python context, consider a regular hexagon that can be divided into six equilateral triangles. If each of those triangles has a perimeter of 21 inches, create a function calculate_hexagon_perimeter() that determines the perimeter, in inches, of the regular hexagon. What value or expression should the function retu...
Consider a Python function to analyze a fraction. Given the fraction \(\frac{4321}{5^7 \cdot 2^8}\), compute its terminating decimal representation. What value or expression should the function return as the sum of the digits in this decimal form?
In Python, consider defining a function `f(x)` which computes the expression `f(x) = 1 / (|x^2 + 3x - 4| + |x^2 + 9x + 20|)`. What real values of `x` are not in the domain of this function, i.e., what value or expression should the function return to identify these input exceptions?
In a Python function setup, consider a set of three points randomly chosen from a grid. Each three-point set has an equal probability of selection. Determine the probability that the points align on the same straight line, and what value or expression should the function return?
Let `ABCD` be a regular tetrahedron with side length 2 in the context of a Python function. Imagine a plane that is parallel to edges `AB` and `CD` and lies halfway between them, cutting the tetrahedron into two pieces. What value or expression should the function return for the surface area of one of these pieces?
In a Python script, define a function compute_roots() that processes complex numbers $\alpha_1, \alpha_2, \alpha_3$, and $\alpha_4$. These are the four distinct roots of the equation $x^4+2x^3+2=0$. Determine what value or expression should the function return for the unordered set \[\{\alpha_1\alpha_2 + \alpha_3\alpha...
In Python programming, consider a function solve() where the input sequence is a set of variables $(a_1, a_2, \dots, a_n)$ representing positive real numbers. The constraints on the sequence are given by the following expressions: the sum $\sum_{i = 1}^n a_i = 96$, the sum of squares $\sum_{i = 1}^n a_i^2 = 144$, and t...
In circle $J$, the lines $HO$ and $HN$ are tangent to the circle at points $O$ and $N$. Implement a function in Python that calculates the number of degrees in the sum of $m\angle J$ and $m\angle H$. What value should the function return?
In Python, consider the function solve() that checks the expression $\sqrt{120-\sqrt{x}}$. How many real values of the input parameter $x$ would make this entire function return an integer?
To solve this problem in JavaScript, consider the expression $10x^2-x-24$. It can be factored into a function like $(Ax-8)(Bx+3)$, where $A$ and $B$ are integer parameters of the function. Determine what value or expression the function should return for $AB + B$.
To compute the number of sides in a convex polygon using Python, consider a function that receives as input the sum of all but one of its interior angles, which is $1070^{\circ}$. The task is to determine how many sides the polygon has. What value or expression should the function return?
Develop a function in Python that takes no input and simplifies the expression as described. Simplify and write the result with a rational denominator for the nested radical: $$\sqrt{\sqrt[3]{\sqrt{\frac{1}{729}}}}$$. What value or expression should the function return?
To solve this problem in Python, consider the function that deals with the following scenario: The first parallelogram is defined by the equations $y=ax+c$, $y=ax+d$, $y=bx+c$, and $y=bx+d$, with an area of 18. The second parallelogram is bounded by $y=ax+c$, $y=ax-d$, $y=bx+c$, and $y=bx-d$, with an area of 72. Give...
In Python, a palindrome is defined as a number that reads the same forwards and backwards. Consider a `solve()` function that computes the sum of a specific set of three consecutive positive integers, which results in a three-digit palindrome. This palindrome is less than 220. What value or expression should the functi...
In a Python function setting, Louis and Jack are input parameters representing fractions of a pie they each consume. Louis eats $\frac{1}{5}$ of the pie, and Jack eats $\frac{2}{3}$ of the pie. Develop the `compute()` function to determine how much of the pie they eat altogether. What value or expression should the fun...
In a Python function called solve(), consider a right triangle $ABC$ where $\angle B = 90^\circ$. Given that $\sin A = 2\cos A$, what value or expression should the function return for $\tan A$?
In a Python-based simulation, Navin from Mauritius, Luka from Croatia, and Ian from Botswana are discussing their part-time job earnings rates. Implement a function that computes each one's daily income in US dollars. Navin earns 160 rupee per hour; Luka, 25 kuna per hour; and Ian, 34 pula per hour. Given exchange rate...
In Python, consider a function simplify_expression(n) where n is a positive integer. Simplify the expression: \[\frac{(2^4 + \frac{1}{4})(4^4 + \frac{1}{4}) \dotsm [(2n)^4 + \frac{1}{4}]}{(1^4 + \frac{1}{4})(3^4 + \frac{1}{4}) \dotsm [(2n - 1)^4 + \frac{1}{4}]}\] What value or expression should the function return?
In Python, define a function compute() to find the quotient of dividing the expression \( x^6 - 3 \) by \( x + 1 \). What value or expression should the function return?
In a Python function named `compute_interest_rate`, a worker is modeled to receive an annual wage of \$20,000, which is deposited into a savings account at the end of each year. By the end of the third year, after making the third deposit, the account must hold at least \$66,200 to fund a house purchase. What value or ...
In a Python function called simplify_expression(), simplify the following expression: \(\frac{\sec x}{\sin x} - \frac{\sin x}{\cos x}\). What value or expression should the function return?
In the Python programming language, consider a function defined as $f(x) = \dfrac{2}{x+1}$. Your task is to determine the value of the inverse function at a given point: what value or expression should the function return for $f^{-1}\left(\frac{1}{5}\right)$?
In a Python application, you have a function compute_investment() that models an investment of \$24,000 in a government bond. This bond pays a bi-monthly interest of 1%, meaning that the investment increases by 1% every two months. At the end of five years, what value or expression should the function return to represe...
End of preview. Expand in Data Studio

Adv_MATH500

Adversarial MATH500 prompts grouped by difficulty.

Benchmark note

When evaluated with gpt5-nano, gpt5-nano reaches:

  • hard: 34% accuracy
  • medium: 64% accuracy
  • easy: 93% accuracy
Downloads last month
4