sentence1
stringlengths
16
4.31k
sentence2
stringlengths
29
6.77k
label
stringclasses
1 value
The equations \[75x^4 + ax^3 + bx^2 + cx + 12 = 0\]and \[12x^5 + dx^4 + ex^3 + fx^2 + gx + 75 = 0\]have a common rational root $k$ which is not an integer, and which is negative. What is $k?$
Let $k = \frac{m}{n}$ in reduced form, where $m$ and $n$ are integers. Then by the Rational Root Theorem, $m$ divides 12 and $m$ divides 75, so $m$ must divide $\gcd(12,75) = 3.$ Similarly, $n$ divides 75 and $n$ divides 12, so $n$ must divide $\gcd(75,12) = 3.$ Thus, $m,$ $n \in \{-3, -1, 1, 3\}.$ We are told that $k = \frac{m}{n}$ is not an integer, and negative. The only possibility is that $k =\boxed{-\frac{1}{3}}.$
entailment
A circle with center $C$ is tangent to the positive $x$ and $y$-axes and externally tangent to the circle centered at $(3,0)$ with radius $1$. What is the sum of all possible radii of the circle with center $C$?
Let $r$ be the radius of such a circle. Since the circle is tangent to the positive $x$-axis and positive $y$-axis, its center is $(r,r).$ This circle is also tangent to the circle centered at $(3,0)$ with radius 1, so \[(r - 3)^2 + r^2 = (r + 1)^2.\]This simplifies to $r^2 - 8r + 8 = 0.$ By the quadratic formula, the roots are $r = 4 \pm 2 \sqrt{2}.$ Thus, the sum of all possible values of $r$ is $\boxed{8}.$ [asy] unitsize(1 cm); pair[] O; real[] r; r[1] = 4 - 2*sqrt(2); O[1] = (r[1],r[1]); r[2] = 4 + 2*sqrt(2); O[2] = (r[2],r[2]); draw(Circle(O[1],r[1])); draw(arc(O[2],r[2],160,290)); draw(Circle((3,0),1)); draw((-0.5,0)--(9,0)); draw((0,-0.5)--(0,9)); draw(O[1]--(r[1],0)); draw(O[1]--(0,r[1])); draw(O[1]--(3,0)); draw(O[2]--(r[2],0)); draw(O[2]--(0,r[2])); draw(O[2]--(3,0)); dot("$(3,0)$", (3,0), S); dot("$O_1$", O[1], N); dot("$O_2$", O[2], NE); [/asy]
entailment
Find the four roots of \[2x^4 + x^3 - 6x^2 + x + 2 = 0.\]Enter the four roots (counting multiplicity), separated by commas.
Dividing the equation by $x^2,$ we get \[2x^2 + x - 6 + \frac{1}{x} + \frac{2}{x^2} = 0.\]Let $y = x + \frac{1}{x}.$ Then \[y^2 = x^2 + 2 + \frac{1}{x^2},\]so $x^2 + \frac{1}{x^2} = y^2 - 2.$ Thus, we can re-write the equation above as \[2(y^2 - 2) + y - 6 = 0.\]This simplifies to $2y^2 + y - 10 = 0.$ The roots are $y = 2$ and $y = -\frac{5}{2}.$ The roots of \[x + \frac{1}{x} = 2\]are 1 and 1. The roots of \[x + \frac{1}{x} = -\frac{5}{2}\]are $-2$ and $-\frac{1}{2}.$ Thus, the roots of $2x^4 + x^3 - 6x^2 + x + 2 = 0$ are $\boxed{1, 1, -2, -\frac{1}{2}}.$
entailment
Compute \[\sum_{n = 1}^\infty \frac{2n - 1}{n(n + 1)(n + 2)}.\]
First, we split $\frac{2n - 1}{n(n + 1)(n + 2)}$ into partial fractions by writing \[\frac{2n - 1}{n(n + 1)(n + 2)} = \frac{A}{n} + \frac{B}{n + 1} + \frac{C}{n + 2}.\]Then $2n - 1 = A(n + 1)(n + 2) + Bn(n + 2) + Cn(n + 1).$ Setting $n = 0,$ we get $-1 = 2A,$ so $A = -\frac{1}{2}.$ Setting $n = -1,$ we get $-3 = -B,$ so $B = 3.$ Setting $n = -2,$ we get $2C = -5,$ so $C = -\frac{5}{2}.$ Thus, \[\frac{2n - 1}{n(n + 1)(n + 2)} = -\frac{1/2}{n} + \frac{3}{n + 1} - \frac{5/2}{n + 2}.\]Therefore, \begin{align*} \sum_{n = 1}^\infty \frac{2n - 1}{n(n + 1)(n + 2)} &= \left( -\frac{1/2}{1} + \frac{3}{2} - \frac{5/2}{3} \right) + \left( -\frac{1/2}{2} + \frac{3}{3} - \frac{5/2}{4} \right) \\ &\quad + \left( -\frac{1/2}{3} + \frac{3}{4} - \frac{5/2}{5} \right) + \left( -\frac{1/2}{4} + \frac{3}{5} - \frac{5/2}{6} \right) + \dotsb \\ &= -\frac{1}{2} + \frac{5/2}{2} = \boxed{\frac{3}{4}}. \end{align*}
entailment
Find the solutions to $z^3 = -8.$ Enter the solutions, separated by commas.
From the equation $z^3 = -8,$ $z^3 + 8 = 0.$ We see that $z = -2$ is one solution, so we can take out a factor of $z + 2 = 0,$ which gives us \[(z + 2)(z^2 - 2z + 4) = 0.\]By the quadratic formula, the roots of $z^2 - 2z + 4 = 0$ are \[z = \frac{2 \pm \sqrt{2^2 - 4 \cdot 4}}{2} = \frac{2 \pm 2i \sqrt{3}}{2} = 1 \pm i \sqrt{3}.\]Thus, the solutions are $\boxed{-2, 1 + i \sqrt{3}, 1 - i \sqrt{3}}.$
entailment
Find \[\left|\left(3 + \sqrt{7}i\right)^3\right|\]
First of all, we know that $|ab|=|a|\cdot |b|$, so \[\left|\left(3 + \sqrt{7}i\right)^3\right|=\left|3 + \sqrt{7} i\right|^3\]We also find that \[\left|3 +\sqrt{7}i\right|=\sqrt{\left(3\right)^2+\left(\sqrt{7}\right)^2}=\sqrt{16}=4\]Therefore, our answer is $4^3=\boxed{64}$.
entailment
Simplify the expression \[\sqrt{37-20\sqrt3}.\]
We look for integers $a$ and $b$ such that \[\sqrt{37-20\sqrt3} = a-b\sqrt3.\]Squaring both sides, we have $37-20\sqrt3=(a-b\sqrt3)^2 = (a^2+3b^2) - 2ab\sqrt3.$ Therefore, we must have \[\begin{aligned} a^2+3b^2 &= 37, \\ -2ab &= -20. \end{aligned}\]The second equation gives $ab=10.$ Trying the factor pairs of $10,$ we find that $(a,b)=(5,2)$ satisfies $a^2+3b^2=37.$ Therefore, $(37-20\sqrt3)=(5-2\sqrt3)^2.$ Since $5-2\sqrt3 \ge 0,$ it follows that \[\sqrt{37-20\sqrt3} = \boxed{5-2\sqrt3}.\]
entailment
Let $a$ and $b$ be the roots of $x^2 - 4x + 5 = 0.$ Compute \[a^3 + a^4 b^2 + a^2 b^4 + b^3.\]
by Vieta's formulas, $a + b = 4$ and $ab = 5.$ Then \begin{align*} a^3 + b^3 &= (a + b)(a^2 - ab + b^2) \\ &= (a + b)(a^2 + 2ab + b^2 - 3ab) \\ &= (a + b)((a + b)^2 - 3ab) \\ &= 4 \cdot (4^2 - 3 \cdot 5) \\ &= 4, \end{align*}and \begin{align*} a^4 b^2 + a^2 b^4 &= a^2 b^2 (a^2 + b^2) \\ &= (ab)^2 ((a + b)^2 - 2ab) \\ &= 5^2 (4^2 - 2 \cdot 5) \\ &= 150, \end{align*}so $a^3 + a^4 b^2 + a^2 b^4 + b^3 = \boxed{154}.$
entailment
The equation $x^2 + 2x = i$ has two complex solutions. Determine the product of their real parts.
Complete the square by adding 1 to each side. Then $(x+1)^2 = 1+i=e^{\frac{i\pi}{4}} \sqrt{2}$, so $x+1 = \pm e^{\frac{i\pi}{8}}\sqrt[4]{2}$. The desired product is then \begin{align*} \left( -1+\cos\left(\frac{\pi}{8}\right)\sqrt[4]{2} \right) \left( -1-\cos\left( \frac{\pi}{8}\right) \sqrt[4]{2}\right) &= 1-\cos^2\left( \frac{\pi}{8}\right) \sqrt{2} \\ &= 1-\frac{\left( 1 +\cos\left( \frac{\pi}{4}\right) \right)}{2}\sqrt{2}\\ &= \boxed{\frac{1-\sqrt{2}}{2}}. \end{align*}
entailment
Find the number of integers $n$ such that \[1+\left\lfloor\dfrac{100n}{101}\right\rfloor=\left\lceil\dfrac{99n}{100}\right\rceil.\]
Let \[f(n) = \left\lceil \frac{99n}{100} \right\rceil - \left\lfloor \frac{100n}{101} \right\rfloor.\]Note that \begin{align*} f(n + 10100) &= \left\lceil \frac{99 (n + 10100)}{100} \right\rceil - \left\lfloor \frac{100 (n + 10100)}{101} \right\rfloor \\ &= \left\lceil \frac{99n}{100} + 101 \right\rceil - \left\lfloor \frac{100n}{101} + 100 \right\rfloor \\ &= \left\lceil \frac{99n}{100} \right\rceil + 101 - \left\lfloor \frac{100n}{101} \right\rfloor - 100 \\ &= \left\lceil \frac{99n}{100} \right\rceil - \left\lfloor \frac{100n}{101} \right\rfloor + 1 \\ &= f(n) + 1. \end{align*}This implies that for each residue class $r$ modulo 10100, there is a unique integer $n$ such that $f(n) = 1$ and $n \equiv r \pmod{10100}.$ Thus, the answer is $\boxed{10100}.$
entailment
Calculate $\frac{1}{4} \cdot \frac{2}{5} \cdot \frac{3}{6} \cdot \frac{4}{7} \cdots \frac{49}{52} \cdot \frac{50}{53}$. Express your answer as a common fraction.
Note that from $\frac{4}{7}$ to $\frac{50}{53},$ the numerator of each fraction cancels with the denominator of the fraction three terms before it. Thus, the product simplifies to \[\frac{1 \cdot 2 \cdot 3}{51\cdot 52\cdot 53 }= \boxed{\frac{1}{23426}}.\]
entailment
If $f(x) = 5x-4$, what is $f(f(f(2)))$?
We have that \begin{align*} f(2) &= 5(2) - 4 = 6, \\ f(f(2)) &= f(6) = 5(6) - 4 = 26, \\ f(f(f(2))) &= f(f(6)) = f(26) = 5(26) - 4 = \boxed{126}. \end{align*}
entailment
Find the area in the plane contained by the graph of \[|x + y| + |x - y| \le 4.\]
First, assume that $x \ge 0$ and $y \ge 0.$ If $y \ge x,$ then \[|x + y| + |x - y| = x + y + y - x = 2y \le 4,\]so $y \le 2.$ If $y < x,$ then \[|x + y| + |x - y| = x + y + x - y = 2x \le 4,\]so $x \le 2.$ Thus, the portion of the graph in the first quadrant is as follows: [asy] unitsize (1 cm); fill((0,0)--(2,0)--(2,2)--(0,2)--cycle,gray(0.7)); draw((2,0)--(2,2)--(0,2)); draw((-0.5,0)--(2.5,0)); draw((0,-0.5)--(0,2.5)); dot("$2$", (2,0), S); dot("$2$", (0,2), W); [/asy] Now, suppose $(a,b)$ satisfies $|x + y| + |x - y| \le 4,$ so \[|a + b| + |a - b| \le 4.\]If we plug in $x = a$ and $y = -b,$ then \[|x + y| + |x - y| = |a - b| + |a + b| \le 4.\]This means if $(a,b)$ is a point in the region, so is $(a,-b).$ Therefore, the region is symmetric around the $x$-axis. Similarly, if we plug in $x = -a$ and $y = b,$ then \[|x + y| + |x - y| = |-a + b| + |-a - b| = |a - b| + |a + b| \le 4.\]This means $(-a,b)$ is also a point in the region. Therefore, the region is symmetric around the $y$-axis. We conclude that the whole region is a square with side length 4. [asy] unitsize (1 cm); filldraw((-2,-2)--(-2,2)--(2,2)--(2,-2)--cycle,gray(0.7)); draw((-2.5,0)--(2.5,0)); draw((0,-2.5)--(0,2.5)); dot("$2$", (2,0), SE); dot("$2$", (0,2), NW); dot("$-2$", (-2,0), SW); dot("$-2$", (0,-2), SW); [/asy] Hence, its area is $\boxed{16}.$
entailment
Let $x,$ $y,$ and $z$ be positive real numbers such that $x + y + z = 1.$ Find the minimum value of \[\frac{1}{x} + \frac{1}{y} + \frac{1}{z}.\]
By AM-HM, \[\frac{x + y + z}{3} \ge \frac{3}{\frac{1}{x} + \frac{1}{y} + \frac{1}{z}}.\]Hence, \[\frac{1}{x} + \frac{1}{y} + \frac{1}{z} \ge \frac{9}{x + y + z} = 9.\]Equality occurs when $x = y = z = \frac{1}{3},$ so the minimum value is $\boxed{9}.$
entailment
One focus of the ellipse $\frac{x^2}{2} + y^2 = 1$ is at $F = (1,0).$ There exists a point $P = (p,0),$ where $p > 0,$ such that for any chord $\overline{AB}$ that passes through $F,$ angles $\angle APF$ and $\angle BPF$ are equal. Find $p.$ [asy] unitsize(2 cm); pair A, B, F, P; path ell = xscale(sqrt(2))*Circle((0,0),1); F = (1,0); A = (sqrt(2)*Cos(80),Sin(80)); B = intersectionpoint(interp(A,F,0.1)--interp(A,F,5),ell); P = (2,0); draw(ell); draw(A--B); draw(A--P--B); draw(F--P); dot("$A$", A, N); dot("$B$", B, SE); dot("$F$", F, SW); dot("$P$", P, E); [/asy]
First, we consider a particular line, $y = x - 1,$ which passes through $F.$ Substituting, we get \[\frac{x^2}{2} + (x - 1)^2 = 1.\]This simplifies to $3x^2 - 4x = x(3x - 4) = 0,$ so $x = 0$ or $x = \frac{4}{3}.$ Thus, we can let $A = \left( \frac{4}{3}, \frac{1}{3} \right)$ and $B = (0,-1).$ The slope of line $AP$ is then $\frac{1/3}{4/3 - p} = \frac{1}{4 - 3p},$ and the slope of line $BP$ is $\frac{-1}{-p} = \frac{1}{p}.$ Since $\angle APF = \angle BPF,$ these slopes are negatives of each other, so \[\frac{1}{3p - 4} = \frac{1}{p}.\]Then $p = 3p - 4,$ so $p = \boxed{2}.$ For a complete solution, we prove that this works for all chords $\overline{AB}$ that pass through $F.$ Let $A = (x_a,y_a)$ and $B = (x_b,y_b).$ Then the condition $\angle APF = \angle BPF$ is equivalent to \[\frac{y_a}{x_a - 2} + \frac{y_b}{x_b - 2} = 0,\]or $y_a (x_b - 2) + y_b (x_a - 2) = 0.$ Then $y_a x_b - 2y_a + y_b x_a - 2y_b = 0.$ Let $y = m(x - 1)$ be the equation of line $AB.$ Substituting, we get \[\frac{x^2}{2} + m^2 (x - 1)^2 = 1.\]This simplifies to $(2m^2 + 1) x^2 - 4m^2 x + 2m^2 - 2 = 0.$ By Vieta's formulas, \[x_a + x_b = \frac{4m^2}{2m^2 + 1} \quad \text{and} \quad x_a x_b = \frac{2m^2 - 2}{2m^2 + 1}.\]Then \begin{align*} y_a x_b - 2y_a + y_b x_a - 2y_b &= m(x_a - 1) x_b - 2m(x_a - 1) + m(x_b - 1) x_a - 2m(x_b - 1) \\ &= 2mx_a x_b - 3m (x_a + x_b) + 4m \\ &= 2m \cdot \frac{2m^2 - 2}{2m^2 + 1} - 3m \cdot \frac{4m^2}{2m^2 + 1} + 4m \\ &= 0. \end{align*}Thus, $\angle APF = \angle BPF$ for all chords $\overline{AB}$ that pass through $F.$
entailment
Let $F_1 = \left( -3, 1 - \frac{\sqrt{5}}{4} \right)$ and $F_ 2= \left( -3, 1 + \frac{\sqrt{5}}{4} \right).$ Then the set of points $P$ such that \[|PF_1 - PF_2| = 1\]form a hyperbola. The equation of this hyperbola can be written as \[\frac{(y - k)^2}{a^2} - \frac{(x - h)^2}{b^2} = 1,\]where $a, b > 0.$ Find $h + k + a + b.$
The center of the hyperbola is the midpoint of $\overline{F_1 F_2},$ which is $(-3,1).$ Thus, $h = -3$ and $k = 1.$ Also, $2a = 1,$ so $a = \frac{1}{2}.$ The distance between the foci is $2c = \frac{\sqrt{5}}{2},$ so $c = \frac{\sqrt{5}}{4}.$ Then $b^2 = c^2 - a^2 = \frac{5}{16} - \frac{1}{4} = \frac{1}{16},$ so $b = \frac{1}{4}.$ Hence, $h + k + a + b = (-3) + 1 + \frac{1}{2} + \frac{1}{4} = \boxed{-\frac{5}{4}}.$
entailment
Find the minimum value of \[2x^2 + 2xy + y^2 - 2x + 2y + 4\]over all real numbers $x$ and $y.$
We can write \begin{align*} 2x^2 + 2xy + y^2 - 2x + 2y + 4 &= (x^2 + y^2 + 1 + 2x + 2y + 2xy) + (x^2 - 4x + 4) - 1 \\ &= (x + y + 1)^2 + (x - 2)^2 - 1. \end{align*}Thus, the minimum value is $\boxed{-1},$ which occurs when $x + y + 1 = 0$ and $x - 2 = 0,$ or $x = 2$ and $y = -3.$
entailment
Let $x,$ $y,$ $z$ be real numbers such that $x + 2y + z = 4.$ Find the maximum value of \[xy + xz + yz.\]
We can solve for $y,$ to get \[y = \frac{4 - x - z}{2}.\]Substituting, we get \[xy + xz + yz = \frac{-x^2 + 4x - z^2 + 4z}{2} = \frac{8 - (x - 2)^2 - (z - 2)^2}{2}.\]The maximum value is then $\boxed{4},$ which occurs when $x = 2$ and $z = 2$ (and $y = 0$).
entailment
A function $f(x)$ is defined for all real numbers $x$. For all non-zero values $x$, we have \[2f\left(x\right) + f\left(\frac{1}{x}\right) = 5x + 4\] Let $S$ denote the sum of all of the values of $x$ for which $f(x) = 2004$. Compute the integer nearest to $S$.
Substituting $\frac{1}{x}$, we have \[2f\left(\frac 1x\right) + f\left(x\right) = \frac{5}{x} + 4\] This gives us two equations, which we can eliminate $f\left(\frac 1x\right)$ from (the first equation multiplied by two, subtracting the second): \begin{align*} 3f(x) &= 10x + 4 - \frac 5x \\ 0 &= x^2 - \frac{3 \times 2004 - 4}{10}x + \frac 52\end{align*} Clearly, the discriminant of the quadratic equation $\Delta > 0$, so both roots are real. By Vieta's formulas, the sum of the roots is the coefficient of the $x$ term, so our answer is $\left[\frac{3 \times 2004 - 4}{10}\right] = \boxed{601}$.
entailment
Is $f(x) = \frac{3}{2x^{6}-5}$ an even function, odd function, or neither? Enter "odd", "even", or "neither".
$$f(-x) = \frac{3}{2(-x)^{6}-5} = \frac{3}{2x^{6}-5} = f(x)$$Hence $f$ is $\boxed{\text{even}}.$
entailment
The planet Xavier follows an elliptical orbit with its sun at one focus. At its nearest point (perigee), it is 2 astronomical units (AU) from the sun, while at its furthest point (apogee) it is 12 AU away. When Xavier is midway along its orbit, as shown, how far is it from the sun, in AU? [asy] unitsize(1 cm); path ell = xscale(2)*arc((0,0),1,-85,265); filldraw(Circle((0,-1),0.1)); filldraw(Circle((-1.4,0),0.2),yellow); draw(ell,Arrow(6)); [/asy]
Let $A$ be the perigee, let $B$ be the apogee, let $F$ be the focus where the sun is, let $O$ be the center of the ellipse, and let $M$ be the current position of Xavier. [asy] unitsize(1 cm); pair A, B, F, M, O; path ell = xscale(2)*Circle((0,0),1); A = (-2,0); B = (2,0); F = (-sqrt(3),0); O = (0,0); M = (0,-1); draw(ell); draw(A--M); draw(O--M); draw(F--M); draw(A--B); dot("$A$", A, W); dot("$B$", B, E); dot("$F$", F, N); dot("$M$", M, S); dot("$O$", O, N); [/asy] Then $AB$ is a major axis of the ellipse, and $AB = 2 + 12 = 14.$ Since $M$ is the midway point, $MF = AO = \frac{14}{2} = \boxed{7}.$
entailment
There is a unique polynomial $P(x)$ of degree $4$ with rational coefficients and leading coefficient $1$ which has $\sqrt{2}+\sqrt{5}$ as a root. What is $P(1)$?
We guess that $\sqrt{2} - \sqrt{5}$ is also a root of $P(x).$ In that case, $P(x)$ must be divisible by the polynomial \[(x-(\sqrt2+\sqrt5))(x-(\sqrt2-\sqrt5)) = x^2 - 2x\sqrt{2} - 3.\]Now we see that if we multiply this polynomial by $ x^2 + 2x\sqrt{2} - 3,$ we get a polynomial with rational coefficients: \[( x^2 - 2x\sqrt{2} - 3)( x^2 + 2x\sqrt{2} - 3)=x^4-14x^2+9.\]Therefore, $P(x) = x^4-14x^2+9,$ and so $P(1)=1-14+9=\boxed{-4}.$
entailment
Let $f$ be a non-constant polynomial such that \[f(x - 1) + f(x) + f(x + 1) = \frac{[f(x)]^2}{2013x}\]for all nonzero real numbers $x.$ Find the sum of all possible values of $f(1).$
From the given equation, \[2013x [f(x - 1) + f(x) + f(x + 1)] = [f(x)]^2\]for all $x \neq 0.$ Let $d$ be the degree of $f(x).$ Then the degree of $2013x [f(x - 1) + f(x) + f(x + 1)]$ is $d + 1,$ and the degree of $[f(x)]^2$ is $2d.$ Hence, $2d = d + 1,$ so $d = 1.$ Accordingly, let $f(x) = ax + b.$ Then the equation $2013x [f(x - 1) + f(x) + f(x + 1)] = [f(x)]^2$ becomes \[2013x (3ax + 3b) = (ax + b)^2.\]Since $f(x) = ax + b,$ we can write this as $[f(x)]^2 = 6039xf(x),$ so \[f(x) (f(x) - 6039x) = 0.\]Thus, $f(x) = 0$ or $f(x) = 6039x.$ Since $f(x)$ is non-constant, $f(x) = 6039x.$ Thus, $f(1) = \boxed{6039}.$ We can check that $f(x) = 6039x$ satisfies the given equation.
entailment
Shown below are rows 1, 2, and 3 of Pascal's triangle. \[ \begin{array}{ccccccc} & & 1 & & 1 & & \\ & 1 & & 2 & & 1 & \\ 1 & & 3 & & 3 & & 1 \end{array} \]Let $(a_i),$ $(b_i),$ $(c_i)$ be the sequence, from left to right, of elements in the 2005th, 2006th, and 2007th rows, respectively, with the leftmost element occurring at $i = 0.$ Compute \[\sum_{i = 0}^{2006} \frac{b_i}{c_i} - \sum_{i = 0}^{2005} \frac{a_i}{b_i}.\]
More generally, suppose $(a_i),$ $(b_i),$ $(c_i)$ represent the entries in rows $n - 1,$ $n,$ $n + 1$ of Pascal's triangle. Then \[a_i = \binom{n - 1}{i}, \ b_i = \binom{n}{i}, \ c_i = \binom{n + 1}{i},\]so \begin{align*} \frac{a_i}{b_i} &= \frac{\binom{n - 1}{i}}{\binom{n}{i}} \\ &= \frac{\frac{(n - 1)!}{i! (n - i - 1)!}}{\frac{n!}{i! (n - i)!}} \\ &= \frac{(n - 1)! (n - i)!}{n! (n - i - 1)!} \\ &= \frac{n - i}{n} \\ &= 1 - \frac{i}{n}. \end{align*}Hence, \begin{align*} \sum_{i = 0}^{n - 1} \frac{a_i}{b_i} &= \sum_{i = 0}^{n - 1} \left( 1 - \frac{i}{n} \right) \\ &= n - \frac{(n - 1)n/2}{n} \\ &= n - \frac{n - 1}{2} = \frac{n + 1}{2}. \end{align*}Likewise, \[\frac{b_i}{c_i} = 1 - \frac{i}{n + 1},\]and \[\sum_{i = 0}^n \frac{b_i}{c_i} = \frac{n + 2}{2}.\]Hence, \[\sum_{i = 0}^n \frac{b_i}{c_i} - \sum_{i = 0}^{n - 1} \frac{a_i}{b_i} = \frac{n + 2}{2} - \frac{n + 1}{2} = \boxed{\frac{1}{2}}.\]
entailment
What is the value of $a$ for which $\frac{1}{\text{log}_2a} + \frac{1}{\text{log}_3a} + \frac{1}{\text{log}_4a} = 1$?
By the change-of-base formula, the equation becomes \[\log_a 2 + \log_a 3 + \log_a 4 = 1.\]Then $\log_a 24 = 1,$ so $a = \boxed{24}.$
entailment
Find the area of the region enclosed by the graph of $|x-60|+|y|=\left|\frac{x}{4}\right|.$
To work with the absolute values, we take cases on the value of $x$: For $x < 0,$ we have $(60-x) + |y| = -\frac{x}{4},$ or $|y| = \frac{3x}{4} - 60.$ But $|y|$ is always nonnegative, whereas $\frac{3x}{4}-60 < -60$ whenever $x < 0.$ So no part of the graph of the given equation has $x < 0.$ For $0 \le x < 60,$ we have $(60-x) + |y| = \frac{x}{4},$ or $|y| = \frac{5x}{4} - 60.$ Since $\frac{5x}{4} - 60 \ge 0$ when $x \ge 48,$ the graph of the equation consists of two line segments, one from $(48,0)$ to $(60,15),$ and another from $(48,0)$ to $(60,-15).$ For $60 \le x,$ we have $(x-60) + |y| = \frac{x}{4},$ or $|y| = -\frac{3x}{4} + 60.$ Since $-\frac{3x}{4} + 60 \ge 0$ when $x \le 80,$ the graph of this equation consists of two line segments, one from $(60,15)$ to $(80,0),$ and another from $(60,-15)$ to $(80,0).$ Altogether, the graph of this equation is a kite, with diagonals of length $80 - 48 = 32$ and $15 - (-15) = 30.$ Therefore, the area of the enclosed region is $\frac{1}{2} \cdot 32 \cdot 30 = \boxed{480}.$ [asy] size(7cm); pair P=(48,0),Q=(60,15),R=(60,-15),S=(80,0); draw((-5,0)--(100,0),EndArrow); draw((0,-23)--(0,23),EndArrow); draw(P--Q--S--R--P); dot("$(48,0)$",P,SW); dot("$(60,15)$",Q,N); dot("$(60,-15)$",R,-N); dot("$(80,0)$",S,2*SSE); label("$x$",(100,0),N); label("$y$",(0,23),E); [/asy]
entailment
Find the positive value of $t$ that satisfies $ab = t-2i$ given $|a|=2$ and $|b|=\sqrt{26}$.
From the given information we know that $|a| |b| = |ab| = 2\sqrt{26}$. We can also write $|ab| = |t-2i| = \sqrt{t^2 + 4}$. Setting these equal, we have $$\sqrt{t^2 + 4} = 2\sqrt{26} \Rightarrow t^2 + 4 = 104.$$The positive answer is $t = \boxed{10}$.
entailment
Find the number of functions $f : \mathbb{R} \to \mathbb{R}$ such that \[f(x + f(y)) = x + y\]for all real numbers $x$ and $y.$
Setting $x = -f(y),$ we get \[f(0) = -f(y) + y,\]so $f(y) = y - f(0)$ for all real numbers $x.$ Then the given functional equation becomes \[f(x + y - f(0)) = x + y,\]or $x + y - f(0) - f(0) = x + y.$ Then $f(0) = 0,$ so $f(x) = x$ for all real numbers $x.$ This function does satisfy the given functional equation, giving us $\boxed{1}$ solution.
entailment
In a right prism with triangular bases, given the sum of the areas of three mutually adjacent faces (that is, of two lateral faces and one base) is 24, find the maximum volume of the prism. [asy] unitsize(1 cm); pair A, B, C, D, E, F; A = (0,0); B = (3,-1); C = (-1,-2); D = A + (0,-4); E = B + (0,-4); F = C + (0,-4); draw(A--B--C--cycle); draw(E--F); draw(F--D--E,dashed); draw(A--D,dashed); draw(B--E); draw(C--F); [/asy]
Let the base triangles have sides $a$ and $b$ with included angle $\theta,$ and let the right prism have altitude $h$. [asy] unitsize(1 cm); pair A, B, C, D, E, F; A = (0,0); B = (3,-1); C = (-1,-2); D = A + (0,-4); E = B + (0,-4); F = C + (0,-4); draw(A--B--C--cycle); draw(E--F); draw(F--D--E,dashed); draw(A--D,dashed); draw(B--E); draw(C--F); label("$a$", (B + C)/2, S); label("$b$", (A + C)/2, NW); label("$h$", (C + F)/2, W); label("$\theta$", C + (0.4,0.4)); [/asy] Then the surface area constraint is $$ah + bh + \frac12 ab \sin \theta = 24,$$and the volume is $$V = \frac12 abh \sin \theta.$$Let $X = ah, Y = bh, Z = (ab \sin \theta) / 2$ be the areas of the three faces. Then $X + Y + Z = 24$, and \[XYZ = \frac{1}{2} a^2 b^2 h^2 \sin \theta = \frac{2}{\sin \theta} \left( \frac{1}{2} abh \sin \theta \right)^2 = \frac{2V^2}{\sin \theta}.\]Now the AM-GM inequality yields $$(XYZ)^{1/3} \leq \frac{X+Y+Z}{3} = 8,$$so $XYZ \le 512$. But \[\frac{2V^2}{\sin \theta} = XYZ \le 512,\]so \[V^2 \le 256 \sin \theta \le 256,\]which means $V \le 16$. Equality occurs for $a = b = 4$, $h = 2$, and $\theta = \pi/2$, so the maximum volume of the prism is $\boxed{16}$.
entailment
Find the minimum value of \[f(x) = x + \frac{1}{x} + \frac{1}{x + \frac{1}{x}}\]for $x > 0.$
First, consider the function \[g(x) = x + \frac{1}{x}.\]If $1 \le x < y,$ then \begin{align*} g(y) - g(x) &= y + \frac{1}{y} - x - \frac{1}{x} \\ &= y - x + \frac{1}{y} - \frac{1}{x} \\ &= y - x + \frac{x - y}{xy} \\ &= (y - x) \left( 1 - \frac{1}{xy} \right) \\ &= \frac{(y - x)(xy - 1)}{xy} \\ &> 0. \end{align*}Thus, $g(x)$ is increasing on the interval $[1,\infty).$ By AM-GM (and what we just proved above), \[x + \frac{1}{x} \ge 2,\]so \[g \left( x + \frac{1}{x} \right) \ge 2 + \frac{1}{2} = \frac{5}{2}.\]Equality occurs when $x = 1,$ to the minimum value of $f(x)$ for $x > 0$ is $\boxed{\frac{5}{2}}.$ In particular, we cannot use the following argument: By AM-GM, \[x + \frac{1}{x} + \frac{1}{x + \frac{1}{x}} \ge 2 \sqrt{\left( x + \frac{1}{x} \right) \cdot \frac{1}{x + \frac{1}{x}}} = 2.\]However, we cannot conclude that the minimum is 2, because equality can occur only when $x + \frac{1}{x} = 1,$ and this is not possible.
entailment
The three roots of the equation \[ax^3+bx^2+cx+d=0\]are $1,$ $2,$ and $3.$ Compute $\frac{c}{d}.$
By Vieta's formulas, \[\begin{aligned} 1 \cdot 2 +2 \cdot 3 + 3 \cdot 1=11 &= \frac ca \\1 \cdot 2 \cdot 3 = 6 &= - \frac da. \end{aligned}\]Dividing these two equations, we get $\frac{11}{6} = -\frac{c}{d},$ so $\frac{c}{d} = \boxed{-\frac{11}{6}}.$
entailment
Find the greatest root of $f(x) = 15x^4-13x^2+2$.
We notice that $f(x)$ has only even powers of $x,$ so if we let $y = x^2,$ we can write $$f(x)=15x^4-13x^2+2=15y^2-13y+2 = (3y-2)(5y-1) .$$Substituting back $x^2$ for $y$ gives us $$f(x) = (3x^2-2)(5x^2-1).$$Then the roots of $f(x)$ are the roots of $3x^2-2$ and $5x^2-1$, which are $\sqrt{\frac{2}{3}}, -\sqrt{\frac{2}{3}}, \frac{1}{\sqrt{5}},$ and $ -\frac{1}{\sqrt{5}}$. Therefore, the greatest root is $\sqrt{\frac 23} = \boxed{\frac{\sqrt{6}}{3}}.$
entailment
$\zeta_1, \zeta_2,$ and $\zeta_3$ are complex numbers such that \[\zeta_1+\zeta_2+\zeta_3=1\]\[\zeta_1^2+\zeta_2^2+\zeta_3^2=3\]\[\zeta_1^3+\zeta_2^3+\zeta_3^3=7\] Compute $\zeta_1^{7} + \zeta_2^{7} + \zeta_3^{7}$.
We let $e_1 = \zeta_1 + \zeta_2 + \zeta_3,\ e_2 = \zeta_1\zeta_2 + \zeta_2\zeta_3 + \zeta_3\zeta_1,\ e_3 = \zeta_1\zeta_2\zeta_3$ (the elementary symmetric sums). Then, we can rewrite the above equations as\[\zeta_1+\zeta_2+\zeta_3=e_1 = 1\]\[\zeta_1^2+\zeta_2^2+\zeta_3^2= e_1^2 - 2e_2 = 3\]from where it follows that $e_2 = -1$. The third equation can be factored as\[7 =\zeta_1^3+\zeta_2^3+\zeta_3^3 = (\zeta_1+\zeta_2+\zeta_3)(\zeta_1^2+\zeta_2^2+\zeta_3^2-\zeta_1\zeta_2-\zeta_2\zeta_3 -\zeta_3\zeta_1)+3\zeta_1\zeta_2\zeta_3\\ = e_1^3 - 3e_1e_2 + 3e_3,\]from where it follows that $e_3 = 1$. Thus, applying Vieta's formulas backwards, $\zeta_1, \zeta_2,$ and $\zeta_3$ are the roots of the polynomial\[x^3 - x^2 - x - 1 = 0 \Longleftrightarrow x^3 = x^2 + x + 1\]Let $s_n = \zeta_1^n + \zeta_2^n + \zeta_3^n$ (the power sums). Then from $(1)$, we have the recursion $s_{n+3} = s_{n+2} + s_{n+1} + s_n$. It follows that $s_4 = 7 + 3 + 1 = 11, s_5 = 21, s_6 = 39, s_7 = \boxed{71}$.
entailment
The polynomial $P(x) = x^3 + ax^2 + bx +c$ has the property that the mean of its zeros, the product of its zeros, and the sum of its coefficients are all equal. If the $y$-intercept of the graph of $y= P(x)$ is 2, what is $b$?
The sum and product of the zeros of $P(x)$ are $-a$ and $-c$, respectively. Therefore, $$-\frac{a}{3}=-c=1+a+b+c.$$Since $c=P(0)$ is the $y$-intercept of $y=P(x)$, it follows that $c=2$. Thus $a=6$ and $b = \boxed{-11}$.
entailment
We can write \[\sum_{k = 1}^{100} (-1)^k \cdot \frac{k^2 + k + 1}{k!} = \frac{a}{b!} - c,\]where $a,$ $b,$ and $c$ are positive integers. Find the smallest possible value of $a + b + c.$
More generally, let \[S_n = \sum_{k = 1}^n (-1)^k \cdot \frac{k^2 + k + 1}{k!}\]for a positive integer $n.$ We can compute the first few values of $S_n$: \[ \renewcommand{\arraystretch}{1.5} \begin{array}{c|c} n & S_n \\ \hline 1 & -3 \\ 2 & \frac{1}{2} \\ 3 & -\frac{5}{3} \\ 4 & -\frac{19}{24} \\ 5 & -\frac{21}{20} \\ 6 & -\frac{713}{720} \end{array} \renewcommand{\arraystretch}{1} \]First, the denominators seem to be factors of $n!.$ Second, the fractions seem to be getting close to $-1.$ So, we re-write each sum in the form $\frac{*}{n!} - 1$: \[ \renewcommand{\arraystretch}{1.5} \begin{array}{c|c} n & S_n \\ \hline 1 & \frac{-2}{1!} - 1 \\ 2 & \frac{3}{2!} - 1 \\ 3 & \frac{-4}{3!} - 1 \\ 4 & \frac{5}{4!} - 1 \\ 5 & \frac{-6}{5!} - 1 \\ 6 & \frac{7}{6!} - 1 \\ \end{array} \renewcommand{\arraystretch}{1} \]Now the pattern is very clear: It appears that \[S_n = (-1)^n \cdot \frac{n + 1}{n!} - 1.\]So, set $T_n = (-1)^n \cdot \frac{n + 1}{n!} - 1.$ Since we expect the sum to telescope, we can compute the difference $T_k - T_{k - 1}$: \begin{align*} T_k - T_{k - 1} &= (-1)^k \cdot \frac{k + 1}{k!} - 1 - (-1)^{k - 1} \cdot \frac{k}{(k - 1)!} + 1 \\ &= (-1)^k \cdot \frac{k + 1}{k!} + (-1)^k \cdot \frac{k}{(k - 1)!} \\ &= (-1)^k \cdot \frac{k + 1}{k!} + (-1)^k \cdot \frac{k^2}{k!} \\ &= (-1)^k \cdot \frac{k^2 + k + 1}{k!}. \end{align*}Thus, indeed the sum telescopes, which verifies our formula \[S_n = (-1)^n \cdot \frac{n + 1}{n!} - 1.\]In particular, \[S_{100} = \frac{101}{100!} - 1.\]Then $a = 101,$ $b = 100,$ and $c = 1,$ so $a + b + c = \boxed{202}.$
entailment
Suppose that $x,$ $y,$ and $z$ are three positive numbers that satisfy the equations $xyz = 1,$ $x + \frac {1}{z} = 5,$ and $y + \frac {1}{x} = 29.$ Find $z + \frac {1}{y}.$
Let $t = z + \frac{1}{y}.$ Notice that \[\left(x+\frac{1}{z}\right)\left(y+\frac{1}{x}\right)\left(z+\frac{1}{y}\right) = xyz + x+y+z + \frac{1}{x}+\frac{1}{y}+\frac{1}{z} + \frac{1}{xyz}.\]Substituting known values, we have \[5 \cdot 29 \cdot t = 1 + (5 + 29 + t) + 1,\]or $145t = 36 + t.$ Thus, $t = \frac{36}{144} = \boxed{\frac{1}{4}}\,.$
entailment
Let $f(x) = 4x + c$ and $g(x) = cx + 2.$ If $f(g(x)) = 12x + d,$ then find $d.$
We have that \[f(g(x)) = f(cx + 2) = 4(cx + 2) + c = 4cx + c + 8 = 12x + d.\]Matching coefficients, we get $4c = 12$ and $d = c + 8,$ so $c = 3,$ and $d = 3 + 8 = \boxed{11}.$
entailment
Compute \[\dfrac{2^3-1}{2^3+1}\cdot\dfrac{3^3-1}{3^3+1}\cdot\dfrac{4^3-1}{4^3+1}\cdot\dfrac{5^3-1}{5^3+1}\cdot\dfrac{6^3-1}{6^3+1}.\]
Let $S$ be the value of the given expression. Using sum and difference of cubes to factor, we get \[\begin{aligned} S &= \dfrac{(2-1)(2^2+2+1)}{(2+1)(2^2-2+1)}\cdot\dfrac{(3-1)(3^2+3+1)}{(3+1)(3^2-3+1)} \cdot\dfrac{(4-1)(4^2+4+1)}{(4+1)(4^2-4+1)}\cdot\dfrac{(5-1)(5^2+5+1)}{(5+1)(5^2-5+1)}\cdot\dfrac{(6-1)(6^2+6+1)}{(6+1)(6^2-6+1)} \\ &= \frac{1}{3} \cdot \frac{2}{4} \cdot \frac{3}{5} \cdot \frac{4}{6} \cdot \frac{5}{7} \cdot \frac{2^2+2+1}{2^2-2+1} \cdot \frac{3^2+3+1}{3^2-3+1} \cdot \frac{4^2+4+1}{4^2-4+1} \cdot \frac{5^2+5+1}{5^2-5+1} \cdot \frac{6^2+6+1}{6^2-6+1}.\end{aligned}\]The first product telescopes to $\tfrac{1 \cdot 2}{6 \cdot 7} = \tfrac{1}{21}$. The second product also telescopes due to the identity \[x^2 + x + 1 = (x+1)^2 - (x+1) + 1.\]That is, the terms $2^2+2+1$ and $3^2-3+1$ cancel, as do the terms $3^2+3+1$ and $4^2-4+1$, and so on, leaving just $\tfrac{6^2+6+1}{2^2-2+1} = \tfrac{43}{3}$. Thus, \[S = \frac{1}{21} \cdot \frac{43}{3} = \boxed{\frac{43}{63}}.\]
entailment
Compute the value of the infinite series \[ \sum_{n=2}^{\infty} \frac{n^4+3n^2+10n+10}{2^n \cdot \left(n^4+4\right)} \]
We factor the denominator: \[n^4+4 = (n^2+2)^2-(2n)^2 = (n^2-2n+2)(n^2+2n+2).\]Now, \begin{eqnarray*} \frac{n^4+3n^2+10n+10}{n^4+4} & = & 1 + \frac{3n^2+10n+6}{n^4+4} \\ & = & 1 + \frac{4}{n^2-2n+2} - \frac{1}{n^2+2n+2} \\ \Longrightarrow \sum_{n=2}^{\infty} \frac{n^4+3n^2+10n+10}{2^n \cdot \left(n^4+4\right)} & = & \sum_{n=2}^{\infty} \frac{1}{2^n} + \frac{4}{2^n\cdot(n^2-2n+2)} - \frac{1}{2^n\cdot(n^2+2n+2)} \\ & = & \frac{1}{2} + \sum_{n=2}^{\infty} \frac{1}{2^{n-2}\cdot\left((n-1)^2+1\right)} - \frac{1}{2^n\cdot\left((n+1)^2+1\right)} \end{eqnarray*}The last series telescopes to $\frac{1}{2} + \frac{1}{10}$; thus, our our desired answer is $\frac{1}{2} + \frac{1}{2} + \frac{1}{10} = \boxed{\frac{11}{10}}$.
entailment
The function $f$ defined by $f(x)= \frac{ax+b}{cx+d}$, where $a$,$b$,$c$ and $d$ are nonzero real numbers, has the properties $f(19)=19$, $f(97)=97$ and $f(f(x))=x$ for all values except $\frac{-d}{c}$. Find the unique number that is not in the range of $f$.
Writing out the equation $f(f(x)) = x$, we have \[f\left(\frac{ax+b}{cx+d}\right) = x \implies \frac{a \cdot \frac{ax+b}{cx+d} + b}{c \cdot \frac{ax+b}{cx+d} + d} = x \implies \frac{a(ax+b)+b(cx+d)}{c(ax+b)+d(cx+d)} = x\]or \[(a^2+bc)x + (ab+bd) = (ac+cd)x^2 + (bc+d^2)x.\]Since this equation holds for infinitely many distinct values of $x$, the corresponding coefficients must be equal. Thus, \[ab+bd = 0, \quad a^2+bc = bc+d^2, \quad ac+cd=0.\]Since $b$ and $c$ are nonzero, the first and last equations simplify to $a +d=0$, so $d=-a$, and then the second equation is automatically satisfied. Therefore, all we have from $f(f(x)) = x$ is $d=-a$. That is, \[f(x) = \frac{ax+b}{cx-a}.\]Now, using $f(19) = 19$ and $f(97) = 97$, we get \[19 = \frac{19a+b}{19c-a} \quad \text{and} \quad 97 = \frac{97a+b}{97c-a}.\]These equations become \[b = 19^2 c - 2\cdot 19 a = 97^2 c - 2 \cdot 97 a.\]At this point, we look at what we want to find: the unique number not in the range of $f$. To find this number, we try to find an expression for $f^{-1}(x)$. If $f(x) = \frac{ax+b}{cx+d}$, then $cxf(x) + df(x) = ax+b$, so $x(a-cf(x)) = df(x) - b$, and so $x = \frac{df(x)-b}{a-cf(x)}$. Thus, \[f^{-1}(x) = \frac{dx-b}{a-cx}.\]Since $x = a/c$ is not in the domain of $f^{-1}(x)$, we see that $a/c$ is not in the range of $f(x)$. Now we can find $a/c$: we have \[19^2 c - 2 \cdot 19 a = 97^2 c - 2 \cdot 97 a,\]so \[2 \cdot(97-19) a = (97^2 - 19^2) c.\]Thus \[\frac{a}{c} = \frac{97^2-19^2}{2 \cdot (97-19)} = \frac{97+19}{2} = \boxed{58}\]by the difference of squares factorization.
entailment
Compute \[ \left\lfloor \frac{2007! + 2004!}{2006! + 2005!}\right\rfloor. \](Note that $\lfloor x \rfloor$ denotes the greatest integer less than or equal to $x$.)
We have \[ \left\lfloor \frac{2007! + 2004!}{2006! + 2005!}\right\rfloor = \left\lfloor \frac{\left(2007 \cdot 2006 + \frac{1}{2005}\right)\cdot 2005!}{(2006+1)\cdot 2005!}\right\rfloor = \left\lfloor \frac{2007\cdot 2006 + \frac{1}{2005}}{2007}\right\rfloor = \left\lfloor 2006 + \frac{1}{2005 \cdot 2007}\right\rfloor = \boxed{2006}. \]
entailment
There exist integers $a,$ $b,$ and $c$ such that \[(x - a)(x - 10) + 1 = (x + b)(x + c).\]Enter all possible values of $a,$ separated by commas.
Setting $x = 10,$ we get \[(b + 10)(c + 10) = 1.\]Either $b + 10 = c + 10 = 1$ or $b + 10 = c + 10 = -1.$ If $b + 10 = c + 10 = 1,$ then $b = c = -9,$ and \[(x - a)(x - 10) + 1 = (x - 9)^2.\]Since $(x - 9)^2 - 1 = (x - 10)(x - 8),$ $a = 8.$ If $b + 10 = c + 10 = -1,$ then $b = c = 11,$ and \[(x - a)(x - 10) + 1 = (x - 11)^2.\]Since $(x - 11)^2 - 1 = (x - 12)(x - 10),$ $a = 12.$ Thus, the possible values of $a$ are $\boxed{8,12}.$
entailment
If \[\frac{x}{a} + \frac{y}{b} + \frac{z}{c} = 3 \quad \text{and} \quad \frac{a}{x} + \frac{b}{y} + \frac{c}{z} = 0,\]find $\frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2}.$
Let $p = \frac{x}{a},$ $q = \frac{y}{b},$ $r = \frac{z}{c}.$ Then $p + q + r = 3$ and $\frac{1}{p} + \frac{1}{q} + \frac{1}{r} = 0,$ so $pq + pr + qr = 0.$ We want $p^2 + q^2 + r^2.$ Squaring the equation $p + q + r = 3,$ we get \[p^2 + q^2 + r^2 + 2(pq + pr + qr) = 9,\]so $p^2 + q^2 + r^2 = \boxed{9}.$
entailment
When a polynomial $p(x)$ is divided by $x + 1,$ the remainder is 5. When $p(x)$ is divided by $x + 5,$ the remainder is $-7.$ Find the remainder when $p(x)$ is divided by $(x + 1)(x + 5).$
The remainder when $p(x)$ is divided by $(x + 1)(x + 5)$ is of the form $ax + b.$ Thus, we can let \[p(x) = (x + 1)(x + 5) q(x) + ax + b,\]where $q(x)$ is the quotient in the division. By the Remainder Theorem, $p(-1) = 5$ and $p(-5) = -7.$ Setting $x = -1$ and $x = -5$ in the equation above, we get \begin{align*} -a + b &= 5, \\ -5a + b &= -7. \end{align*}Solving, we find $a = 3$ and $b = 8,$ so the remainder is $\boxed{3x + 8}.$
entailment
Find all $x$ such that $\lfloor \lfloor 2x \rfloor - 1/2 \rfloor = \lfloor x + 2 \rfloor.$
Observe that $\lfloor 2x \rfloor$ is an integer, so it follows that $\lfloor \lfloor 2x \rfloor - 1/2 \rfloor = \lfloor 2x \rfloor - 1$. Also, $\lfloor x + 2 \rfloor = \lfloor x \rfloor + 2$. Thus, our equation becomes $$\lfloor 2x \rfloor = \lfloor x \rfloor + 3.$$Let $n = \lfloor x \rfloor,$ so $n \le x < n + 1.$ If $x < n + \frac{1}{2},$ then $2n \le x < 2n + 1,$ so $\lfloor 2x \rfloor = 2n,$ and \[2n = n + 3,\]which means $n = 3.$ If $x \ge n + \frac{1}{2},$ then $2n + 1 \le x < 2n + 2,$ so $\lfloor 2x \rfloor = 2n + 1,$ and \[2n + 1 = n + 3,\]which means $n = 2.$ Therefore, the set of solutions is $x \in \boxed{\left[ \frac{5}{2}, \frac{7}{2} \right)}.$
entailment
Find the range of the function \[f(x) = \frac{x}{x^2-x+1},\]where $x$ can be any real number. (Give your answer in interval notation.)
Let $y$ be a number in the range of $f.$ This means that there is a real number $x$ such that \[y = \frac{x}{x^2-x+1}.\]Multiplying both sides by $x^2-x+1$ and rearranging, we get the equation \[yx^2-(y+1)x+y=0.\]Since $x^2-x+1 = (x-\tfrac12)^2 + \tfrac34 > 0$ for all $x,$ our steps are reversible, so $y$ is in the range of $f$ if and only if this equation has a real solution for $x.$ In turn, this equation has a real solution for $x$ if and only if the discriminant of this quadratic is nonnegative. Therefore, the range of $f$ consists exactly of the values of $y$ which satisfy \[(y+1)^2 - 4y^2 \ge 0,\]or \[0 \ge 3y^2 - 2y - 1.\]This quadratic factors as \[0 \ge (3y+1)(y-1),\]which means that the solutions to the inequality are given by $-\tfrac13 \le y \le 1.$ Therefore, the range of $g$ is the closed interval $\boxed{[-\tfrac13, 1]}.$
entailment
Find the maximum number of real roots to a polynomial of the form \[x^n + x^{n - 1} + \dots + x + 1 = 0,\]where $n$ is a positive integer.
If $x^n + x^{n - 1} + \dots + x + 1 = 0,$ then \[(x - 1)(x^n + x^{n - 1} + \dots + x + 1) = 0,\]which expands as $x^{n + 1} - 1 = 0.$ Then $x^{n + 1} = 1.$ The only possible real roots of this equation are $x = 1$ and $x = -1.$ Note that $x = 1$ cannot be a real root of \[x^n + x^{n - 1} + \dots + x + 1 = 0,\]but $x = -1$ is a root whenever $n$ is odd. Therefore, the maximum number of real roots is $\boxed{1}.$
entailment
Give an example of a quadratic function that has zeroes at $x=2$ and $x=4$, and that takes the value $6$ when $x=3$. Enter your answer in the expanded form "ax^2 + bx + c", where a,b,c are replaced by appropriate numbers.
An example of a quadratic function with zeroes at $x=2$ and $x=4$ is $(x-2)(x-4)$. However, when $x=3$, this function takes the value $-1$. However, multiplying the entire quadratic by $-6$ does not change the location of the zeroes, and does give us the desired value at $x=3$. Thus, $-6(x-2)(x-4)$ has all the desired properties. The expanded form of this expression is $\boxed{-6x^2+36x-48}$. Note that this is the only such quadratic. Any quadratic must factor as $a(x-r)(x-s)$, where its zeroes are $r$ and $s$; thus a quadratic with zeroes at $x=2$ and $x=4$ must be of the form $a(x-2)(x-4)$, and the coefficient $a=-6$ is forced by the value at $x=3$.
entailment
Let $x,$ $y,$ and $z$ be positive real numbers such that $x + y + z = 6.$ Find the minimum value of \[\frac{x^2 + y^2}{x + y} + \frac{x^2 + z^2}{x + z} + \frac{y^2 + z^2}{y + z}.\]
By QM-AM, \[\sqrt{\frac{x^2 + y^2}{2}} \ge \frac{x + y}{2}.\]Then \[\frac{x^2 + y^2}{2} \ge \left( \frac{x + y}{2} \right)^2,\]which we can re-arrange as \[\frac{x^2 + y^2}{x + y} \ge \frac{x + y}{2}.\]Similarly, \begin{align*} \frac{x^2 + y^2}{x + y} &\ge \frac{x + y}{2}, \\ \frac{y^2 + z^2}{y + z} &\ge \frac{y + z}{2}. \end{align*}Therefore, \[\frac{x^2 + y^2}{x + y} + \frac{x^2 + z^2}{x + z} + \frac{y^2 + z^2}{y + z} \ge \frac{x + y}{2} + \frac{x + z}{2} + \frac{y + z}{2} = x + y + z = 6.\]Equality occurs when $x = y = z = 2,$ so the minimum value is $\boxed{6}.$
entailment
The function $f(x)$ satisfies \[f(x) - 2 f \left( \frac{1}{x} \right) = 4^x\]for all $x \neq 0.$ Find $f(2).$
Setting $x = 2,$ we get \[f(2) - 2 f \left( \frac{1}{2} \right) = 16.\]Setting $x = 1/2,$ we get \[f \left( \frac{1}{2} \right) - 2f(2) = 2.\]Solving these equations as a system in $f(2)$ and $f \left( \frac{1}{2} \right),$ we obtain $f(2) = \boxed{-\frac{20}{3}}$ and $f \left( \frac{1}{2} \right) = -\frac{34}{3}.$
entailment
Let $\omega$ be a complex number such that $\omega^7 = 1$ and $\omega \ne 1.$ Let $\alpha = \omega + \omega^2 + \omega^4$ and $\beta = \omega^3 + \omega^5 + \omega^6.$ Then $\alpha$ and $\beta$ satisfy the quadratic \[x^2 + ax + b = 0\]for some real numbers $a$ and $b.$ Enter the ordered pair $(a,b).$
From the equation $\omega^7 = 1,$ $\omega^7 - 1 = 0,$ which factors as \[(\omega - 1)(\omega^6 + \omega^5 + \omega^4 + \omega^3 + \omega^2 + \omega + 1) = 0.\]Since $\omega \neq 1,$ \[\omega^6 + \omega^5 + \omega^4 + \omega^3 + \omega^2 + \omega + 1 = 0.\]We have that \[\alpha + \beta = \omega + \omega^2 + \omega^4 + \omega^3 + \omega^5 + \omega^6 = -1.\]Also, \begin{align*} \alpha \beta &= (\omega + \omega^2 + \omega^4)(\omega^3 + \omega^5 + \omega^6) \\ &= \omega^4 + \omega^6 + \omega^7 + \omega^5 + \omega^7 + \omega^8 + \omega^7 + \omega^9 + \omega^{10} \\ &= \omega^4 + \omega^6 + 1 + \omega^5 + 1 + \omega + 1 + \omega^2 + \omega^3 \\ &= 2 + (\omega^6 + \omega^5 + \omega^4 + \omega^3 + \omega^2 + \omega + 1) \\ &= 2. \end{align*}Then by Vieta's formulas, $\alpha$ and $\beta$ are the roots of $x^2 + x + 2 = 0,$ so $(a,b) = \boxed{(1,2)}.$
entailment
Let $A = (1,1)$ be a point on the parabola $y = x^2.$ The normal to the parabola at $A$ is drawn, intersecting the parabola again at $B.$ Find $B.$ [asy] unitsize(1 cm); pair A, B; A = (1,1); B = (-3/2,9/4); real parab (real x) { return(x^2); } draw(graph(parab,-2,2)); draw((A + (-1,-2))--(A + (1,2))); draw((A + (1,-0.5))--(A + (-3,1.5))); draw(rightanglemark(A + (-3,1.5), A, A + (1,2), 10)); dot("$A$", A, S); dot("$B$", B, SW); [/asy] Note: The normal at a point $P$ on a curve $\mathcal{C}$ is the line passing through $P$ that is perpendicular to the tangent to $\mathcal{C}$ at $P.$
Then the equation of the tangent at $A = (1,1)$ is of the form \[y - 1 = m(x - 1),\]or $y = mx - m + 1.$ Substituting into $y = x^2,$ we get \[mx - m + 1 = x^2.\]Then $x^2 - mx + m - 1 = 0.$ Since we have a tangent, this quadratic should have a double root. And since the $x$-coordinate of $A$ is $1,$ the double root is $x = 1.$ Hence, this quadratic is identical to $(x - 1)^2 = x^2 - 2x + 1,$ which means $m = 2.$ Then the slope of the normal is $-\frac{1}{2},$ so the equation of the normal is \[y - 1 = -\frac{1}{2} (x - 1).\]We want the intersection of the normal with $y = x^2,$ so we set $y = x^2$: \[x^2 - 1 = -\frac{1}{2} (x - 1).\]We can factor the left-hand side: \[(x - 1)(x + 1) = -\frac{1}{2} (x - 1).\]The solution $x = 1$ corresponds to the point $A.$ Otherwise, $x \neq 1,$ so we can divide both sides by $x - 1$: \[x + 1 = -\frac{1}{2}.\]Hence, $x = -\frac{3}{2},$ so $B = \boxed{\left( -\frac{3}{2}, \frac{9}{4} \right)}.$
entailment
Let $ a$, $ b$, $ c$, $ x$, $ y$, and $ z$ be real numbers that satisfy the three equations \begin{align*} 13x + by + cz &= 0 \\ ax + 23y + cz &= 0 \\ ax + by + 42z &= 0. \end{align*}Suppose that $ a \ne 13$ and $ x \ne 0$. What is the value of \[ \frac{a}{a - 13} + \frac{b}{b - 23} + \frac{c}{c - 42} \, ?\]
In the first equation, adding $(a-13)x$ to both sides gives us $ax+by+cz=(a-13)x$. Solving for $x$, we have $$x = \frac{ax+by+cz}{a-13}.$$Since $ a \ne 13$ and $ x \ne 0$, both sides of the equation are non-zero. Similarly from the 2nd and 3rd equation, $$ y = \frac{ax+by+cz}{b-23}$$and $$z = \frac{ax+by+cz}{c-42}.$$Then we know that $$\begin{aligned} ax+by+cz &= a \cdot \frac{ax+by+cz}{a-13} + b \cdot \frac{ax+by+cz}{b-23} + c \cdot \frac{ax+by+cz}{c-42}\\ &= (ax+by+cz)\left(\frac{a}{a-13} + \frac{b}{b-23} + \frac{c}{c-42}\right). \end{aligned} $$If $ax+by+cz = 0 $, then $x = \frac{ax+by+cz}{a-13} = 0$. But we know $x\ne0$. Hence, $ax+by+cz \ne 0 $. Thus, $$\frac{a}{a-13} + \frac{b}{b-23} + \frac{c}{c-42} = \boxed{1}.$$
entailment
A function $f$ is defined by $f(z) = (4 + i) z^2 + \alpha z + \gamma$ for all complex numbers $z$, where $\alpha$ and $\gamma$ are complex numbers and $i^2 = - 1$. Suppose that $f(1)$ and $f(i)$ are both real. What is the smallest possible value of $| \alpha | + |\gamma |$?
Let $\alpha = a + bi$ and $\gamma = c + di,$ where $a,$ $b,$ $c,$ and $d$ are real numbers. Then \begin{align*} f(1) &= (4 + i) + \alpha + \gamma = (a + c + 4) + (b + d + 1)i, \\ f(i) &= (4 + i)(-1) + \alpha i + \gamma = (-b + c - 4) + (a + d - 1)i. \end{align*}Since $f(1)$ and $f(i)$ are both real, $b + d + 1 = 0$ and $a + d - 1 = 0,$ so $a = -d + 1$ and $b = -d - 1.$ Then \begin{align*} |\alpha| + |\gamma| &= \sqrt{a^2 + b^2} + \sqrt{c^2 + d^2} \\ &= \sqrt{(-d + 1)^2 + (-d - 1)^2} + \sqrt{c^2 + d^2} \\ &= \sqrt{2d^2 + 2} + \sqrt{c^2 + d^2} \\ &\ge \sqrt{2}. \end{align*}Equality occurs when $a = 1,$ $b = -1,$ $c = 0,$ and $d = 0.$ Therefore, the minimum value is $\boxed{\sqrt{2}}.$
entailment
Find the positive root of \[x^3 - 3x^2 - x - \sqrt{2} = 0.\]
Since we have a coefficient of $\sqrt{2},$ we can guess that the positive root is of the form $a + b \sqrt{2},$ where $a$ and $b$ are integers. So, let $x = a + b \sqrt{2}.$ Substituting, we get \[(a + b \sqrt{2})^3 - 3(a + b \sqrt{2})^2 - (a + b \sqrt{2}) - \sqrt{2} = 0.\]This expands as \[(a^3 + 3a^2 b \sqrt{2} + 6ab^2 + 2b^3 \sqrt{2}) - 3(a^2 + 2ab \sqrt{2} + 2b^2) - (a + b \sqrt{2}) - \sqrt{2} = 0,\]so \[(a^3 + 6ab^2 - 3a^2 - 6b^2 - a) + (3a^2 b + 2b^3 - 6ab - b - 1) \sqrt{2} = 0.\]Hence, \begin{align*} a^3 + 6ab^2 - 3a^2 - 6b^2 - a &= 0, \\ 3a^2 b + 2b^3 - 6ab - b - 1 &= 0. \end{align*}From the first equation, \[6ab^2 - 6b^2 = -a^3 + 3a^2 + a,\]so \[6b^2 (a - 1) = -(a^3 - 3a^2 - a).\]Thus, $a - 1$ divides $a^3 - 3a^2 - a.$ Since $a - 1$ divides $(a - 1)(a - 3)(a + 1) = a^3 - 3a^2 - a + 3,$ $a - 1$ divides 3. This means $a - 1$ can be $-3,$ $-1,$ 1, or 3, so $a$ is $-2$, 0, 2, or 4. If $a = -2,$ then $b^2 = -1,$ which has no solutions. If $a = 0,$ then $b^2 = 0,$ so $b = 0,$ which does not work. If $a = 2,$ then $b^2 = 1,$ so $b = -1$ or $b = 1.$ Only $a = 2$ and $b = 1$ satisfy the second equation. If $a = 4,$ then $b^2 = -\frac{2}{3},$ which has no solutions. Therefore, $a = 2$ and $b = 1$ works, so $x = \boxed{2 + \sqrt{2}}.$
entailment
Given that $-1 - 4\sqrt{2}$ is a root of the equation \[x^3 + ax^2 + bx + 31 = 0\]and that $a$ and $b$ are rational numbers, compute $a.$
Because the coefficients of the polynomial are rational, the radical conjugate $-1+4\sqrt2$ must also be a root of the polynomial. By Vieta's formulas, the product of the roots of this polynomial is $-31,$ and the product of these two roots is $(-1-4\sqrt2)(-1+4\sqrt2) = -31,$ so the remaining root must be $\frac{-31}{-31} = 1.$ Then by Vieta's formulas again, we have \[a = -[1 + (-1-4\sqrt2) + (-1+4\sqrt2)] = \boxed{1}.\]
entailment
Compute $$\sum_{n=1}^{\infty} \frac{3n-1}{2^n}.$$
Let $$S = \sum_{n=1}^{\infty} \frac{3n-1}{2^n} = \frac{2}{2} + \frac{5}{4} + \frac{8}{8} + \frac{11}{16} + \dotsb.$$Then $$2S = \sum_{n=1}^{\infty} \frac{3n-1}{2^{n+1}} = 2 + \frac{5}{2} + \frac{8}{4} + \frac{11}{8} + \dotsb.$$Subtracting the first equation from the second gives us $$S = 2 + \frac{3}{2} + \frac{3}{4} + \frac{3}{8} + \dots = 2 + \frac{\frac{3}{2}}{1-\frac{1}{2}} = 2 + 3 = \boxed{5} .$$
entailment
Let $f(x)=16x+3$. Find the sum of all $x$ that satisfy the equation $f^{-1}(x)=f((2x)^{-1})$.
Applying $f$ to both sides of the equation $f^{-1}(x) = f((2x)^{-1})$, we get $f(f^{-1}(x)) = f(f((2x)^{-1}))$. By definition of the inverse function, $f(f^{-1}(x)) = x$, and \[f(f((2x)^{-1})) = f \left( f \left( \frac{1}{2x} \right) \right) = f \left( \frac{16}{2x} + 3 \right) = f \left( \frac{8}{x} + 3 \right) = f \left( \frac{3x + 8}{x} \right) = 16 \cdot \frac{3x + 8}{x} + 3 = \frac{51x + 128}{x}.\]Hence, \[x = \frac{51x + 128}{x}.\]Then $x^2 = 51x + 128$, or $x^2 - 51x - 128 = 0$. Vieta's formula tells us that the sum of the roots of a quadratic $ax^2+bx+c$ is $-\frac{b}{a}$, so in this case, the sum of the roots is $\boxed{51}$.
entailment
Let $\alpha$ and $\beta$ be complex numbers such that $\alpha + \beta$ and $i(\alpha - 2 \beta)$ are both positive real numbers. If $\beta = 3 + 2i,$ compute $\alpha.$
Let $x = \alpha + \beta$ and $y = i (\alpha - 2 \beta).$ Then $\alpha - 2 \beta = \frac{y}{i} = -yi.$ Solving for $\alpha$ and $\beta,$ we get \begin{align*} \alpha &= \frac{2}{3} x - \frac{y}{3} i, \\ \beta &= \frac{1}{3} x + \frac{y}{3} i. \end{align*}Since $x$ and $y$ are real, and $\beta = 3 + 2i,$ $x = 9$ and $y = 6.$ Then $\alpha = \boxed{6 - 2i}.$
entailment
Let $f(x) = x|x|.$ Find $f^{-1}(4) + f^{-1}(-100).$
We can write $f(x)$ as follows: \[f(x) = \left\{ \begin{array}{cl} x^2 & \text{if $x > 0$}, \\ 0 & \text{if $x = 0$}, \\ -x^2 & \text{if $x < 0$}. \end{array} \right.\]Hence, $f^{-1}(4) + f^{-1}(-100) = 2 + (-10) = \boxed{-8}.$
entailment
Find the distance between the foci of the hyperbola $x^2 - 6x - 4y^2 - 8y = 27.$
Completing the square in $x$ and $y,$ we get \[(x - 3)^2 - 4(y + 1)^2 = 32.\]Then \[\frac{(x - 3)^2}{32} - \frac{(y + 1)^2}{8} = 1.\]We see that $a^2 = 32$ and $b^2 = 8,$ so $c^2 = a^2 + b^2 = 40,$ and $c = 2 \sqrt{10}.$ Therefore, the distance between the foci is $2c = \boxed{4 \sqrt{10}}.$
entailment
Let $r_1,$ $r_2,$ and $r_3$ be the roots of \[x^3 - 3x^2 + 8 = 0.\]Find the monic polynomial, in $x,$ whose roots are $2r_1,$ $2r_2,$ and $2r_3.$
Let $y = 2x.$ Then $x = \frac{y}{2},$ so \[\frac{y^3}{8} - \frac{3y^2}{4} + 8 = 0.\]Multiplying by 8, we get $y^3 - 6y^2 + 64 = 0.$ The corresponding polynomial in $x$ is then $\boxed{x^3 - 6x^2 + 64}.$
entailment
Find the number of ordered triples $(x,y,z)$ of real numbers such that $x + y = 2$ and $xy - z^2 = 1.$
Squaring the equation $x + y = 2,$ we get $x^2 + 2xy + y^2 = 4.$ Also, $4xy - 4z^2 = 4,$ so \[x^2 + 2xy + y^2 = 4xy - 4z^2.\]Then $x^2 - 2xy + y^2 + 4z^2 = 0,$ which we write as \[(x - y)^2 + 4z^2 = 0.\]For this equation to hold, we must have $x = y$ and $z = 0,$ and if $x = y,$ then $x = y = 1.$ Therefore, there is only $\boxed{1}$ solution, namely $(x,y,z) = (1,1,0).$
entailment
Find $x,$ given that $x$ is nonzero and the numbers $\{x\},$ $\lfloor x \rfloor,$ and $x$ form an arithmetic sequence in that order. (We define $\{x\} = x - \lfloor x\rfloor.$)
We must have \[\lfloor x \rfloor - \{x\} = x - \lfloor x \rfloor,\]or, simplifying the right-hand side, \[\lfloor x \rfloor - \{x\} = \{x\}.\]Thus, \[\lfloor x \rfloor = 2\{x\}.\]Since the left-hand side is an integer, $2\{x\}$ must be an integer. We know that $0 \le \{x\} < 1,$ so either $\{x\} = 0$ or $\{x\} = \tfrac12.$ If $\{x\} = 0,$ then $\lfloor x \rfloor = 2 \cdot 0 = 0,$ so $x = 0,$ which is impossible because we are given that $x$ is nonzero. So we must have $\{x\} = \tfrac12,$ so $\lfloor x \rfloor = 2 \cdot \tfrac12 = 1,$ and $x = 1 + \tfrac12 = \boxed{\tfrac32}.$
entailment
Let $a,$ $b,$ $c,$ $d$ be real numbers such that \[a^2 + b^2 + c^2 + d^2 = 4.\]Find the maximum value of $a^3 + b^3 + c^3 + d^3.$
From the equation $a^2 + b^2 + c^2 + d^2 = 4,$ $a^2 \le 4,$ so $a \le 2,$ or $2 - a \ge 0.$ Then \[(2 - a) a^2 \ge 0,\]so $a^3 \le 2a^2.$ Similarly, $b^3 \le 2b^2,$ $c^3 \le 2c^2,$ and $d^3 \le 2d^2.$ Adding all these inequalities, we get \[a^3 + b^3 + c^3 + d^3 \le 2(a^2 + b^2 + c^2 + d^2) = 8.\]Equality occurs when $a = 2$ and $b = c = d = 0,$ so the maximum value is $\boxed{8}.$
entailment
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?
Let $a_n$ denote the $n$th term. Then \[\frac{a_1 + a_2 + \dots + a_{2008}}{2008} = 2008,\]so $a_1 + a_2 + \dots + a_{2008} = 2008^2.$ Also, \[\frac{a_1 + a_2 + \dots + a_{2007}}{2007} = 2007,\]so $a_1 + a_2 + \dots + a_{2007} = 2007^2.$ Subtracting these equations, we get \[a_{2008} = 2008^2 - 2007^2 = (2008 + 2007)(2008 - 2007) = \boxed{4015}.\]
entailment
Find all values of $x > 4$ which satisfy \[\sqrt{x - 4 \sqrt{x - 4}} + 2 = \sqrt{x + 4 \sqrt{x - 4}} - 2.\]
From the given equation, \[\sqrt{x + 4 \sqrt{x - 4}} - \sqrt{x - 4 \sqrt{x - 4}} = 4.\]Squaring both sides, we get \[x + 4 \sqrt{x - 4} - 2 \sqrt{x + 4 \sqrt{x - 4}} \sqrt{x - 4 \sqrt{x - 4}} + x - 4 \sqrt{x - 4} = 16.\]Hence, \begin{align*} 2x - 16 &= 2 \sqrt{(x + 4 \sqrt{x - 4})(x - 4 \sqrt{x - 4})} \\ &= 2 \sqrt{x^2 - 16(x - 4)} \\ &= 2 \sqrt{x^2 - 16x + 64} \\ &= 2 \sqrt{(x - 8)^2}. \end{align*}Equivalently, $x - 8 = \sqrt{(x - 8)^2}.$ This holds if and only if $x \ge 8.$ All our steps are reversible, so the solution is $x \in \boxed{[8,\infty)}.$
entailment
Let $P(x)$ be a polynomial such that when $P(x)$ is divided by $x - 19,$ the remainder is 99, and when $P(x)$ is divided by $x - 99,$ the remainder is 19. What is the remainder when $P(x)$ is divided by $(x - 19)(x - 99)$?
By the Remainder Theorem, $P(19) = 99$ and $P(99) = 19.$ When $P(x)$ is divided by $(x - 19)(x - 99),$ the remainder must be of the form $ax + b.$ Thus, \[P(x) = (x - 19)(x - 99) Q(x) + ax + b,\]for some polynomial $Q(x).$ Setting $x = 19$ and $x = 99,$ we get \begin{align*} 19a + b &= P(19) = 99, \\ 99a + b &= P(99) = 19. \end{align*}Subtracting the equations, we get $80a = -80,$ so $a = -1.$ Then $-19 + b = 99,$ so $b = 118.$ Hence, the remainder is $\boxed{-x + 118}.$
entailment
Let $z$ be a complex number with $|z| = \sqrt{2}.$ Find the maximum value of \[|(z - 1)^2 (z + 1)|.\]
Let $z = x + yi,$ where $x$ and $y$ are real numbers. Since $|z| = \sqrt{2},$ $x^2 + y^2 = 2.$ Then \begin{align*} |z - 1| &= |x + yi - 1| \\ &= \sqrt{(x - 1)^2 + y^2} \\ &= \sqrt{x^2 - 2x + 1 + 2 - x^2} \\ &= \sqrt{3 - 2x}, \end{align*}and \begin{align*} |z + 1| &= |x + yi + 1| \\ &= \sqrt{(x + 1)^2 + y^2} \\ &= \sqrt{x^2 + 2x + 1 + 2 - x^2} \\ &= \sqrt{2x + 3}, \end{align*}so \[|(z - 1)^2 (z + 1)| = \sqrt{(3 - 2x)^2 (2x + 3)}.\]Thus, we want to maximize $(3 - 2x)^2 (2x + 3),$ subject to $-\sqrt{2} \le x \le \sqrt{2}.$ We claim the maximum occurs at $x = -\frac{1}{2}.$ At $x = -\frac{1}{2},$ $(3 - 2x)^2 (2x + 3) = 32.$ Note that \[32 - (3 - 2x)^2 (2x + 3) = -8x^3 + 12x^2 + 18x + 5 = (2x + 1)^2 (5 - 2x) \ge 0,\]so $(3 - 2x)^2 (2x + 3) \le 32$ for $-\sqrt{2} \le x \le \sqrt{2},$ with equality if and only if $x = -\frac{1}{2}.$ Therefore, the maximum value of $|(z - 1)^2 (z + 1)| = \sqrt{(3 - 2x)^2 (2x + 3)}$ is $\sqrt{32} = \boxed{4 \sqrt{2}}.$
entailment
$x$ is a real number with the property that $x+\tfrac1x = 3$. Let $S_m = x^m + \tfrac{1}{x^m}$. Determine the value of $S_7$.
We can calculate\[x^2 + \dfrac{1}{x^2} = \left(x + \dfrac{1}{x}\right)^2 - 2 = 3^2 -2 = 7.\]Similarly,\[x^3 + \dfrac{1}{x^3} = \left(x + \dfrac{1}{x}\right) \left(x^2 + \dfrac{1}{x^2}\right) - \left(x + \dfrac{1}{x}\right) = 3 \cdot 7 - 3 = 18\]and\[x^4 + \dfrac{1}{x^4} = \left(x^2 + \dfrac{1}{x^2}\right)^2 - 2 = 7^2 - 2 = 47.\]Finally,\[x^7 + \dfrac{1}{x^7} = \left(x^3 + \dfrac{1}{x^3}\right) \left(x^4 + \dfrac{1}{x^4}\right) - \left(x + \dfrac{1}{x}\right) = 18 \cdot 47 - 3 = \boxed{843}.\]
entailment
The graph below shows a portion of the curve defined by the quartic polynomial $P(x)=x^4+ax^3+bx^2+cx+d$. [asy] unitsize(0.8 cm); int i; real func (real x) { return(0.5*(x^4/4 - 2*x^3/3 - 3/2*x^2) + 2.7); } draw(graph(func,-4.5,4.5)); draw((-4.5,0)--(4.5,0)); draw((0,-5.5)--(0,5.5)); for (i = -4; i <= 4; ++i) { draw((i,-0.1)--(i,0.1)); } for (i = -5; i <= 5; ++i) { draw((-0.1,i)--(0.1,i)); } label("$-3$", (-3,-0.1), S); label("$3$", (3,-0.1), S); label("$10$", (-0.1,5), W); label("$-10$", (-0.1,-5), W); limits((-4.5,-5.5),(4.5,5.5),Crop); [/asy] Which of the following is the smallest? A. $P(-1)$ B. The product of the zeros of $P$ C. The product of the non-real zeros of $P$ D. The sum of the coefficients of $P$ E. The sum of the real zeros of $P$
We claim that the product of the non-real zeros is the smallest. (A) The value of $P(-1)$ is greater than 4. (B) Since the leading coefficient in $P(x)$ is 1, the product of the zeros of $P$ is $d = P(0),$ which is greater than 4. (D) The sum of the coefficient of $P(x)$ is $P(1),$ which is greater than 2. (E) The quartic $P(x)$ has a real root between 1 and 2, and it also has a root between 3 and 4. If there were any more real roots, then the quartic equation $P(x) = 5$ would have more than four roots, which is impossible, so these two real roots are the only real roots. The sum of these real roots is greater than 4. (C) The product of all the zeros is $d = P(0),$ which is less than 6. The product of the real zeros is greater than 3, so the product the non-real zeros must be less than $\frac{6}{3} = 2.$ Thus, the answer is $\boxed{\text{C}}.$
entailment
Let $x$ and $y$ be positive real numbers such that \[\frac{1}{x + 2} + \frac{1}{y + 2} = \frac{1}{3}.\]Find the minimum value of $x + 2y.$
By the Cauchy-Schwarz inequality, \[((x + 2) + 2(y + 2)) \left( \frac{1}{x + 2} + \frac{1}{y + 2} \right) \ge (1 + \sqrt{2})^2.\]Then \[x + 2 + 2y + 4 \ge 3 (1 + \sqrt{2})^2 = 9 + 6 \sqrt{2},\]so $x + 2y \ge 3 + 6 \sqrt{2}.$ Equality occurs when $(x + 2)^2 = 2(y + 2)^2,$ or $x + 2 = (y + 2) \sqrt{2}.$ Substituting into $\frac{1}{x + 2} + \frac{1}{y + 2} = \frac{1}{3},$ we get \[\frac{1}{(y + 2) \sqrt{2}} + \frac{1}{y + 2} = \frac{1}{3}.\]Solving, we find $y = \frac{2 + 3 \sqrt{2}}{2}.$ Then $x = 1 + 3 \sqrt{2}.$ Hence, the minimum value we seek is $\boxed{3 + 6 \sqrt{2}}.$
entailment
Let $f(x) = x^2-3x$. For what values of $x$ is $f(f(x)) = f(x)$? Enter all the solutions, separated by commas.
Expanding $f(f(x)) = f(x)$ gives us $$(x^2-3x)^2-3(x^2-3x)=x^2-3x.$$Rather than expanding, we can subtract $x^2-3x$ from both sides to get $$(x^2-3x)^2-4(x^2-3x)=0.$$Factoring out $x^2-3x$ gives $(x^2-3x)(x^2-3x-4)=0$. Factoring each quadratic separately, we get $$x(x-3)(x+1)(x-4)=0.$$Thus the values of $x$ are $\boxed{0, 3, -1, 4}$.
entailment
Solve the inequality \[\frac{x^2 - 25}{x + 5} < 0.\]
We can factor the numerator, to get \[\frac{(x - 5)(x + 5)}{x + 5} < 0.\]If $x \neq -5,$ then this simplifies to $x - 5 < 0.$ Since the expression is not defined for $x = -5,$ the solution is \[x \in \boxed{(-\infty,-5) \cup (-5,5)}.\]
entailment
Each of $a_1,$ $a_2,$ $\dots,$ $a_{100}$ is equal to $1$ or $-1.$ Find the minimum positive value of \[\sum_{1 \le i < j \le 100} a_i a_j.\]
Let $S$ denote the given sum. Then \begin{align*} 2S &= (a_1 + a_2 + \dots + a_{100})^2 - (a_1^2 + a_2^2 + \dots + a_{100}^2) \\ &= (a_1 + a_2 + \dots + a_{100})^2 - 100. \end{align*}To find the minimum positive value of $2S,$ we want $(a_1 + a_2 + \dots + a_{100})^2$ to be as close to 100 as possible (while being greater than 100). Since each $a_i$ is $1$ or $-1,$ $a_1 + a_2 + \dots + a_{100}$ must be an even integer. Thus, the smallest we could make $(a_1 + a_2 + \dots + a_{100})^2$ is $12^2 = 144.$ This is achievable by setting 56 of the $a_i$ to be equal to $1,$ and the remaining 44 to be equal to $-1.$ Thus, the minimum positive value of $S$ is $\frac{144 - 100}{2} = \boxed{22}.$
entailment
What is the value of $\log_{10}{4}+2\log_{10}{5}+3\log_{10}{2}+6\log_{10}{5}+\log_{10}{8}$?
We use the two identities $a\log_b{x}=\log_b{x^a}$ and $\log_b{x}+\log_b{y}=\log_b{xy}$. The given expression becomes \begin{align*} \log_{10}{4}+2\log_{10}{5}+3\log_{10}{2}+6\log_{10}{5}+\log_{10}{8}&=\log_{10}{2^2}+\log_{10}{5^2}+\log_{10}{2^3}+\log_{10}{5^6}+\log_{10}{2^3} \\ &=\log_{10}{(2^2 \cdot 5^2 \cdot 2^3 \cdot 5^6 \cdot 2^3)}\\ &=\log_{10}{(2^8 \cdot 5^8)} \\ &=\log_{10}{10^8} \\ &=\boxed{8}. \end{align*}
entailment
Let $f(x)$ and $g(x)$ be nonzero polynomials such that \[f(g(x)) = f(x) g(x).\]If $g(2) = 37,$ find $g(x).$
Let $m$ and $n$ be the degrees of $f(x)$ and $g(x),$ respectively. Then the degree of $f(g(x))$ is $mn.$ The degree of $f(x) g(x)$ is $m + n,$ so \[mn = m + n.\]Applying Simon's Favorite Factoring Trick, we get $(m - 1)(n - 1) = 1,$ so $m = n = 2.$ Let $f(x) = ax^2 + bx + c$ and $g(x) = dx^2 + ex + f.$ Then \[a(dx^2 + ex + f)^2 + b(dx^2 + ex + f) + c = (ax^2 + bx + c)(dx^2 + ex + f).\]Expanding, we get \begin{align*} &ad^2 x^4 + 2adex^3 + (2adf + ae^2 + bd) x^2 + (2aef + be)x + af^2 + bf + c \\ &\quad = adx^4 + (ae + bd) x^3 + (af + be + cd) x^2 + (bf + ce) x + cf. \end{align*}Matching coefficients, we get \begin{align*} ad^2 &= ad, \\ 2ade &= ae + bd, \\ 2adf + ae^2 + bd &= af + be + cd, \\ 2aef + be &= bf + ce, \\ af^2 + bf + c &= cf. \end{align*}Since $a$ and $d$ are nonzero, the equation $ad^2 = ad$ tells us $d = 1.$ Thus, the system becomes \begin{align*} 2ae &= ae + b, \\ 2af + ae^2 + b &= af + be + c, \\ 2aef + be &= bf + ce, \\ af^2 + bf + c &= cf. \end{align*}Then $b = ae.$ Substituting, the system becomes \begin{align*} 2af + ae^2 + ae &= af + ae^2 + c, \\ 2aef + ae^2 &= aef + ce, \\ af^2 + aef + c &= cf. \end{align*}Then $af + ae = c,$ so $af^2 + aef = cf$. Hence, $c = 0,$ which means $ae + af = 0.$ Since $a$ is nonzero, $e + f = 0.$ Now, from $g(2) = 37,$ $4 + 2e + f = 37.$ Hence, $e = 33$ and $f = -33.$ Therefore, $g(x) = \boxed{x^2 + 33x - 33}.$
entailment
Let \[x^5 - x^2 - x - 1 = p_1(x) p_2(x) \dotsm p_k(x),\]where each non-constant polynomial $p_i(x)$ is monic with integer coefficients, and cannot be factored further over the integers. Compute $p_1(2) + p_2(2) + \dots + p_k(2).$
We can factor by pairing $x^5$ and $-x,$ and $-x^2$ and $-1$: \begin{align*} x^5 - x^2 - x - 1 &= (x^5 - x) - (x^2 + 1) \\ &= x(x^4 - 1) - (x^2 + 1) \\ &= x(x^2 + 1)(x^2 - 1) - (x^2 + 1) \\ &= (x^2 + 1)(x^3 - x - 1). \end{align*}If $x^3 - x - 1$ factors further, then it must have a linear factor, which means it has an integer root. By the Integer Root Theorem, the only possible integer roots are $\pm 1,$ and neither of these work, so $x^3 - x - 1$ is irreducible. Thus, $(x^2 + 1)(x^3 - x - 1)$ is the complete factorization. Evaluating each factor at 2, we get $(2^2 + 1) + (2^3 - 2 - 1) = \boxed{10}.$
entailment
Let $x$ be a positive real number. Find the minimum value of $4x^5 + 5x^{-4}.$
By AM-GM, \begin{align*} 4x^5 + 5x^{-4} &= x^5 + x^5 + x^5 + x^5 + x^{-4} + x^{-4} + x^{-4} + x^{-4} + x^{-4} \\ &\ge 9 \sqrt[9]{(x^5)^4 \cdot (x^{-4})^5} \\ &= 9. \end{align*}Equality occurs when $x = 1,$ so the minimum value is $\boxed{9}.$
entailment
Find \[\sum_{n = 1}^\infty \frac{n^2 + n - 1}{(n + 2)!}.\]
Let \[S_m = \sum_{n = 1}^m \frac{n^2 + n - 1}{(n + 2)!}.\]We compute the first few sums $S_m$: \[ \renewcommand{\arraystretch}{1.5} \begin{array}{c|c} m & S_m \\ \hline 1 & \frac{1}{6} \\ 2 & \frac{3}{8} \\ 3 & \frac{7}{15} \\ 4 & \frac{71}{144} \\ 5 & \frac{419}{840} \end{array} \]We note that the fractions seem to be approaching $\frac{1}{2},$ so we also compute $\frac{1}{2} - S_m$: \[ \renewcommand{\arraystretch}{1.5} \begin{array}{c|c|c} m & S_m & \frac{1}{2} - S_m \\ \hline 1 & \frac{1}{6} & \frac{1}{3} \\ 2 & \frac{3}{8} & \frac{1}{8} \\ 3 & \frac{7}{15} & \frac{1}{30} \\ 4 & \frac{71}{144} & \frac{1}{144} \\ 5 & \frac{419}{840} & \frac{1}{840} \end{array} \]We can relate the fractions $\frac{1}{2} - S_m$ to factorials in the following way: \[\frac{1}{3} = \frac{2}{3!}, \ \frac{1}{8} = \frac{3}{4!}, \ \frac{1}{30} = \frac{4}{5!}, \ \frac{1}{144} = \frac{5}{6!}, \ \frac{1}{840} = \frac{6}{7!}.\]Thus, we conjecture that \[S_m = \frac{1}{2} - \frac{m + 1}{(m + 2)!}.\]So, let \[T_n = \frac{1}{2} - \frac{n + 1}{(n + 2)!}.\]Then \begin{align*} T_n - T_{n - 1} &= \left( \frac{1}{2} - \frac{n + 1}{(n + 2)!} \right) - \left( \frac{1}{2} - \frac{n}{(n + 1)!} \right) \\ &= \frac{n}{(n + 1)!} - \frac{n + 1}{(n + 2)!} \\ &= \frac{n(n + 2) - (n + 1)}{(n + 2)!} \\ &= \frac{n^2 + n - 1}{(n + 2)!}, \end{align*}which is exactly what we are summing. From the identity \[\frac{n}{(n + 1)!} - \frac{n + 1}{(n + 2)!} = \frac{n^2 + n - 1}{(n + 2)!},\]we have that \begin{align*} \sum_{n = 1}^\infty \frac{n^2 + n - 1}{(n + 2)!} &= \left( \frac{1}{2!} - \frac{2}{3!} \right) + \left( \frac{2}{3!} - \frac{3}{4!} \right) + \left( \frac{3}{4!} - \frac{4}{5!} \right) + \dotsb \\ &= \boxed{\frac{1}{2}}. \end{align*}
entailment
Is the function $f(x) = \lfloor x \rfloor + \frac{1}{2}$ even, odd, or neither? Enter "odd", "even", or "neither".
Since $f \left( \frac{1}{2} \right) = \left\lfloor \frac{1}{2} \right\rfloor + \frac{1}{2} = \frac{1}{2}$ and $f \left( -\frac{1}{2} \right) = \left\lfloor -\frac{1}{2} \right\rfloor + \frac{1}{2} = -\frac{1}{2},$ so if $f$ is either even or odd, it must be odd. But $f(0) = \lfloor 0 \rfloor + \frac{1}{2}.$ Every odd function $f(x)$ satisfies $f(0) = 0,$ so $f(x)$ is $\boxed{\text{neither}}.$
entailment
If $x + \frac{1}{x} = 5,$ then compute the value of \[(x - 2)^2 + \frac{25}{(x - 2)^2}.\]
From the equation $x + \frac{1}{x} = 5,$ $x^2 + 1 = 5x,$ so \[x^2 = 5x - 1.\]Then \[(x - 2)^2 = x^2 - 4x + 4 = (5x - 1) - 4x + 4 = x + 3.\]Hence, \begin{align*} (x - 2)^2 + \frac{25}{(x - 2)^2} &= x + 3 + \frac{25}{x + 3} \\ &= \frac{(x + 3)^2 + 25}{x + 3} \\ &= \frac{x^2 + 6x + 9 + 25}{x + 3} \\ &= \frac{(5x - 1) + 6x + 34}{x + 3} \\ &= \frac{11x + 33}{x + 3} \\ &= \boxed{11}. \end{align*}
entailment
Define a function $A(m, n)$ by \[ A(m,n) = \left\{ \begin{aligned} &n+1& \text{ if } m = 0 \\ &A(m-1, 1) & \text{ if } m > 0 \text{ and } n = 0 \\ &A(m-1, A(m, n-1))&\text{ if } m > 0 \text{ and } n > 0. \end{aligned} \right.\]Compute $A(2, 1).$
We iterate through the definition of $A(m, n).$ Each step below is marked either $(1),$ $(2),$ or $(3),$ corresponding to the three parts of the definition of $A(m, n)$: \[\begin{aligned} A(2, 1)&\stackrel{(3)}{=} A(1, A(2, 0)) \\ &\stackrel{(2)}{=} A(1, A(1, 1)) \\ &\stackrel{(3)}{=} A(1, A(0, A(1, 0))) \\ &\stackrel{(2)}{=} A(1, A(0, A(0, 1))) \\ &\stackrel{(1)}{=} A(1, A(0, 2)) \\ &\stackrel{(1)}{=} A(1, 3) \\ &\stackrel{(3)}{=} A(0, A(1, 2)) \\ &\stackrel{(3)}{=} A(0, A(0, A(1, 1))). \end{aligned}\]In the last few steps, we actually computed $A(1, 1) = 3,$ so we have \[A(2, 1) = A(0, A(0, 3)) = A(0, 4) = \boxed{5}\]by applying $(1)$ twice. (Note: the function $A(m, n)$ is called the Ackermann function. Because of its deeply recursive definition, $A(m, n)$ grows extremely quickly. For example, other values of $A(m, n)$ include $A(3, 3) = 29$ and $A(4, 2) = 2^{65536} - 3,$ which has tens of thousands of digits in base ten!)
entailment
Let $x_1,$ $x_2,$ $\dots,$ $x_{100}$ be real numbers such that $x_1 + x_2 + \dots + x_{100} = 1$ and \[\frac{x_1}{1 - x_1} + \frac{x_2}{1 - x_2} + \dots + \frac{x_{100}}{1 - x_{100}} = 1.\]Find \[\frac{x_1^2}{1 - x_1} + \frac{x_2^2}{1 - x_2} + \dots + \frac{x_{100}^2}{1 - x_{100}}.\]
In general, \[\frac{x^2}{1 - x} = \frac{x^2 - x + x}{1 - x} = \frac{x(x - 1) + x}{1 - x} = \frac{x}{1 - x} - x,\]so \begin{align*} \frac{x_1^2}{1 - x_1} + \frac{x_2^2}{1 - x_2} + \dots + \frac{x_{100}^2}{1 - x_{100}} &= \frac{x_1}{1 - x_1} + \frac{x_2}{1 - x_2} + \dots + \frac{x_{100}}{1 - x_{100}} - (x_1 + x_2 + \dots + x_{100}) \\ &= 1 - 1 \\ &= \boxed{0}. \end{align*}
entailment
There is a smallest positive real number $a$ such that there exists a positive real number $b$ such that all the roots of the polynomial $x^3-ax^2+bx-a$ are real. In fact, for this value of $a$ the value of $b$ is unique. What is the value of $b?$
Let $r,$ $s,$ $t$ be the real roots, so \[r^3 - ar^2 + br - a = 0.\]If $r$ is negative, then $r^3,$ $-ar^2,$ $br,$ and $-a$ are all negative, so \[r^3 - ar^2 + br - a < 0,\]contradiction. Also, $r \neq 0,$ so $r$ is positive. Similarly, $s$ and $t$ are positive. By Vieta's formulas, $r + s + t = a$ and $rst = a.$ By AM-GM, \[\frac{r + s + t}{3} \ge \sqrt[3]{rst}.\]Then \[\frac{a}{3} \ge \sqrt[3]{a}.\]Hence, $a \ge 3 \sqrt[3]{a},$ so $a^3 \ge 27a.$ Since $a$ is positive, $a^2 \ge 27,$ so $a \ge 3 \sqrt{3}.$ Equality occurs if and only if $r = s = t = \sqrt{3},$ so the cubic is \[(x - \sqrt{3})^3 = x^3 - 3x^2 \sqrt{3} + 9x - 3 \sqrt{3} = 0.\]Thus, $b = \boxed{9}.$
entailment
Suppose $f(x) = \frac{x}{5} + 3$ and $g(x) = 4-x$. If $f(g(a)) = 5$, find $a$.
We know that $$\begin{aligned} f(g(a)) &= f(4-a) \\ &= \frac{4-a}{5} + 3 = 5. \end{aligned}$$Multiplying both sides by 5 gives us $$ 4-a + 15 = 25.$$Solving for $a$, $$ a = \boxed{-6}.$$
entailment
A function $f:\mathbb{Z} \to \mathbb{Z}$ satisfies \begin{align*} f(x+4)-f(x) &= 8x+20, \\ f(x^2-1) &= (f(x)-x)^2+x^2-2 \end{align*}for all integers $x.$ Enter the ordered pair $(f(0),f(1)).$
Setting $x = 0$ in the second equation, we get \[f(-1) = f(0)^2 - 2.\]Setting $x = -1$ in the second equation, we get \[f(0) = (f(-1) + 1)^2 - 1.\]Let $a = f(0)$ and $b = f(-1)$; then $b = a^2 - 2$ and $a = (b + 1)^2 - 1.$ Substituting $b = a^2 - 2,$ we get \[a = (a^2 - 1)^2 - 1.\]This simplifies to $a^4 - 2a^2 - a = 0,$ which factors as $a(a + 1)(a^2 - a - 1) = 0.$ The quadratic $a^2 - a - 1 = 0$ has no integer solutions, so $a = 0$ or $a = -1.$ Suppose $f(0) = a = 0.$ Then $f(-1) = -2.$ Setting $x = -1$ in the first equation, we get \[f(3) - f(-1) = 12,\]so $f(3) = f(-1) + 12 = 10.$ But setting $x = 2$ in the second equation, we get \[f(3) = (f(2) - 2)^2 + 2,\]so $(f(2) - 2)^2 = 8.$ No integer value for $f(2)$ satisfies this equation. Therefore, $f(0) = a = -1.$ Setting $x = 1$ in the second equation, we get \[f(0) = (f(1) - 1)^2 - 1,\]so $(f(1) - 1)^2 = 0,$ which forces $f(1) = 1.$ Hence, $(f(0),f(1)) = \boxed{(-1,1)}.$ Note that the function $f(n) = n^2 + n - 1$ satisfies the given conditions.
entailment
Suppose that the number $a$ satisfies the equation $4 = a + a^{ - 1}.$ What is the value of $a^{4} + a^{ - 4}?$
Squaring the equation $4 = a+a^{-1},$ we get \[16 = \left(a+a^{-1}\right)^2 = a^2 + 2a a^{-1} + a^{-2} = a^2 + 2 + a^{-2},\]so $14 = a^2 + a^{-2}.$ To get the desired expression, we square again, giving \[196 = a^4 + 2a^2 a^{-2} + a^{-4} = a^4 + 2 + a^{-4}.\]Thus, $\boxed{194} = a^4 + a^{-4}.$
entailment
Compute the integer $k > 2$ for which \[\log_{10} (k - 2)! + \log_{10} (k - 1)! + 2 = 2 \log_{10} k!.\]
We can write the given equation as \[\log_{10} (k - 2)! + \log_{10} (k - 1)! + \log_{10} 100 = \log_{10} (k!)^2.\]Then \[\log_{10} [100 (k - 2)! (k - 1)!] = \log_{10} (k!)^2,\]so $100 (k - 2)! (k - 1)! = (k!)^2.$ Then \[100 = \frac{k! \cdot k!}{(k - 2)! (k - 1)!} = k(k - 1) \cdot k = k^3 - k^2.\]So, $k^3 - k^2 - 100 = 0,$ which factors as $(k - 5)(k^4 + 4k + 20) = 0.$ The quadratic factor has no integer roots, so $k = \boxed{5}.$
entailment
Let $a$ and $b$ be relatively prime positive integers such that $\dfrac ab=\dfrac1{2^1}+\dfrac2{3^2}+\dfrac3{2^3}+\dfrac4{3^4}+\dfrac5{2^5}+\dfrac6{3^6}+\cdots$, where the numerators always increase by $1$, and the denominators alternate between powers of $2$ and $3$, with exponents also increasing by $1$ for each subsequent term. Compute $a+b$.
The sum can be split into two groups of numbers that we want to add: $\tfrac12 + \tfrac{3}{2^3} + \tfrac{5}{2^5} \cdots$ and $\tfrac{2}{3^2} + \tfrac{4}{3^4} + \tfrac{6}{3^6} \cdots$ Let $X$ be the sum of the first sequence, so we have\begin{align*} X &= \frac12 + \frac{3}{2^3} + \frac{5}{2^5} \cdots \\ \frac{X}{4} &= 0 + \frac{1}{2^3} + \frac{3}{2^5} \cdots \\ \frac{3}{4}X &= \frac12 + \frac{2}{2^3} + \frac{2}{2^5} \cdots \\ \frac{3}{4}X &= \frac12 + \frac{\tfrac14}{\tfrac34} \\ \frac{3}{4}X &= \frac56 \\ X &= \frac{10}{9} \end{align*} Let $Y$ be the sum of the second sequence, so we have\begin{align*} Y &= \frac{2}{3^2} + \frac{4}{3^4} + \frac{6}{3^6} \cdots \\ \frac{1}{9}Y &= 0 + \frac{2}{3^4} + \frac{4}{3^6} \cdots \\ \frac{8}{9}Y &= \frac{2}{3^2} + \frac{2}{3^4} + \frac{2}{3^6} \cdots \\ \frac{8}{9}Y &= \frac{\frac29}{\frac89} \\ Y &= \frac14 \cdot \frac98 \\ &= \frac{9}{32} \end{align*}That means $\tfrac{a}{b} = \tfrac{10}{9} + \tfrac{9}{32} = \tfrac{401}{288},$ so $a+b = \boxed{689}.$
entailment
Let $a$ and $b$ be nonzero complex numbers such that $a^2 + ab + b^2 = 0.$ Evaluate \[\frac{a^9 + b^9}{(a + b)^9}.\]
Since $a^2 + ab + b^2 = 0,$ $(a - b)(a^2 + ab + b^2) = 0.$ This simplifies to $a^3 - b^3 = 0,$ so $a^3 = b^3.$ Then $b^9 = a^9.$ Also, \[(a + b)^2 = a^2 + 2ab + b^2 = (a^2 + ab + b^2) + ab = ab,\]so \[(a + b)^3 = ab(a + b) = a(ab + b^2) = a(-a^2) = -a^3.\]Then $(a + b)^9 = (-a^3)^3 = -a^9,$ so \[\frac{a^9 + b^9}{(a + b)^9} = \frac{2a^9}{-a^9} = \boxed{-2}.\]
entailment
The polynomial $x^3 - 2004 x^2 + mx + n$ has integer coefficients and three distinct positive zeros. Exactly one of these is an integer, and it is the sum of the other two. How many values of $n$ are possible?
Let $a$ denote the zero that is an integer. Because the coefficient of $x^3$ is 1, there can be no other rational zeros, so the two other zeros must be $\frac{a}{2} \pm r$ for some irrational number $r$. The polynomial is then \[(x-a) \left( x - \frac{a}{2} - r \right) \left( x - \frac{a}{2} + r \right) = x^3 - 2ax^2 + \left( \frac{5}{4}a^2 - r^2 \right) x - a \left( \frac{1}{4}a^2 - r^2 \right).\]Therefore $a=1002$ and the polynomial is \[x^3 - 2004 x^2 + (5(501)^2 - r^2)x - 1002((501)^2-r^2).\]All coefficients are integers if and only if $r^2$ is an integer, and the zeros are positive and distinct if and only if $1 \leq r^2 \leq 501^2 - 1 = 251000$. Because $r$ cannot be an integer, there are $251000 - 500 = \boxed{250500}$ possible values of $n$.
entailment
Find all values of the real number $a$ so that the four complex roots of \[z^4 - 6z^3 + 11az^2 - 3(2a^2 + 3a - 3) z + 1 = 0\]form the vertices of a parallelogram in the complex plane. Enter all the values, separated by commas.
By Vieta's formulas, the average of the sum of the roots is $\frac{6}{4} = \frac{3}{2},$ which corresponds to the center of the parallelogram. So, to shift the center of the parallelogram to the origin, let $w = z - \frac{3}{2}.$ Then $z = w + \frac{3}{2},$ so \[\left( w + \frac{3}{2} \right)^4 - 6 \left( w + \frac{3}{2} \right)^3 + 11a \left( w + \frac{3}{2} \right)^2 - 3(2a^2 + 3a - 3) \left( w + \frac{3}{2} \right) + 1 = 0.\]Hence, \[(2w + 3)^4 - 2 \cdot 6 (2w + 3)^3 + 4 \cdot 11a (2w + 3)^2 - 8 \cdot 3(2a^2 + 3a - 3)(2w + 3) + 16 = 0.\]Expanding, we get \[16w^4 + (176a - 216) w^2 + (-96a^2 + 384a - 288) w - 144a^2 + 180a - 11 = 0.\]The roots of this equation will form a parallelogram centered at the origin, which means they are of the form $w_1,$ $-w_1,$ $w_2,$ $-w_2.$ Thus, we can also write the equation as \[(w - w_1)(w + w_1)(w - w_2)(w + w_2) = (w^2 - w_1^2)(w^2 - w_2^2) = 0.\]Note that the coefficient of $w$ will be 0, so \[-96a^2 + 384a - 288 = 0.\]This equation factors as $-96(a - 1)(a - 3) = 0,$ so $a = 1$ or $a = 3.$ For $a = 1,$ the equation becomes \[16w^4 - 40w^2 + 25 = (4w^2 - 5)^2 = 0,\]which has two double roots. For $a = 3,$ the given equation becomes \[w^4 + 312w^2 - 767 = 0.\]The roots of $x^2 + 312x - 767 = 0$ are real, and one is positive and the other is negative. This mean that two of the roots of $w^4 + 312w^2 - 767 = 0$ are real (and negatives of each other), and the other two are imaginary (and negatives of each other), so they form a parallelogram. Thus, the only such value of $a$ is $\boxed{3}.$
entailment
Find a monic polynomial of degree $4,$ in $x,$ with rational coefficients such that $\sqrt{2} +\sqrt{3}$ is a root of the polynomial.
We start by constructing a quadratic polynomial with $\sqrt{2} +\sqrt{3}$ and $\sqrt{2} - \sqrt{3}$ as roots. The sum of the roots is $\sqrt{2} +\sqrt{3}+\sqrt{2} -\sqrt{3}=2\sqrt{2}.$ The product of the roots is $(\sqrt{2} +\sqrt{3})(\sqrt{2} -\sqrt{3})=2-3=-1.$ Thus a quadratic with the roots $\sqrt{2} +\sqrt{3}$ and $\sqrt{2} -\sqrt{3}$ is $$x^2-2\sqrt{2}x-1.$$Next, we want to get rid of the irrational coefficients. We can write $x^2-2\sqrt{2}x-1$ as $x^2-1-2\sqrt{2}x$. Then, multiplying by $x^2-1+2\sqrt{2}x$ gives us $$(x^2-1-2\sqrt{2}x)(x^2-1+2\sqrt{2}x)=(x^2-1)^2-(2\sqrt{2}x)^2=\boxed{x^4-10x^2+1}$$which is a monic polynomial of degree $4$ with rational coefficients that has $\sqrt{2} +\sqrt{3}$ as a root.
entailment
The legs of a right triangle have lengths $\log_4 27$ and $\log_2 9.$ If the length of the hypotenuse is $h,$ compute $4^h.$
Let $t = \log_4 3.$ Then, $\log_4 27 = 3 \log_4 3 = 3t,$ and $\log_2 9 = \frac{\log_4 9}{\log_4 2} = \frac{2 \log_4 3}{1/2} = 4t.$ Therefore the triangle has its sides in the proportion $3:4:5,$ so $h = 5t = 5 \log_4 3 = \log_4 243.$ Thus, $4^h = \boxed{243}.$
entailment
Let $a$ and $b$ be positive real numbers such that $a + 2b = 1.$ Find the minimum value of \[\frac{1}{a} + \frac{2}{b}.\]
By AM-HM, \[\frac{a + b + b}{3} \ge \frac{3}{\frac{1}{a} + \frac{1}{b} + \frac{1}{b}},\]so \[\frac{1}{a} + \frac{2}{b} \ge \frac{9}{a + 2b} = 9.\]Equality occurs when $a = b = \frac{1}{3},$ so the minimum value is $\boxed{9}.$
entailment
Find the focus of the parabola $y = 4x^2 - 3.$
Recall that a parabola is defined as the set of all points that are equidistant to the focus $F$ and the directrix. To make the algebra a bit easier, we can find the focus of the parabola $y = 4x^2,$ and then shift it downward 3 units to find the focus of the parabola $y = 4x^2 - 3.$ Since the parabola $y = 4x^2$ is symmetric about the $y$-axis, the focus is at a point of the form $(0,f).$ Let $y = d$ be the equation of the directrix. [asy] unitsize(1.5 cm); pair F, P, Q; F = (0,1/4); P = (1,1); Q = (1,-1/4); real parab (real x) { return(x^2); } draw(graph(parab,-1.5,1.5),red); draw((-1.5,-1/4)--(1.5,-1/4),dashed); draw(P--F); draw(P--Q); dot("$F$", F, NW); dot("$P$", P, E); dot("$Q$", Q, S); [/asy] Let $(x,4x^2)$ be a point on the parabola $y = 4x^2.$ Then \[PF^2 = x^2 + (4x^2 - f)^2\]and $PQ^2 = (4x^2 - d)^2.$ Thus, \[x^2 + (4x^2 - f)^2 = (4x^2 - d)^2.\]Expanding, we get \[x^2 + 16x^4 - 8fx^2 + f^2 = 16x^4 - 8dx^2 + d^2.\]Matching coefficients, we get \begin{align*} 1 - 8f &= -8d, \\ f^2 &= d^2. \end{align*}From the first equation, $f - d = \frac{1}{8}.$ Since $f^2 = d^2,$ $f = d$ or $f = -d.$ We cannot have $f = d,$ so $f = -d.$ Then $2f = \frac{1}{8},$ so $f = \frac{1}{16}.$ Thus, the focus of $y = 4x^2$ is $\left( 0, \frac{1}{16} \right),$ so the focus of $y = 4x^2 - 3$ is $\boxed{\left( 0, -\frac{47}{16} \right)}.$
entailment
For which value of $x$ does the function $f(x) = \frac{2x^2 - 5x - 7}{x^2 - 4x + 1}$ cross its horizontal asymptote?
The horizontal asymptote of $f$ is the horizontal line that $f$ approaches as $x \to \pm \infty$. When the leading terms of the numerator and denominator have the same degree, that line is at the value equal to the ratio of the leading coefficients, namely $y = 2/1 = 2$. Setting this equal to $f(x)$, $$f(x) = 2 = \frac{2x^2 - 5x - 7}{x^2 - 4x + 1}.$$Clearing the denominator, $$2(x^2 - 4x + 1) = 2x^2 - 8x + 2 = 2x^2 - 5x - 7 \Longrightarrow 3x = 9 \Longrightarrow x = \boxed{3}.$$
entailment
In Pascal's Triangle, each entry is the sum of the two entries above it. In which row of Pascal's Triangle do three consecutive entries occur that are in the ratio $3: 4: 5$? (The top row of Pascal's Triangle has only a single $1$ and is the $0$th row.)
Let the three entries be $\binom{n}{r},$ $\binom{n}{r+1},$ and $\binom{n}{r+2},$ respectively. Then we have \[\frac{\binom{n}{r}}{\binom{n}{r+1}} = \frac{3}{4} \quad \text{and} \quad \frac{\binom{n}{r+1}}{\binom{n}{r+2}} = \frac{4}{5}.\]We simplify the left-hand side of the first equation: \[\frac{\binom{n}{r}}{\binom{n}{r+1}} = \frac{\frac{n!}{r!(n-r)!}}{\frac{n!}{(r+1)!)(n-r-1)!}} = \frac{n!}{r!(n-r)!} \cdot \frac{(r+1)!(n-r-1)!}{n!} = \frac{r+1}{n-r}.\]Therefore, $\frac{r+1}{n-r} = \frac{3}{4}.$ Similarly, the second equation becomes $\frac{r+2}{n-r-1} = \frac{4}{5}.$ Cross-multiplying in both equations, we have \[4r+4 = 3n-3r \quad \text{and} \quad 5r+10 = 4n-4r-4.\]Solving for $r$ in the first equation gives $r = \frac{3n-4}{7},$ and then we have \[9\left(\frac{3n-4}{7}\right) + 14 = 4n,\]and solving for $n$ gives $n = \boxed{62}.$
entailment
Find the remainder when $6x^4-14x^3-4x^2+2x-26$ is divided by $2x - 6.$
Since $2x - 6 = 2(x - 3),$ by the Remainder Theorem, we can find the remainder by setting $x = 3.$ Thus, the remainder is \[6 \cdot 3^4 - 14 \cdot 3^3 - 4 \cdot 3^2 + 2 \cdot 3 - 26 = \boxed{52}.\]
entailment