problem
stringlengths
16
4.31k
answer
stringlengths
29
6.77k
For what values of the constant $c$ does the graph of $f(x) = \frac{x^2-x+c}{x^2+x-6}$ have exactly one vertical asymptote? Enter the possible values of $c,$ separated by commas.
We can factor the denominator to get $f(x) = \frac{x^2-x+c}{(x-2)(x+3)}$. Hence, the graph of $f(x)$ has vertical asymptotes at $x=2$ and $x=-3$, unless there is a factor of $x-2$ or $x+3$ in the numerator that cancels out the corresponding factor in the denominator (in this case there will be a hole at that point rather than an asymptote). By the Factor theorem, if $x^2-x+c$ has a factor of $x-2$, we must have $2^2-2+c=0$ which gives us $c=-2$. Similarly, if $x^2-x+c$ has a factor of $x+3$, we must have $3^2+3+c=0$ which gives us $c=-12$. Therefore, in order to have exactly one asymptote, we need $c = \boxed{-2 \text{ or } -12}$.
Find the product of the nonreal roots of $x^4-4x^3+6x^2-4x=2005.$
We recognize part of the expansion of $(x-1)^4$ on the left-hand side. Adding $1$ to both sides, we have \[x^4-4x^3+6x^2-4x+1=2006,\]which means $(x-1)^4 = 2006.$ Therefore, \[x-1 = \sqrt[4]{2006}, i\sqrt[4]{2006}, -\sqrt[4]{2006}, -i\sqrt[4]{2006}.\]Since we want the nonreal roots, we only consider the roots \[ x = 1 \pm i\sqrt[4]{2006}.\]The product of these roots is \[P = (1 + i\sqrt[4]{2006})(1 - i\sqrt[4]{2006}) = \boxed{1 +\sqrt{2006}}.\]
The function $f$ is defined on positive integers as follows: \[f(n) = \left\{ \begin{array}{cl} n + 10 & \text{if $n < 10$}, \\ f(n - 5) & \text{if $n \ge 10$}. \end{array} \right.\]Find the maximum value of the function.
We see that $f(n) = n + 10$ for $n = 1,$ 2, 3, $\dots,$ 9. Then \begin{align*} f(10) &= f(5) = 15, \\ f(11) &= f(6) = 16, \\ f(12) &= f(7) = 17, \\ f(13) &= f(8) = 18, \\ f(14) &= f(9) = 19, \\ f(15) &= f(10) = 15, \end{align*}and so on. At this point, the function becomes periodic, with period 5. Therefore, the maximum value of the function is $\boxed{19}.$
Factor completely over the set of polynomials with integer coefficients: \[4(x + 5)(x + 6)(x + 10)(x + 12) - 3x^2.\]
First, we can multiply the factors $x + 5$ and $x + 12$ to get \[(x + 5)(x + 12) = x^2 + 17x + 60.\]We can then multiply the factors $x + 6$ and $x + 10$ to get \[(x + 6)(x + 10) = x^2 + 16x + 60.\]So, let $u = x^2 + 16x + 60.$ Then \begin{align*} 4(x + 5)(x + 6)(x + 10)(x + 12) - 3x^2 &= 4(u + x)(u) - 3x^2 \\ &= 4u^2 + 4ux - 3x^2 \\ &= (2u + 3x)(2u - x) \\ &= (2(x^2 + 16x + 60) + 3x)(2(x^2 + 16x + 60) - x) \\ &= (2x^2 + 35x + 120)(2x^2 + 31x + 120) \\ &= \boxed{(2x^2 + 35x + 120)(x + 8)(2x + 15)}. \end{align*}
The numbers $a,$ $b,$ $c,$ $d$ are equal to 1, 2, 3, 4, in some order. Find the largest possible value of \[ab + bc + cd + da.\]
We can factor $ab + bc + cd + da$ as $(a + c)(b + d).$ Then by AM-GM, \[(a + c)(b + d) \le \frac{[(a + c) + (b + d)]^2}{4} = \frac{10^2}{4} = 25.\]Equality occurs when $a = 1,$ $b = 2,$ $c = 4,$ and $d = 3,$ so the largest possible value is $\boxed{25}.$
Let $F_n$ be the Fibonacci sequence, that is, $F_0 = 0$, $F_1 = 1$, and $F_{n+2} = F_{n+1} + F_n$. Compute \[\sum_{n=0}^{\infty} \frac{F_n}{10^n}.\]
Let $S = \sum_{n = 0}^\infty \frac{F_n}{10^n}.$ Then \begin{align*} S &= F_0 + \frac{F_1}{10} + \frac{F_2}{10^2} + \frac{F_3}{10^3} + \dotsb \\ &= \frac{F_0 + 1}{10} + \frac{F_1 + F_0}{10^2} + \frac{F_2 + F_1}{10^3} + \dotsb \\ &= \frac{1}{10} + \frac{F_0}{10} + \frac{F_1}{10^2} + \frac{F_2}{10^3} + \dotsb + \frac{F_0}{10^2} + \frac{F_1}{10^3} + \dotsb \\ &= \frac{1}{10} + \frac{1}{10} S + \frac{1}{10^2} S. \end{align*}Solving, we find $S = \boxed{\frac{10}{89}}.$
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}.$
Evaluate \[\sum_{m = 1}^\infty \sum_{n = 1}^\infty \frac{1}{mn(m + n + 1)}.\]
By partial fractions, \[\frac{1}{m(m + n + 1)} = \frac{1}{n + 1} \left( \frac{1}{m} - \frac{1}{m + n + 1} \right).\]Thus, \begin{align*} \sum_{m = 1}^\infty \frac{1}{m(m + n + 1)} &= \sum_{m = 1}^\infty \frac{1}{n + 1} \left( \frac{1}{m} - \frac{1}{m + n + 1} \right) \\ &= \frac{1}{n + 1} \left( 1 - \frac{1}{n + 2} \right) + \frac{1}{n + 1} \left( \frac{1}{2} - \frac{1}{n + 3} \right) \\ &\quad + \frac{1}{n + 1} \left( \frac{1}{3} - \frac{1}{n + 4} \right) + \frac{1}{n + 1} \left( \frac{1}{4} - \frac{1}{n + 5} \right) + \dotsb \\ &= \frac{1}{n + 1} \left( 1 + \frac{1}{2} + \frac{1}{3} + \dots + \frac{1}{n + 1} \right). \end{align*}Therefore, \begin{align*} \sum_{m = 1}^\infty \sum_{n = 1}^\infty \frac{1}{mn(m + n + 1)} &= \sum_{n = 1}^\infty \frac{1}{n(n + 1)} \left( 1 + \frac{1}{2} + \frac{1}{3} + \dots + \frac{1}{n + 1} \right) \\ &= \sum_{n = 1}^\infty \frac{1}{n(n + 1)} \sum_{k = 1}^{n + 1} \frac{1}{k} \\ &= \sum_{n = 1}^\infty \sum_{k = 1}^{n + 1} \frac{1}{kn(n + 1)} \\ &= \sum_{n = 1}^\infty \left( \frac{1}{n(n + 1)} + \sum_{k = 2}^{n + 1} \frac{1}{kn(n + 1)} \right) \\ &= \sum_{n = 1}^\infty \frac{1}{n(n + 1)} + \sum_{n = 1}^\infty \sum_{k = 2}^{n + 1} \frac{1}{kn(n + 1)}. \end{align*}The first sum telescopes as \[\sum_{n = 1}^\infty \left( \frac{1}{n} - \frac{1}{n + 1} \right) = 1.\]For the second sum, we are summing over all positive integers $k$ and $n$ such that $2 \le k \le n + 1.$ In other words, we sum over $k \ge 2$ and $n \ge k - 1,$ which gives us \begin{align*} \sum_{k = 2}^\infty \sum_{n = k - 1}^\infty \frac{1}{kn(n + 1)} &= \sum_{k = 2}^\infty \frac{1}{k} \sum_{n = k - 1}^\infty \frac{1}{n(n + 1)} \\ &= \sum_{k = 2}^\infty \frac{1}{k} \sum_{n = k - 1}^\infty \left( \frac{1}{n} - \frac{1}{n + 1} \right) \\ &= \sum_{k = 2}^\infty \frac{1}{k} \cdot \frac{1}{k - 1} \\ &= \sum_{k = 2}^\infty \left( \frac{1}{k - 1} - \frac{1}{k} \right) \\ &= 1. \end{align*}Therefore, \[\sum_{m = 1}^\infty \sum_{n = 1}^\infty \frac{1}{mn(m + n + 1)} = \boxed{2}.\]
Let $f(x) = x^2 + ax + b$ and $g(x) = x^2 + cx + d$ be two distinct polynomials with real coefficients such that the $x$-coordinate of the vertex of $f$ is a root of $g,$ and the $x$-coordinate of the vertex of $g$ is a root of $f,$ and both $f$ and $g$ have the same minimum value. If the graphs of the two polynomials intersect at the point $(100,-100),$ what is the value of $a + c$?
By symmetry, the line $x = 100$ must be equidistant to both vertices of the parabolas. Furthermore, the $x$-coordinate of the vertex of $f$ is $-\frac{a}{2},$ and the $x$-coordinate of the vertex of $g$ is $-\frac{c}{2}.$ [asy] unitsize(2 cm); real parabone (real x) { return (x^2 - 1); } real parabtwo (real x) { return ((x - 1)^2 - 1); } draw((-1.2,0)--(2.2,0)); draw(graph(parabone,-1.2,1.2),red); draw(graph(parabtwo,-0.2,2.2),blue); draw((0,0)--(0,-1),dashed); draw((1,0)--(1,-1),dashed); label("$y = f(x)$", (-1.2,parabone(1.2)), N, red); label("$y = g(x)$", (2.2,parabtwo(2.2)), N, blue); dot((0,0)); dot((0,-1)); dot((1,0)); dot((1,-1)); [/asy] Therefore, \[\frac{-\frac{a}{2} - \frac{c}{2}}{2} = 100,\]which implies $a + c = \boxed{-400}.$
A polynomial with integer coefficients is of the form \[x^3 + a_2 x^2 + a_1 x - 11 = 0.\]Enter all the possible integer roots of this polynomial, separated by commas.
By the Integer Root Theorem, the possible integer roots are all the divisors of 11 (including negative divisors), so they are $\boxed{-11, -1, 1, 11}.$
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}.$
There exists a complex number of the form $z = x + yi,$ where $x$ and $y$ are positive integers, such that \[z^3 = -74 + ci,\]for some integer $c.$ Find $z.$
Cubing the equation $z = x + yi,$ we get \begin{align*} z^3 &= (x + yi)^3 \\ &= x^3 + 3x^2 yi + 3xy^2 i^2 + y^3 i^3 \\ &= x^3 + 3x^2 yi - 3xy^2 - y^3 i \\ &= (x^3 - 3xy^2) + (3x^2 y - y^3)i. \end{align*}Hence, $x^3 - 3xy^2 = -74.$ We then have \[x(x^2 - 3y^2) = -74.\]Thus, $x$ must be a divisor of 74, which means $x$ must be 1, 2, 37, or 74. Checking these values, we find that the equation $x(x^2 - 3y^2) = -74$ has an integer solution in $y$ only when $x = 1,$ and that integer solution is $y = 5.$ Therefore, $z = \boxed{1 + 5i}.$
Given that $-4\leq x\leq-2$ and $2\leq y\leq4$, what is the largest possible value of $\frac{x+y}{x}$?
We can write \[\frac{x + y}{x} = 1 + \frac{y}{x}.\]Note that $x$ is always negative and $y$ is always positive. Thus, to maximize $\frac{y}{x},$ we should take the smallest value of $x$ and the smallest value of $y,$ which gives us \[1 + \frac{2}{-4} = 1 - \frac{1}{2} = \boxed{\frac{1}{2}}.\]
The expression \[a^3 (b^2 - c^2) + b^3 (c^2 - a^2) + c^3 (a^2 - b^2)\]can be factored into the form $(a - b)(b - c)(c - a) p(a,b,c),$ for some polynomial $p(a,b,c).$ Find $p(a,b,c).$
First, we take out a factor of $a - b$: \begin{align*} a^3 (b^2 - c^2) + b^3 (c^2 - a^2) + c^3 (a^2 - b^2) &= a^3 b^2 - a^2 b^3 + b^3 c^2 - a^3 c^2 + c^3 (a + b)(a - b) \\ &= a^2 b^2 (a - b) + (b^3 - a^3) c^2 + c^3 (a + b)(a - b) \\ &= (a - b)[a^2 b^2 - (a^2 + ab + b^2) c^2 + c^3 (a + b)] \\ &= (a - b)(a^2 b^2 - a^2 c^2 - abc^2 - b^2 c^2 + ac^3 + bc^3). \end{align*}We can then take out a factor of $b - c$: \begin{align*} a^2 b^2 - a^2 c^2 - abc^2 - b^2 c^2 + ac^3 + bc^3 &= a^2 (b^2 - c^2) + ac^3 - abc^2 + bc^3 - b^2 c^2 \\ &= a^2 (b^2 - c^2) + ac^2 (c - b) + bc^2 (c - b) \\ &= a^2 (b - c)(b + c) + ac^2 (c - b) + bc^2 (c - b) \\ &= (b - c)[a^2 (b + c) - ac^2 - bc^2] \\ &= (b - c)(a^2 b + a^2 c - ac^2 - bc^2). \end{align*}Finally, we take out a factor of $c - a$: \begin{align*} a^2 b + a^2 c - ac^2 - bc^2 &= a^2 b - bc^2 + a^2 c - ac^2 \\ &= b (a^2 - c^2) + ac(a - c) \\ &= b (a - c)(a + c) + ac(a - c) \\ &= -(c - a)(ab + ac + bc). \end{align*}Thus, $p(a,b,c) = \boxed{-(ab + ac + bc)}.$
Compute $(1 + i)^4.$
We have that \[(1 + i)^2 = 1 + 2i + i^2 = 1 + 2i - 1 = 2i,\]so $(1 + i)^4 = (2i)^2 = 4i^2 = \boxed{-4}.$
Suppose that a parabola has vertex $\left(\frac{1}{4},-\frac{9}{8}\right)$ and equation $y = ax^2 + bx + c$, where $a > 0$ and $a + b + c$ is an integer. Find the smallest possible value of $a.$
Since the vertex is at $\left(\frac{1}{4}, -\frac{9}{8}\right)$, the equation of the parabola can be expressed in the form \[y=a\left(x-\frac{1}{4}\right)^2-\frac{9}{8}.\]Expanding, we find that \[y=a\left(x^2-\frac{x}{2}+\frac{1}{16}\right)-\frac{9}{8} =ax^2-\frac{ax}{2}+\frac{a}{16}-\frac{9}{8}.\]From the problem, we know that the parabola can be expressed in the form $y=ax^2+bx+c$, where $a+b+c$ is an integer. From the above equation, we can conclude that $a=a$, $b = -\frac{a}{2}$, and $c = \frac{a}{16}-\frac{9}{8}$. Adding up all of these gives us \[a + b + c = \frac{9a-18}{16} = \frac{9(a - 2)}{16}.\]Let $n = a + b + c.$ Then $\frac{9(a - 2)}{16} = n,$ so \[a = \frac{16n + 18}{9}.\]For $a$ to be positive, we must have $16n + 18 > 0,$ or $n > -\frac{9}{8}.$ Setting $n = -1,$ we get $a = \frac{2}{9}.$ Thus, the smallest possible value of $a$ is $\boxed{\frac{2}{9}}.$
The equations of the asymptotes of a hyperbola are $y = 2x+5$ and $y = -2x+1.$ Given that the hyperbola passes through the point $(0, 7),$ the standard form for the equation of the hyperbola is \[\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1,\]where $a,$ $b$, $h,$ and $k$ are constants with $a, b > 0.$ Find $a + h.$
Solving the system $y=2x+5$ and $y=-2x+1,$ we get $(x, y) = (-1, 3).$ Therefore, the asymptotes of the hyperbola intersect at $(-1, 3),$ which must be the center of the hyperbola. Therefore, $(h, k) = (-1, 3),$ so the equation of the hyperbola is \[\frac{(y-3)^2}{a^2} - \frac{(x+1)^2}{b^2} = 1\]for some $a$ and $b.$ The equations of the asymptotes are therefore \[\frac{y-3}{a} = \pm \frac{x+1}{b},\]or \[y = 3 \pm \frac{a}{b} (x+1).\]Therefore, the slopes of the asymptotes are $\pm \frac{a}{b}.$ Because $a$ and $b$ are positive, we must have $\frac{a}{b} = 2,$ so $a = 2b.$ Therefore, the equation of the hyperbola is \[\frac{(y-3)^2}{4b^2} - \frac{(x+1)^2}{b^2} = 1.\]To find $b,$ we use the fact that the hyperbola passes through $(0, 7).$ Setting $x=0$ and $y=7$ gives the equation \[\frac{(7-3)^2}{4b^2} - \frac{(0+1)^2}{b^2} = 1,\]or $\frac{3}{b^2} = 1.$ Thus, $b = \sqrt{3},$ and so $a = 2b = 2\sqrt{3}.$ Hence the equation of the hyperbola is \[\frac{(y-3)^2}{12} - \frac{(x+1)^2}{3} = 1,\]and $a+h = \boxed{2\sqrt{3}-1}.$ [asy] void axes(real x0, real x1, real y0, real y1) { draw((x0,0)--(x1,0),EndArrow); draw((0,y0)--(0,y1),EndArrow); label("$x$",(x1,0),E); label("$y$",(0,y1),N); for (int i=floor(x0)+1; i<x1; ++i) draw((i,.1)--(i,-.1)); for (int i=floor(y0)+1; i<y1; ++i) draw((.1,i)--(-.1,i)); } path[] yh(real a, real b, real h, real k, real x0, real x1, bool upper=true, bool lower=true, pen color=black) { real f(real x) { return k + a / b * sqrt(b^2 + (x-h)^2); } real g(real x) { return k - a / b * sqrt(b^2 + (x-h)^2); } if (upper) { draw(graph(f, x0, x1),color, Arrows); } if (lower) { draw(graph(g, x0, x1),color, Arrows); } path [] arr = {graph(f, x0, x1), graph(g, x0, x1)}; return arr; } void xh(real a, real b, real h, real k, real y0, real y1, bool right=true, bool left=true, pen color=black) { path [] arr = yh(a, b, k, h, y0, y1, false, false); if (right) draw(reflect((0,0),(1,1))*arr[0],color, Arrows); if (left) draw(reflect((0,0),(1,1))*arr[1],color, Arrows); } void e(real a, real b, real h, real k) { draw(shift((h,k))*scale(a,b)*unitcircle); } size(8cm); axes(-8,8, -6, 12); yh(2*sqrt(3),sqrt(3),-1,3,-5,3); dot((0,7)); dot((-1,3)); real f(real x) { return 2*x+5; } real g(real x) { return -2*x+1; } draw(graph(f, -5, 3) ^^ graph(g, -5, 3),dotted); [/asy]
One of the asymptotes of a hyperbola has equation $y=3x.$ The foci of the hyperbola have the same $x-$coordinate, which is $5.$ Find the equation of the other asymptote of the hyperbola, giving your answer in the form "$y = mx + b$".
Because the foci both lie on the line $x=5$ and the center of the hyperbola is the midpoint of the segment connecting the foci, the center must also lie on the line $x=5.$ However, we also know that the asymptotes of the hyperbola intersect at the center. Therefore, the center of the hyperbola lies on both the line $x=5$ and the line $y=3x,$ so its coordinates are $(5, 15).$ Because the hyperbola has a horizontal axis, the other asymptote must have slope $-3.$ Therefore, we can write a point-slope equation for the other asymptote: \[y - 15 = -3(x - 5),\]which is equivalent to $\boxed{y = -3x + 30}.$
Find all real numbers $a$ such that the equation \[x^3 - ax^2 - 2ax + a^2 - 1 = 0\]has exactly one real solution in $x.$
Writing the equation as a quadratic in $a,$ we get \[a^2 - (x^2 + 2x) a + (x^3 - 1) = a^2 - (x^2 + 2x) a + (x - 1)(x^2 + x + 1) = 0.\]We can then factor this as \[(a - (x - 1))(a - (x^2 + x + 1)) = 0.\]So, one root in $x$ is $x = a + 1.$ We want the values of $a$ so that \[x^2 + x + 1 - a = 0\]has no real root. In other words, we want the discriminant to be negative. This gives us $1 - 4(1 - a) < 0,$ or $a < \frac{3}{4}.$ Thus, the solution is $a \in \boxed{\left( -\infty, \frac{3}{4} \right)}.$
What is the smallest possible value of the sum $\lvert x + 2\rvert + \lvert x + 4\rvert + \lvert x + 5\rvert$?
For $x \le -5,$ \[|x + 2| + |x + 4| + |x + 5| = -(x + 2) - (x + 4) - (x + 5) = -3x - 11.\]For $-5 \le x \le -4,$ \[|x + 2| + |x + 4| + |x + 5| = -(x + 2) - (x + 4) + (x + 5) = -x - 1.\]For $-4 \le x \le -2,$ \[|x + 2| + |x + 4| + |x + 5| = -(x + 2) + (x + 4) + (x + 5) = x + 7.\]For $x \ge -2,$ \[|x + 2| + |x + 4| + |x + 5| = (x + 2) + (x + 4) + (x + 5) = 3x + 11.\]Thus, the function is decreasing on $(-\infty,4]$ and increasing on $[4,\infty),$ so the minimum value occurs at $x = -4,$ which is $\boxed{3}.$
Find all values of $z$ such that $z^4 - 4z^2 + 3 = 0$. Enter all the solutions, separated by commas.
If we let $y=z^2$, then our equation becomes a simple quadratic equation: $$y^2-4y+3=0.$$Indeed, this equation factors easily as $(y-3)(y-1)=0$, so either $y-3=0$ or $y-1=0$. We now explore both possibilities. If $y-3=0$, then $y=3$, so $z^2=3$, so $z=\pm\sqrt 3$. If $y-1=0$, then $y=1$, so $z^2=1$, so $z=\pm 1$. Thus we have four solutions to the original equation: $z=\boxed{-\sqrt{3},-1,1,\sqrt{3}}$.
Let $a_0 = 2,$ $b_0 = 3,$ and \[a_{n + 1} = \frac{a_n^2}{b_n} \quad \text{and} \quad b_{n + 1} = \frac{b_n^2}{a_n}\]for all $n \ge 0.$ Then $b_8 = \frac{3^m}{2^n}$ for some integers $m$ and $n.$ Enter the ordered pair $(m,n).$
We re-write the given recursion as \[a_n = \frac{a_{n - 1}^2}{b_{n - 1}}, \quad b_n = \frac{b_{n - 1}^2}{a_{n - 1}}.\]Then \[a_n b_n = \frac{a_{n - 1}^2}{b_n} \cdot \frac{b_{n - 1}^2}{a_n} = a_{n - 1} b_{n - 1}.\]Solving for $a_{n - 1}$ in $b_n = \frac{b_{n - 1}^2}{a_{n - 1}},$ we find $a_{n - 1} = \frac{b_{n - 1}^2}{b_n}.$ Then $a_n = \frac{b_n^2}{b_{n + 1}}.$ Substituting into the equation above, we get \[\frac{b_n^2}{b_{n - 1}} \cdot b_n = \frac{b_{n - 1}^2}{b_{n + 1}} \cdot b_{n - 1}.\]Isolating $b_{n + 1},$ we find \[b_{n + 1} = \frac{b_{n - 1}^4}{b_n^3}.\]We know that $b_0 = 3$ and $b_1 = \frac{b_0^2}{a_0} = \frac{9}{2}.$ Let \[b_n = \frac{3^{s_n}}{2^{t_n}}.\]Then $s_0 = 1,$ $s_1 = 2,$ $t_0 = 0,$ and $t_1 = 1.$ From the equation $b_{n + 1} = \frac{b_{n - 1}^4}{b_n^3},$ \[\frac{3^{s_{n + 1}}}{2^{t_{n + 1}}} = \frac{\left( \dfrac{3^{s_n}}{2^{t_n}} \right)^4}{\left( \dfrac{3^{s_{n - 1}}}{2^{t_{n - 1}}} \right)^3} = \frac{3^{4s_n - 3s_{n - 1}}}{2^{4t_n - 3t_{n - 1}}},\]so $s_{n + 1} = 4s_n - 3s_{n - 1}$ and $t_{n + 1} = 4t_n - 3t_{n - 1}.$ We can then use these equations to crank out the first few terms with a table: \[ \begin{array}{c|c|c} n & s_n & t_n \\ \hline 0 & 1 & 0 \\ 1 & 2 & 1 \\ 2 & 5 & 4 \\ 3 & 14 & 13 \\ 4 & 41 & 40 \\ 5 & 122 & 121 \\ 6 & 365 & 364 \\ 7 & 1094 & 1093 \\ 8 & 3281 & 3280 \end{array} \]Hence, $(m,n) = \boxed{(3281,3280)}.$
The graph of \[\sqrt{(x-1)^2+(y+2)^2} - \sqrt{(x-5)^2+(y+2)^2} = 3\]consists of one branch of a hyperbola. Compute the positive value for the slope of an asymptote of the hyperbola.
The given equation does not resemble the standard form for a hyperbola, so instead, we appeal to the geometric definition of a hyperbola. Notice that the first term on the left-hand side gives the distance between the points $P = (x, y)$ and $A = (1, -2)$ in the coordinate plane. Similarly, the second term on the left-hand side gives the distance between the points $P$ and $B=(5,-2).$ Therefore, the graph of the given equation consists of all points $P=(x,y)$ such that \[PA - PB = 3.\]Thus, by the definition of a hyperbola, the given graph consists of one branch of a hyperbola with foci $A$ and $B.$ The distance between the foci is $AB = 4,$ so the distance between each focus and the center is $c = \frac12 \cdot 4 = 2.$ Furthermore, if $a$ is the distance between each vertex and the center of the hyperbola, then we know that $2a = 3$ (since the general form of a hyperbola is $PF_1 - PF_2 = 2a$), so $a = \frac32.$ Then we have \[b = \sqrt{c^2-a^2} = \frac{\sqrt7}{2}.\]The foci $A$ and $B$ lie along a horizontal axis, so the slopes of the asymptotes are $\pm \frac{b}{a} = \pm \frac{\sqrt7}{3}.$ The answer is $\boxed{\frac{\sqrt7}{3}}.$[asy] void axes(real x0, real x1, real y0, real y1) { draw((x0,0)--(x1,0),EndArrow); draw((0,y0)--(0,y1),EndArrow); label("$x$",(x1,0),E); label("$y$",(0,y1),N); for (int i=floor(x0)+1; i<x1; ++i) draw((i,.1)--(i,-.1)); for (int i=floor(y0)+1; i<y1; ++i) draw((.1,i)--(-.1,i)); } path[] yh(real a, real b, real h, real k, real x0, real x1, bool upper=true, bool lower=true, pen color=black) { real f(real x) { return k + a / b * sqrt(b^2 + (x-h)^2); } real g(real x) { return k - a / b * sqrt(b^2 + (x-h)^2); } if (upper) { draw(graph(f, x0, x1),color, Arrows); } if (lower) { draw(graph(g, x0, x1),color, Arrows); } path [] arr = {graph(f, x0, x1), graph(g, x0, x1)}; return arr; } void xh(real a, real b, real h, real k, real y0, real y1, bool right=true, bool left=true, pen color=black) { path [] arr = yh(a, b, k, h, y0, y1, false, false); if (right) draw(reflect((0,0),(1,1))*arr[0],color, Arrows); if (left) draw(reflect((0,0),(1,1))*arr[1],color, Arrows); } void e(real a, real b, real h, real k) { draw(shift((h,k))*scale(a,b)*unitcircle); } size(8cm); axes(-2,8,-7,3); xh(3/2,sqrt(7)/2,3,-2,-5.8,1.8); dot((1,-2)^^(5,-2)); real f(real x) { return -2 + sqrt(7)/3*(x-3); } draw(graph(f, -1.4, 7.4),dotted); real g(real x) { return -2 - sqrt(7)/3*(x-3); } draw(graph(g, -1.4, 7.4),dotted); [/asy]
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)}.$
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}$.
Let $x,$ $y,$ $z$ be real numbers, all greater than 3, so that \[\frac{(x + 2)^2}{y + z - 2} + \frac{(y + 4)^2}{z + x - 4} + \frac{(z + 6)^2}{x + y - 6} = 36.\]Enter the ordered triple $(x,y,z).$
By Cauchy-Schwarz, \[(y + z - 2) + (z + x - 4) + (x + y - 6)] \left[ \frac{(x + 2)^2}{y + z - 2} + \frac{(y + 4)^2}{z + x - 4} + \frac{(z + 6)^2}{x + y - 6} \right] \ge [(x + 2) + (y + 4) + (z + 6)]^2.\]This simplifies to \[36(2x + 2y + 2z - 12) \ge (x + y + z + 12)^2.\]Let $s = x + y + z.$ Then $36(2s - 12) \ge (s + 12)^2.$ This simplifies to $s^2 - 48s + 576 \le 0,$ which then factors as $(s - 24)^2 \le 0.$ Hence, $s = 24.$ Thus, the inequality above turns into an equality, which means \[\frac{x + 2}{y + z - 2} = \frac{y + 4}{z + x - 4} = \frac{z + 6}{x + y - 6}.\]Since $x + y + z = 24,$ \[\frac{x + 2}{22 - x} = \frac{y + 4}{20 - y} = \frac{z + 6}{18 - z}.\]Each fraction must then be equal to \[\frac{(x + 2) + (y + 4) + (z + 6)}{(22 - x) + (20 - y) + (18 - z)} = \frac{x + y + z + 12}{60 - (x + y + z)} = 1.\]From here, it is easy to solve for $x,$ $y,$ and $z,$ to find $x = 10,$ $y = 8,$ and $z = 6.$ Hence, $(x,y,z) = \boxed{(10,8,6)}.$
Find the largest constant $C$ so that \[x^2 + y^2 + 1 \ge C(x + y)\]for all real numbers $x$ and $y.$
The given inequality expands as \[x^2 + y^2 + 1 \ge Cx + Cy.\]Completing the square in $x$ and $y,$ we get \[\left( x - \frac{C}{2} \right)^2 + \left( y - \frac{C}{2} \right)^2 + 1 - \frac{C^2}{2} \ge 0.\]This inequality holds for all $x$ and $y$ if and only if $1 - \frac{C^2}{2} \ge 0,$ or $C^2 \le 2.$ Thus, the largest possible value of $C$ is $\boxed{\sqrt{2}}.$
Let $a$ and $b$ be positive real numbers with $a\ge b$. Let $\rho$ be the maximum possible value of $\frac {a}{b}$ for which the system of equations $$ a^2 + y^2 = b^2 + x^2 = (a - x)^2 + (b - y)^2 $$has a solution in $(x,y)$ satisfying $0\le x < a$ and $0\le y < b$. Find $\rho^2.$
Expanding, we get \[b^2 + x^2 = a^2 - 2ax + x^2 + b^2 - 2by + y^2.\]Hence, \[a^2 + y^2 = 2ax + 2by.\]Note that \[2by > 2y^2 \ge y^2,\]so $2by - y^2 \ge 0.$ Since $2by - y^2 = a^2 - 2ax,$ $a^2 - 2ax \ge 0,$ or \[a^2 \ge 2ax.\]Since $a > 0,$ $a \ge 2x,$ so \[x \le \frac{a}{2}.\]Now, \[a^2 \le a^2 + y^2 = b^2 + x^2 \le b^2 + \frac{a^2}{4},\]so \[\frac{3}{4} a^2 \le b^2.\]Hence, \[\left( \frac{a}{b} \right)^2 \le \frac{4}{3}.\]Equality occurs when $a = 1,$ $b = \frac{\sqrt{3}}{2},$ $x = \frac{1}{2},$ and $y = 0,$ so $\rho^2 = \boxed{\frac{4}{3}}.$ Geometrically, the given conditions state that the points $(0,0),$ $(a,y),$ and $(x,b)$ form an equilateral triangle in the first quadrant. Accordingly, can you find a geometric solution? [asy] unitsize(3 cm); pair O, A, B; O = (0,0); A = dir(20); B = dir(80); draw((-0.2,0)--(1,0)); draw((0,-0.2)--(0,1)); draw(O--A--B--cycle); label("$(a,y)$", A, E); label("$(x,b)$", B, N); label("$(0,0)$", O, SW); [/asy]
What is the remainder when $3x^7-x^6-7x^5+2x^3+4x^2-11$ is divided by $2x-4$?
Since $2x - 4 = 2(x - 2),$ by the Remainder Theorem, we can find the remainder by setting $x = 2.$ Thus, the remainder is \[3 \cdot 2^7 - 2^6 - 7 \cdot 2^5 + 2 \cdot 2^3 + 4 \cdot 2^2 - 11 = \boxed{117}.\]
What is the quotient when $8x^3+16x^2-7x+4$ is divided by $2x+5$?
Using long division, \[ \begin{array}{c|cc cc} \multicolumn{2}{r}{4x^2} & -2x & +3/2 \\ \cline{2-5} 2x+5 & 8x^3 & +16x^2&-7x&+4 \\ \multicolumn{2}{r}{-8x^3} & -20x^2& \\ \cline{2-3} \multicolumn{2}{r}{0} & -4x^2& -7x\\ \multicolumn{2}{r}{} & +4x^2& +10x\\ \cline{3-4} \multicolumn{2}{r}{} & 0& +3x & +4\\ \multicolumn{2}{r}{} & & -3x & -15/2\\ \cline{4-5} \multicolumn{2}{r}{} & & & -7/2\\ \end{array} \]So the quotient is $\boxed{4x^2 -2x + \frac{3}{2}} $.
Two reals $a$ and $b$ are such that $a+b=7$ and $a^3+b^3=91$. Compute $ab$.
We have $91=a^3+b^3=(a+b)(a^2-ab+b^2)=(a+b)((a+b)^2-3ab)=7\cdot (49-3ab)$, from which $ab=\boxed{12}$.
Find all values of $x$ that satisfy \[5x - 1 < (x + 1)^2 < 7x - 3.\]
The left inequality becomes $5x - 1 < x^2 + 2x + 1,$ or \[x^2 - 3x + 2 > 0.\]This factors as $(x - 1)(x - 2) > 0,$ and the solution to $x \in (-\infty,1) \cup (2,\infty).$ The right inequality becomes $x^2 + 2x + 1 < 7x - 3,$ or \[x^2 - 5x + 4 < 0.\]This factors as $(x - 1)(x - 4) < 0,$ and the solution is $x \in (1,4).$ The intersection of $(-\infty,1) \cup (2,\infty)$ and $(1,4)$ is $\boxed{(2,4)}.$
Find all solutions to \[x^2 + 4x + 4x \sqrt{x + 3} = 13.\]Enter all the solutions, separated by commas.
We can write the given equation as \[x^2 + 4x \sqrt{x + 3} + 4(x + 3) = 25.\]Then \[(x + 2 \sqrt{x + 3})^2 = 25,\]so $x + 2 \sqrt{x + 3} = \pm 5.$ Then \[-x \pm 5 = 2 \sqrt{x + 3}.\]Squaring both sides, we get $x^2 \pm 10x + 25 = 4x + 12.$ In the $+$ case, we get \[x^2 + 6x + 13 = 0,\]which has no real solutions. In the $-$ case, we get \[x^2 - 14x + 13 = 0,\]which leads to the solutions 1 and 13. We check that only $\boxed{1}$ works.
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}.$$
Two of the roots of \[ax^3 + (a + 2b) x^2 + (b - 3a) x + (8 - a) = 0\]are $-2$ and 3. Find the third root.
Since $-2$ and 3 are roots, \begin{align*} a(-2)^3 + (a + 2b) (-2)^2 + (b - 3a)(-2) + (8 - a) &= 0, \\ a(3)^3 + (a + 2b) 3^2 + (b - 3a)(3) + (8 - a) &= 0. \end{align*}Solving, we find $a = \frac{8}{9}$ and $b = -\frac{40}{27}.$ By Vieta's formulas, the sum of the roots is \[-\frac{a + 2b}{a} = \frac{7}{3},\]so the third root is $\frac{7}{3} - (-2) - 3 = \boxed{\frac{4}{3}}.$
The expressions \[A=1 \times 2 + 3 \times 4 + 5 \times 6 + \cdots + 37 \times 38 + 39\]and \[B = 1 + 2 \times 3 + 4 \times 5 + \cdots + 36 \times 37 + 38 \times 39\]are obtained by writing multiplication and addition operators in an alternating pattern between successive integers. Find the positive difference between integers $A$ and $B$.
Instead of computing $A$ and $B$ separately, we can write a simple expression for $A-B,$ as follows: \[\begin{aligned} A - B &= (1 \cdot2 + 3 \cdot4 + 5 \cdot6 + \cdots + 37 \cdot38 + 39) - (1 + 2 \cdot3 + 4 \cdot5 + \cdots + 36 \cdot37 + 38 \cdot39) \\ &= -1 + (1 \cdot2 - 2 \cdot3) + (3 \cdot4 - 4 \cdot5) + \cdots + (37 \cdot 38 - 38 \cdot 39) + 39 \\ &= -1 + 2(-2) + 4(-2) + \cdots + 38(-2) + 39 \\ &= -1 - 2 \cdot 2 \cdot \frac{19 \cdot 20}{2} + 39 \\ &= -1 - 760 + 39 \\ &= -722. \end{aligned}\]Thus, $|A-B| = \boxed{722}.$
Determine if the graph of the equation below is a parabola, circle, ellipse, hyperbola, point, line, two lines, or empty. $x^2 - 50y^2 - 10x + 25 = 0$
Completing the square in $x$ gives \[ (x - 5)^2 - 50y^2 = 0. \]Rearranging and taking square roots, we get \[ x-5 = \pm 5y\sqrt{2}. \]We see that this defines $\boxed{\text{two lines}}$, namely $x = 5+ 5y\sqrt{2}$ and $x = 5-5y\sqrt{2}$.
Find the maximum value of \[\frac{x + 2y + 3}{\sqrt{x^2 + y^2 + 1}}\]over all real numbers $x$ and $y.$
Because we want to find the maximum value of the expression, we can assume that both $x$ and $y$ are positive; if not, then replacing $x$ and $y$ with $|x|$ and $|y|$ would strictly increase the value of the expression. By Cauchy-Schwarz, \[(1^2 + 2^2 + 3^2)(x^2 + y^2 + 1) \ge (x + 2y + 3)^2,\]or $14(x^2 + y^2 + 1) \ge (x + 2y + 3)^2.$ Hence, \[\frac{x + 2y + 3}{\sqrt{x^2 + y^2 + 1}} \le \sqrt{14}.\]Equality occurs when $x = \frac{y}{2} = \frac{1}{3},$ so the minimum value is $\boxed{\sqrt{14}}.$
Given that $0\le x_3 \le x_2 \le x_1\le 1$ and $(1-x_1)^2+(x_1-x_2)^2+(x_2-x_3)^2+x_3^2=\frac{1}{4},$ find $x_1.$
By QM-AM, we have $$\sqrt{\frac{(1-x_1)^2+(x_1-x_2)^2+(x_2-x_3)^2+x_3^2}{4}} \ge \frac{(1-x_1)+(x_1-x_2)+(x_2-x_3)+x_3}{4} = \frac{1}{4}.$$Taking the square of both sides, and then multiplying both sides by $4$ gives us, $$(1-x_1)^2+(x_1-x_2)^2+(x_2-x_3)^2+x_3^2 \ge \frac{1}{4}.$$Equality occurs if and only if $1-x_1=x_1-x_2=x_2-x_3=x_3 = \frac{1}{4}$. We can solve to get $x_1 = \boxed{\frac{3}{4}},$ $x_2 = \frac{1}{2},$ and $x_3 = \frac{1}{4}.$
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}}.$
The graph of the rational function $\frac{p(x)}{q(x)}$ is shown below. If $q(x)$ is quadratic, $p(3)=3$, and $q(2) = 2$, find $p(x) + q(x)$. [asy] size(8cm); import graph; Label f; f.p=fontsize(6); //xaxis(-5,5,Ticks(f, 1.0)); //yaxis(-5,5,Ticks(f, 1.0)); draw((-5,0)--(5,0)); draw((0,-5)--(0,5)); int i; for (i = -5; i <= 5; ++i) { if (i != 0) { draw((i,-0.2)--(i,0.2)); draw((-0.2,i)--(0.2,i)); label("$" + string(i) + "$", (i,-0.2), S); label("$" + string(i) + "$", (-0.2,i), W); } } real f(real x) {return x/((x-1)*x);} draw(graph(f,-5,-3.5), dashed); draw(graph(f,-3.5,-0.1)); draw(graph(f,0.1,0.7)); draw(graph(f,0.7,0.8), dashed); draw(graph(f,1.2,1.3), dashed); draw(graph(f,1.3,3.5)); draw(graph(f,3.5,5), dashed); filldraw(circle((0,-1),.15),white); [/asy]
Since $q(x)$ is quadratic, and we have a horizontal asymptote at $y=0,$ we know that $p(x)$ must be linear. Since we have a hole at $x=0,$ there must be a factor of $x$ in both $p(x)$ and $q(x).$ Lastly, since there is a vertical asymptote at $x=1,$ the denominator $q(x)$ must have a factor of $x-1.$ Then, $p(x) = ax$ and $q(x) = bx(x-1),$ for some constants $a$ and $b.$ Since $p(3) = 3,$ we have $3a = 3$ and hence $a=1.$ Since $q(2) = 2,$ we have $2b(2-1) = 2$ and hence $b=1.$ So $p(x) = x$ and $q(x) = x(x - 1) = x^2 - x,$ and $p(x) + q(x) = \boxed{x^2}$.
Evaluate $|7-24i|$.
We have $|7-24i| = \sqrt{7^2 + (-24)^2} = \boxed{25}$.
Solve for $x$: $\sqrt[3]{20x + \sqrt[3]{20x + 13}} = 13.$
Note that $f(x) = \sqrt[3]{20x + \sqrt[3]{20x + 13}}$ is an increasing function, so the solution to \[\sqrt[3]{20x + \sqrt[3]{20x + 13}} = 13\]is unique. Furthermore, if $\sqrt[3]{20x + 13} = 13,$ then $x$ satisfies the given equation. Thus, $20x + 13 = 13^3 = 2197,$ so $x = \boxed{\frac{546}{5}}.$
Let $a_1,$ $a_2,$ $\dots,$ $a_{2018}$ be the roots of the polynomial \[x^{2018} + x^{2017} + \dots + x^2 + x - 1345 = 0.\]Compute \[\sum_{n = 1}^{2018} \frac{1}{1 - a_n}.\]
Let $b_n = \frac{1}{1 - a_n}.$ Solving for $a_n,$ we find \[a_n = \frac{b_n - 1}{b_n}.\]Substituting, we get \[\left( \frac{b_n - 1}{b_n} \right)^{2018} + \left( \frac{b_n - 1}{b_n} \right)^{2017} + \dots + \left( \frac{b_n - 1}{b_n} \right)^2 + \frac{b_n - 1}{b_n} - 1345 = 0.\]Hence, \[(b_n - 1)^{2018} + b_n (b_n - 1)^{2017} + \dots + b_n^{2016} (b_n - 1)^2 + b_n^{2017} (b_n - 1) - 1345 b_n^{2018} = 0.\]Thus, the $b_i$ are the roots of the polynomial \[(x - 1)^{2018} + x(x - 1)^{2017} + \dots + x^{2016} (x - 1)^2 + x^{2017} (x - 1) - 1345x^{2018} = 0.\]The coefficient of $x^{2018}$ is $2019 - 1346 = 673.$ The coefficient of $x^{2017}$ is $-1 - 2 - \dots - 2018 = -\frac{2018 \cdot 2019}{2}.$ Therefore, the sum of the $b_i$ is \[\frac{2018 \cdot 2019}{2 \cdot 673} = \boxed{3027}.\]
If $x^2 + 2x + 5$ is a factor of $x^4 + Px^2 + Q,$ find $P + Q.$
We have that \[(x^2 + 2x + 5)(x^2 + bx + c) = x^4 + Px^2 + Q.\]for some coefficients $b$ and $c.$ Expanding, we get \[x^4 + (b + 2) x^3 + (2b + c + 5) x^2 + (5b + 2c) x + 5c = x^4 + Px^2 + Q.\]Matching coefficients, we get \begin{align*} b + 2 &= 0, \\ 2b + c + 5 &= P, \\ 5b + 2c &= 0, \\ 5c &= Q. \end{align*}Solving $b + 2 = 0$ and $5b + 2c = 0,$ we get $b = -2$ and $c = 5.$ Then $P = 2b + c + 5 = 6$ and $Q = 5c = 25,$ so $P + Q = \boxed{31}.$
Let $a,$ $b,$ $c$ be distinct integers, and let $\omega$ be a complex number such that $\omega^3 = 1$ and $\omega \neq 1.$ Find the smallest possible value of \[|a + b \omega + c \omega^2|.\]
Note that $|\omega^3| = |\omega|^3 = 1,$ so $|\omega| = 1.$ Then $\omega \overline{\omega} = |\omega|^2 = 1.$ Also, $\omega^3 - 1 = 0,$ which factors as $(\omega - 1)(\omega^2 + \omega + 1) = 0.$ Since $\omega \neq 1,$ \[\omega^2 + \omega + 1 = 0.\]Hence, \begin{align*} |a + b \omega + c \omega^2|^2 &= (a + b \omega + c \omega^2)(a + b \overline{\omega} + c \overline{\omega^2}) \\ &= (a + b \omega + c \omega^2) \left( a + \frac{b}{\omega} + \frac{c}{\omega^2} \right) \\ &= (a + b \omega + c \omega^2)(a + b \omega^2 + c \omega) \\ &= a^2 + b^2 + c^2 + (\omega + \omega^2) ab + (\omega + \omega^2) ac + (\omega^2 + \omega^4) bc \\ &= a^2 + b^2 + c^2 + (\omega + \omega^2) ab + (\omega + \omega^2) ac + (\omega + \omega^2) bc \\ &= a^2 + b^2 + c^2 - ab - ac - bc \\ &= \frac{(a - b)^2 + (a - c)^2 + (b - c)^2}{2}. \end{align*}Since $a,$ $b,$ and $c$ are distinct, all three of $|a - b|,$ $|a - c|,$ and $|b - c|$ must be at least 1, and at least one of these absolute values must be at least 2, so \[\frac{(a - b)^2 + (a - c)^2 + (b - c)^2}{2} \ge \frac{1 + 1 + 4}{2} = 3.\]Equality occurs when $a,$ $b,$ and $c$ are any three consecutive integers, in any order, so the smallest possible value of $|a + b \omega + c \omega^2|$ is $\boxed{\sqrt{3}}.$
In a certain ellipse, the center is at $(-3,1),$ one focus is at $(-3,0),$ and one endpoint of a semi-major axis is at $(-3,3).$ Find the semi-minor axis of the ellipse.
The distance between the center and the focus $(-3,0)$ is $c = 1.$ Also, the semi-major axis is the distance between the center and the endpoint of the semi-major axis, which is $a = 2.$ Then the semi-minor axis is $b = \sqrt{a^2 - c^2} = \boxed{\sqrt{3}}.$
Let $0 \le a,$ $b,$ $c \le 1.$ Find the maximum value of \[\sqrt{abc} + \sqrt{(1 - a)(1 - b)(1 - c)}.\]
Since $0 \le c \le 1,$ $\sqrt{c} \le 1$ and $\sqrt{1 - c} \le 1,$ so \[\sqrt{abc} + \sqrt{(1 - a)(1 - b)(1 - c)} \le \sqrt{ab} + \sqrt{(1 - a)(1 - b)}.\]Then by AM-GM, \[\sqrt{ab} \le \frac{a + b}{2}\]and \[\sqrt{(1 - a)(1 - b)} \le \frac{(1 - a) + (1 - b)}{2} = \frac{2 - a - b}{2},\]so \[\sqrt{ab} + \sqrt{(1 - a)(1 - b)} \le \frac{a + b}{2} + \frac{2 - a - b}{2} = 1.\]Equality occurs when $a = b = c = 0,$ so the maximum value is $\boxed{1}.$
Solve \[-1 < \frac{x^2 - 14x + 11}{x^2 - 2x + 3} < 1.\]
We consider both inequalities separately. The left inequality is equivalent to \[\frac{x^2 - 14x + 11}{x^2 - 2x + 3} + 1 > 0,\]or \[\frac{2x^2 - 16x + 14}{x^2 - 2x + 3} > 0.\]Then \[\frac{x^2 - 8x + 7}{x^2 - 2x + 3} > 0.\]The numerator factors as \[\frac{(x - 1)(x - 7)}{x^2 - 2x + 3} > 0.\]The denominator $x^2 - 2x + 3 = (x - 1)^2 + 2$ is always positive. The quadratic $(x - 1)(x - 7)$ is positive precisely when $x < 1$ or $x > 7.$ The right inequality is equivalent to \[1 - \frac{x^2 - 14x + 11}{x^2 - 2x + 3} > 0,\]or \[\frac{12x - 8}{x^2 - 2x + 3} > 0.\]Then \[\frac{3x - 2}{x^2 - 2x + 3} > 0.\]Since the denominator is always positive, this inequality holds if and only if $x > \frac{2}{3}.$ The solution is then \[x \in \boxed{\left( \frac{2}{3}, 1 \right) \cup (7,\infty)}.\]
For what values of $x$ is \[\frac{x-10x^2+25x^3}{8-x^3}\]nonnegative? Answer as an interval.
First we factor $x$ from the numerator, \[\frac{x(1-10x+25x^2)}{8-x^3}.\]Now we see the square of a binomial in the numerator, so our expression is equal to \[\frac{x(1-5x)^2}{8-x^3}.\]The denominator only has the single (real) root $x=2$, and we can make more sense of that by applying the difference of cubes factorization \[\frac{x(1-5x)^2}{(2-x)(x^2+2x+4)}.\]Now we can factor the entire rational function as \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right).\]Note that the denominator $x^2 + 2x + 4 = (x + 1)^2 + 3$ is always positive. The factor $x$ changes sign at $x = 0,$ the factor $2 - x$ changes sign at $x = 2,$ and the factor $1 - 5x$ changes sign at $x = \frac{1}{5}.$ We build a sign chart accordingly. \[ \begin{array}{c|c|c|c|c} & x < 0 & 0 < x < \frac{1}{5} & \frac{1}{5} < x < 2 & 2 < x \\ \hline x & - & + & + & + \\ 2 - x & + & + & + & - \\ (1 - 5x)^2 & + & + & + & + \\ \left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right) & - & + & + & - \end{array} \]Also, the expression \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right)\]is equal to 0 at $x = 0$ and $x = \frac{1}{5},$ so the solution to \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right) \ge 0\]is $x \in \boxed{[0,2)}.$
Solve the equation \[-x^2 = \frac{3x+1}{x+3}.\]Enter all solutions, separated by commas.
Multiplying both sides by $x+3,$ we have $-x^2(x+3) = 3x+1,$ or $-x^3 - 3x^2 = 3x + 1.$ Thus, \[x^3 + 3x^2 + 3x + 1 = 0.\]We recognize the left-hand side as the expansion of $(x+1)^3,$ so \[(x+1)^3 = 0.\]This forces $x+1=0,$ so $x = \boxed{-1},$ which is the only solution.
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}.$
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)}.$
Let $x$ and $y$ be real numbers such that \[ 2 < \frac{x - y}{x + y} < 5. \]If $\frac{x}{y}$ is an integer, what is its value?
Let $\frac{x}{y} = t$. Then $x = ty$, so we can write \[\frac{x-y}{x+y} = \frac{ty-y}{ty+y} = \frac{t-1}{t+1}.\]Thus, we have \[2 < \frac{t-1}{t+1} < 5,\]which we can rewrite as follows: \[\begin{aligned} 2 < 1 &- \frac{2}{t+1} < 5 \\ 1 <&-\frac{2}{t+1} < 4 \\ -\frac{1}{2} > &\frac{1}{t+1} > -2. \end{aligned}\]The only number of the form $\frac{1}{t+1}$ (where $t$ is an integer) which lies in the interval $\left(-2, -\frac12\right)$ is $-1 = \frac1{-1}$, so we must have $t+1=-1$, and $t = -2$. This is achievable when $x = -2$ and $y =1$, so the answer is $\boxed{-2}$.
Let $f : \mathbb{C} \to \mathbb{C} $ be defined by $ f(z) = z^2 + iz + 1 $. How many complex numbers $z $ are there such that $ \text{Im}(z) > 0 $ and both the real and the imaginary parts of $f(z)$ are integers with absolute value at most $ 10 $?
Suppose $f(z)=z^2+iz+1=c=a+bi$. We look for $z$ with $\text{Im}(z)>0$ such that $a,b$ are integers where $|a|, |b|\leq 10$. First, use the quadratic formula: $ z = \frac{1}{2} (-i \pm \sqrt{-1-4(1-c)}) = -\frac{i}{2} \pm \sqrt{ -\frac{5}{4} + c }$ Generally, consider the imaginary part of a radical of a complex number: $\sqrt{u}$, where $u = v+wi = r e^{i\theta}$. $\Im (\sqrt{u}) = \Im(\pm \sqrt{r} e^{i\theta/2}) = \pm \sqrt{r} \sin(i\theta/2) = \pm \sqrt{r}\sqrt{\frac{1-\cos\theta}{2}} = \pm \sqrt{\frac{r-v}{2}}$. Now let $u= -5/4 + c$, then $v = -5/4 + a$, $w=b$, $r=\sqrt{v^2 + w^2}$. Note that $\Im(z)>0$ if and only if $\pm \sqrt{\frac{r-v}{2}}>\frac{1}{2}$. The latter is true only when we take the positive sign, and that $r-v > 1/2$, or $v^2 + w^2 > (1/2 + v)^2 = 1/4 + v + v^2$, $w^2 > 1/4 + v$, or $b^2 > a-1$. In other words, for all $z$, $f(z)=a+bi$ satisfies $b^2 > a-1$, and there is one and only one $z$ that makes it true. Therefore we are just going to count the number of ordered pairs $(a,b)$ such that $a$, $b$ are integers of magnitude no greater than $10$, and that $b^2 \geq a$. When $a\leq 0$, there is no restriction on $b$ so there are $11\cdot 21 = 231$ pairs; when $a > 0$, there are $2(1+4+9+10+10+10+10+10+10+10)=2(84)=168$ pairs. Thus there are $231+168=\boxed{399}$ numbers in total.
Let $a,$ $b,$ $c,$ $d,$ $e,$ $f,$ $g,$ and $h$ be real numbers such that $abcd = 4$ and $efgh = 9.$ Find the minimum value of \[(ae)^2 + (bf)^2 + (cg)^2 + (dh)^2.\]
By AM-GM, \begin{align*} (ae)^2 + (bf)^2 + (cg)^2 + (dh)^2 &\ge 4 \sqrt[4]{(ae)^2 (bf)^2 (cg)^2 (dh)^2} \\ &= 4 \sqrt[4]{(abcdefgh)^2} \\ &= 24. \end{align*}Equality occurs when $(ae)^2 = (bf)^2 = (cg)^2 = (dh)^2,$ $abcd = 4,$ and $efgh = 9.$ For example, we can take $a = b = c = d = \sqrt{2}$ and $e = f = g = h = \sqrt{3}.$ Hence, the minimum value is $\boxed{24}.$
A sequence is defined by $a_0 = \frac{1}{2}$ and $a_n = 1 + (a_{n - 1} - 1)^2.$ Compute \[a_0 a_1 a_2 \dotsm.\]
Let $b_n = a_n - 1.$ Then $b_ n = b_{n - 1}^2,$ and \begin{align*} a_0 a_1 a_2 \dotsm &= (1 + b_0)(1 + b_0^2)(1 + b_0^4) \dotsm \\ &= \frac{1 - b_0^2}{1 - b_0} \cdot \frac{1 - b_0^4}{1 - b_0^2} \cdot \frac{1 - b_0^8}{1 - b_0^4} \dotsm \\ &= \frac{1}{1 - b_0} = \frac{1}{1 - (-1/2)} = \boxed{\frac{2}{3}}. \end{align*}
Let $a$ and $b$ be real numbers. Find the maximum value of $a \cos \theta + b \sin \theta$ in terms of $a$ and $b.$
By the Cauchy-Schwarz Inequality, \[(a \cos \theta + b \sin \theta)^2 \le (a^2 + b^2)(\cos^2 \theta + \sin^2 \theta) = a^2 + b^2,\]so $a \cos \theta + b \sin \theta \le \sqrt{a^2 + b^2}.$ If $a = b = 0,$ then $a \cos \theta + b \sin \theta = 0$ for all $\theta.$ Otherwise, $a^2 + b^2 > 0,$ and we can find an angle $\theta$ such that \[\cos \theta = \frac{a}{\sqrt{a^2 + b^2}} \quad \text{and} \quad \sin \theta = \frac{b}{\sqrt{a^2 + b^2}},\]which makes $a \cos \theta + b \sin \theta = \sqrt{a^2 + b^2}.$ Thus, the maximum value is $\boxed{\sqrt{a^2 + b^2}}.$
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}$.
A function $f$ from the integers to the integers is defined as follows: \[f(n) = \left\{ \begin{array}{cl} n + 3 & \text{if $n$ is odd}, \\ n/2 & \text{if $n$ is even}. \end{array} \right.\]Suppose $k$ is odd and $f(f(f(k))) = 27.$ Find $k.$
Since $k$ is odd, $f(k) = k + 3.$ Then $k + 3$ is even, so \[f(k + 3) = \frac{k + 3}{2}.\]If $\frac{k + 3}{2}$ is odd, then \[f \left( \frac{k + 3}{2} \right) = \frac{k + 3}{2} + 3 = 27.\]This leads to $k = 45.$ But $f(f(f(45))) = f(f(48)) = f(24) = 12,$ so $\frac{k + 3}{2}$ must be even. Then \[f \left( \frac{k + 3}{2} \right) = \frac{k + 3}{4} = 27.\]This leads to $k = 105.$ Checking, we find $f(f(f(105))) = f(f(108)) = f(54) = 27.$ Therefore, $k = \boxed{105}.$
For any real number $k,$ the graph of \[y = 7x^2 + kx - 4k\]passes through a fixed point $(a,b).$ Find $(a,b).$
To make the parameter $k$ disappear, we set $x = 4.$ Then \[y = 7(4^2) + 4k - 4k = 112.\]Hence, the fixed point is $\boxed{(4,112)}.$
For some real number $r,$ the polynomial $8x^3 - 4x^2 - 42x + 45$ is divisible by $(x - r)^2.$ Find $r.$
Let the third root be $s.$ Then \[8x^3 - 4x^2 - 42x + 45 = 8(x - r)^2 (x - s) = 8x^3 - 8(2r + s) x^2 + 8(r^2 + 2rs) x - 8r^2 s.\]Matching coefficients, we get \begin{align*} 2r + s &= \frac{1}{2}, \\ r^2 + 2rs &= -\frac{21}{4}, \\ r^2 s &= -\frac{45}{8}. \end{align*}From the first equation, $s = \frac{1}{2} - 2r.$ Substituting into the second equation, we get \[r^2 + 2r \left( \frac{1}{2} - 2r \right) = -\frac{21}{4}.\]This simplifies to $12r^2 - 4r - 21 = 0,$ which factors as $(2r - 3)(6r + 7) = 0.$ Thus, $r = \frac{3}{2}$ or $r = -\frac{7}{6}.$ If $r = \frac{3}{2},$ then $s = -\frac{5}{2}.$ If $r = -\frac{7}{6},$ then $s = \frac{17}{6}.$ We can check that only $r = \boxed{\frac{3}{2}}$ and $s = -\frac{5}{2}$ satisfy $r^2 s = -\frac{45}{8}.$
Find the product of the roots of the equation \[(2x^3 + x^2 - 8x + 20)(5x^3 - 25x^2 + 19) = 0.\]
The left-hand side, when multiplied out, is a polynomial of degree $6.$ By Vieta's formulas, the product of the roots is determined by its $x^6$ coefficient and its constant term. The $x^6$ coefficient is $2 \cdot 5 = 10$ and the constant term is $20 \cdot 19 = 380,$ so the product of the roots is $\tfrac{380}{10} = \boxed{38}.$
$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}.\]
Solve the inequality \[2 - \frac{1}{2x + 3} < 4.\]
The given inequality is equivalent to \[\frac{1}{2x + 3} + 2 > 0,\]or \[\frac{4x + 7}{2x + 3} > 0.\]If $x < -\frac{7}{4},$ then $4x + 7 < 0$ and $2x + 3 < 0,$ so the inequality is satisfied. If $-\frac{7}{4} < x < -\frac{3}{2},$ then $4x + 7 > 0$ and $2x + 3 < 0,$ so the inequality is not satisfied. If $x > -\frac{3}{2},$ then $4x + 7 > 0$ and $2x + 3 > 0,$ so the inequality is satisfied. Thus, the solution is \[x \in \boxed{\left( -\infty, -\frac{7}{4} \right) \cup \left( -\frac{3}{2}, \infty \right)}.\]
Let $f$ be a function taking the nonnegative integers to the nonnegative integers, such that \[2f(a^2 + b^2) = [f(a)]^2 + [f(b)]^2\]for all nonnegative integers $a$ and $b.$ Let $n$ be the number of possible values of $f(25),$ and let $s$ be the sum of the possible values of $f(25).$ Find $n \times s.$
Setting $a = 0$ and $b = 0$ in the given functional equation, we get \[2f(0) = 2f[(0)]^2.\]Hence, $f(0) = 0$ or $f(0) = 1.$ Setting $a = 0$ and $b = 1$ in the given functional equation, we get \[2f(1) = [f(0)]^2 + [f(1)]^2.\]If $f(0) = 0,$ then $2f(1) = [f(1)]^2,$ which means $f(1) = 0$ or $f(1) = 2.$ If $f(0) = 1,$ then $[f(1)]^2 - 2f(1) + 1 = [f(1) - 1]^2 = 0,$ so $f(1) = 1.$ We divide into cases accordingly, but before we do so, note that we can get to $f(25)$ with the following values: \begin{align*} a = 1, b = 1: \ & 2f(2) = 2[f(1)]^2 \quad \Rightarrow \quad f(2) = [f(1)]^2 \\ a = 1, b = 2: \ & 2f(5) = [f(1)]^2 + [f(2)]^2 \\ a = 0, b = 5: \ & 2f(25) = [f(0)]^2 + [f(5)]^2 \end{align*}Case 1: $f(0) = 0$ and $f(1) = 0.$ From the equations above, $f(2) = [f(1)]^2 = 0,$ $2f(5) = [f(1)]^2 + [f(2)]^2 = 0$ so $f(5) = 0,$ and $2f(25) = [f(0)]^2 + [f(5)]^2 = 0,$ so $f(25) = 0.$ Note that the function $f(n) = 0$ satisfies the given functional equation, which shows that $f(25)$ can take on the value of 0. Case 2: $f(0) = 0$ and $f(1) = 2.$ From the equations above, $f(2) = [f(1)]^2 = 4,$ $2f(5) = [f(1)]^2 + [f(2)]^2 = 20$ so $f(5) = 10,$ and $2f(25) = [f(0)]^2 + [f(5)]^2 = 100,$ so $f(25) = 50.$ Note that the function $f(n) = 2n$ satisfies the given functional equation, which shows that $f(25)$ can take on the value of 50. Case 3: $f(0) = 1$ and $f(1) = 1.$ From the equations above, $f(2) = [f(1)]^2 = 1,$ $2f(5) = [f(1)]^2 + [f(2)]^2 = 2$ so $f(5) = 1,$ and $2f(25) = [f(0)]^2 + [f(5)]^2 = 2,$ so $f(25) = 1.$ Note that the function $f(n) = 1$ satisfies the given functional equation, which shows that $f(25)$ can take on the value of 1. Hence, there are $n = 3$ different possible values of $f(25),$ and their sum is $s = 0 + 50 + 1 = 51,$ which gives a final answer of $n \times s = 3 \times 51 = \boxed{153}$.
A parabola has vertex $V = (0,0)$ and focus $F = (0,1).$ Let $P$ be a point in the first quadrant, lying on the parabola, so that $PF = 101.$ Find $P.$
Using the vertex and focus, we can see that the equation of the directrix must be $y = -1.$ [asy] unitsize(3 cm); real func (real x) { return(x^2); } pair F, P, Q; F = (0,1/4); P = (0.8,func(0.8)); Q = (0.8,-1/4); draw(graph(func,-1,1)); draw((-1,-1/4)--(1,-1/4),dashed); draw(F--P--Q); label("$y = -1$", (1,-1/4), E); label("$y + 1$", (P + Q)/2, E); dot("$F = (0,1)$", F, NW); dot("$P = (x,y)$", P, E); dot("$(x,-1)$", Q, S); [/asy] Let $P = (x,y)$ be a point on the parabola. Then by definition of the parabola, $PF$ is equal to the distance from $P$ to the directrix, which is $y + 1.$ Hence, \[\sqrt{x^2 + (y - 1)^2} = y + 1.\]Squaring, we get $x^2 + (y - 1)^2 = (y + 1)^2.$ This simplifies to $x^2 = 4y.$ We are given that $PF = 101,$ so $y + 1 = 101,$ and hence $y = 100.$ Then $x^2 = 400.$ Since the point is in the first quadrant, $x = 20.$ Hence, $P = \boxed{(20,100)}.$
Let $P(z)=x^3+ax^2+bx+c$, where $a,$ $b,$ and $c$ are real. There exists a complex number $w$ such that the three roots of $P(z)$ are $w+3i$, $w+9i$, and $2w-4$, where $i^2=-1$. Find $a+b+c$.
Let $w = x + yi,$ where $x$ and $y$ are real numbers. Then the sum of the three roots is \[(w + 3i) + (w + 9i) + (2w - 4) = 4w - 4 + 12i = 4x + 4yi - 4 + 12i.\]By Vieta's formulas, the sum of the roots is $-a,$ are real number. Hence, $(4x - 4) + (4y + 12)i$ must be a real number, which means $y = -3.$ Thus, the three roots are $w + 3i = x,$ $w + 9i = x + 6i,$ and $2w - 4 = 2x - 4 - 6i.$ Since the coefficients of $P(z)$ are all real, the nonreal roots must come in conjugate pairs. Thus, $x + 6i$ must be the conjugate of $2x - 4 - 6i,$ which means $x = 2x - 4.$ Hence, $x = 4,$ so \[P(z) = (z - 4)(z - 4 - 6i)(z - 4 + 6i).\]In particular, \[P(1) = (1 - 4)(1 - 4 - 6i)(1 - 4 + 6i) = -135.\]But $P(1) = 1 + a + b + c,$ so $a + b + c = \boxed{-136}.$
In a certain hyperbola, the center is at $(-2,0),$ one focus is at $(-2 + \sqrt{34},0),$ and one vertex is at $(-5,0).$ The equation of this hyperbola can be written as \[\frac{(x - h)^2}{a^2} - \frac{(y - k)^2}{b^2} = 1.\]Find $h + k + a + b.$
The center of the hyperbola is $(h,k) = (-2,0).$ The distance between the center and one vertex is $a = 3,$ and the distance between the center and one focus is $c = \sqrt{34}.$ Then $b^2 = c^2 - a^2 = 34 - 3^2 = 25,$ so $b = 5.$ Therefore, $h + k + a + b = -2 + 0 + 3 + 5 = \boxed{6}.$
For a positive integer $n,$ let \[a_n = \sum_{k = 0}^n \frac{1}{\binom{n}{k}} \quad \text{and} \quad b_n = \sum_{k = 0}^n \frac{k}{\binom{n}{k}}.\]Simplify $\frac{a_n}{b_n}.$
For the sum $b_n,$ let $j = n - k,$ so $k = n - j.$ Then \begin{align*} b_n &= \sum_{k = 0}^n \frac{k}{\binom{n}{k}} \\ &= \sum_{j = n}^0 \frac{n - j}{\binom{n}{n - j}} \\ &= \sum_{j = 0}^n \frac{n - j}{\binom{n}{j}} \\ &= \sum_{k = 0}^n \frac{n - k}{\binom{n}{k}}, \end{align*}so \[b_n + b_n = \sum_{k = 0}^n \frac{k}{\binom{n}{k}} + \sum_{k = 0}^n \frac{n - k}{\binom{n}{k}} = \sum_{k = 0}^n \frac{n}{\binom{n}{k}} = n \sum_{k = 0}^n \frac{1}{\binom{n}{k}} = na_n.\]Then $2b_n = na_n,$ so $\frac{a_n}{b_n} = \boxed{\frac{2}{n}}.$
The graph of \[y^4 - 4x^4 = 2y^2 - 1\]is the union of the graphs of two different conic sections. Which two types of conic sections are they? (Write your answer as a list, with "C" for circle, "E" for ellipse, "H" for hyperbola, and "P" for parabola. For example, "C, H" if you think the graph consists of a circle and a hyperbola. You may use a letter twice.)
We can rewrite the given equation as \[y^4 - 2y^2 + 1 = 4x^4.\]The left-hand side is the perfect square of a binomial: \[(y^2-1)^2 = 4x^4.\]Therefore, either $y^2-1=2x^2$ or $y^2-1=-2x^2.$ That is, either $y^2-2x^2=1$ or $y^2+2x^2=1.$ These are the equations for a hyperbola and an ellipse, respectively, so the answer is $\boxed{\text{H, E}}.$
Find $2^{\frac{1}{2}} \cdot 4^{\frac{1}{4}} \cdot 8^{\frac{1}{8}} \cdot 16^{\frac{1}{16}} \dotsm.$
We can write \begin{align*} 2^{\frac{1}{2}} \cdot 4^{\frac{1}{4}} \cdot 8^{\frac{1}{8}} \cdot 16^{\frac{1}{16}} \dotsm &= 2^{\frac{1}{2}} \cdot 2^{2 \cdot \frac{1}{4}} \cdot 2^{3 \cdot \frac{1}{8}} \cdot 2^{4 \cdot \frac{1}{16}} \dotsm \\ &= 2^{\frac{1}{2} + \frac{2}{4} + \frac{3}{8} + \frac{4}{16} + \dotsb}. \end{align*}Let \[S = \frac{1}{2} + \frac{2}{4} + \frac{3}{8} + \frac{4}{16} + \dotsb.\]Then \[2S = 1 + \frac{2}{2} + \frac{3}{4} + \frac{4}{8} + \dotsb.\]Subtracting these equations, we get \[S = 1 + \frac{1}{2} + \frac{1}{4} + \frac{1}{8} + \dotsb = \frac{1}{1 - 1/2} = 2,\]so \[2^{\frac{1}{2}} \cdot 4^{\frac{1}{4}} \cdot 8^{\frac{1}{8}} \cdot 16^{\frac{1}{16}} \dotsm = 2^S = 2^2 = \boxed{4}.\]
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}}.$
The polynomial $x^{101} + Ax + B$ is divisible by $x^2 + x + 1$ for some real numbers $A$ and $B.$ Find $A + B.$
If $x^{101} + Ax + B$ is divisible by $x^2 + x + 1,$ then $x^{101} + Ax + B$ must be equal to 0 any time $x$ is a root of $x^2 + x + 1 = 0.$ Let $\omega$ be a root of $x^2 + x + 1 = 0,$ so $\omega^2 + \omega + 1 = 0.$ Then \[(\omega - 1)(\omega^2 + \omega + 1) = 0,\]or $\omega^3 - 1 = 0,$ which means $\omega^3 = 1.$ By the Factor Theorem, \[\omega^{101} + A \omega + B = 0.\]We have that $\omega^{101} = \omega^{3 \cdot 33 + 2} = (\omega^3)^{33} \cdot \omega^2 = \omega^2,$ so \begin{align*} \omega^{101} + A \omega + B &= \omega^2 + A \omega + B \\ &= (-\omega - 1) + A \omega + B \\ &= (A - 1) \omega + (B - 1) \\ &= 0. \end{align*}Since $\omega$ is a nonreal complex number, we must have $A = 1$ and $B = 1,$ so $A + B = \boxed{2}.$
Let $a$ and $b$ be positive real numbers such that $a + 2b = 1.$ Find the minimum value of \[\frac{1}{a} + \frac{1}{b}.\]
By Cauchy-Schwarz, \[(a + 2b) \left( \frac{1}{a} + \frac{1}{b} \right) \ge (1 + \sqrt{2})^2 = 3 + 2 \sqrt{2}.\]For equality to occur, we must have $a^2 = 2b^2,$ or $a = b \sqrt{2}.$ Then $b \sqrt{2} + 2b = 1,$ or \[b = \frac{1}{2 + \sqrt{2}} = \frac{2 - \sqrt{2}}{(2 + \sqrt{2})(2 - \sqrt{2})} = \frac{2 - \sqrt{2}}{2},\]and $a = b \sqrt{2} = \frac{2 \sqrt{2} - 2}{2} = \sqrt{2} - 1.$ Hence, the minimum value is $\boxed{3 + 2 \sqrt{2}}.$
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}}.$
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}.$
Let $a$ and $b$ be positive real numbers. Find the minimum value of \[a^2 + b^2 + \frac{1}{(a + b)^2}.\]
Let $s = a + b.$ By QM-AM, \[\sqrt{\frac{a^2 + b^2}{2}} \ge \frac{a + b}{2} = \frac{s}{2}.\]Then $\frac{a^2 + b^2}{2} \ge \frac{s^2}{4},$ so $a^2 + b^2 \ge \frac{s^2}{2}.$ Hence, \[a^2 + b^2 + \frac{1}{(a + b)^2} \ge \frac{s^2}{2} + \frac{1}{s^2}.\]By AM-GM, \[\frac{s^2}{2} + \frac{1}{s^2} \ge 2 \sqrt{\frac{s^2}{2} \cdot \frac{1}{s^2}} = \sqrt{2}.\]Equality occurs when $a = b$ and $s^2 = \sqrt{2}.$ The numbers $a = b = 2^{-3/4}$ satisfy these conditions. Therefore, the minimum value is $\boxed{\sqrt{2}}.$
Let $f(x) = \frac{3}{9^x + 3}.$ Find \[f \left( \frac{1}{1001} \right) + f \left( \frac{2}{1001} \right) + f \left( \frac{3}{1001} \right) + \dots + f \left( \frac{1000}{1001} \right).\]
Note that \begin{align*} f(x) + f(1 - x) &= \frac{3}{9^x + 3} + \frac{3}{9^{1 - x} + 3} \\ &= \frac{3}{9^x + 3} + \frac{3 \cdot 9^x}{9 + 3 \cdot 9^x} \\ &= \frac{3}{9^x + 3} + \frac{9^x}{3 + 9^x} \\ &= \frac{3 + 9^x}{9^x + 3} \\ &= 1. \end{align*}Thus, we can pair the 1000 terms in the sum into 500 pairs, such that the sum of the terms in each pair is 1. Therefore, the sum is equal to $\boxed{500}.$
Let $x$ and $y$ be real numbers greater than 1 such that \[(\log_2 x)^4 + (\log_3 y)^4 + 8 = 8 (\log_2 x)(\log_3 y).\]Compute $x^{\sqrt{2}} + y^{\sqrt{2}}.$
Let $a = \log_2 x$ and $b = \log_3 y.$ Since $x > 1$ and $y > 1,$ $a > 0$ and $b > 0.$ By AM-GM, \begin{align*} a^4 + b^4 + 8 &= a^4 + b^4 + 4 + 4 \\ &\ge 4 \sqrt[4]{(a^4)(b^4)(4)(4)} \\ &= 8ab. \end{align*}Since $a^4 + b^4 + 8 = 8ab,$ we have equality. Therefore, $a^4 = 4$ and $b^4 = 4.$ Then $a = \sqrt[4]{4} = \sqrt{2},$ so \[x = 2^a = 2^{\sqrt{2}}.\]Similarly, $b = \sqrt[4]{4} = \sqrt{2},$ so \[y = 3^b = 3^{\sqrt{2}}.\]Hence, $x^{\sqrt{2}} + y^{\sqrt{2}} = 2^2 + 3^2 = \boxed{13}.$
Rectangle $ABCD$ has area $2006.$ An ellipse with area $2006\pi$ passes through $A$ and $C$ and has foci at $B$ and $D$. What is the perimeter of the rectangle?
Let $2a$ and $2b$ be the lengths of the major and minor axes of the ellipse, respectively, and let the dimensions of the rectangle be $x$ and $y.$ Then $x+y$ is the sum of the distances from the foci to point $A$ on the ellipse, which is $2a,$ so $x+y=2a.$ Also, the length of a diagonal of the rectangle is $\sqrt{x^2+y^2},$ which is also equal to the distance between the foci of the ellipse, which is $2\sqrt{a^2-b^2}.$ Thus, $x^2+y^2 = 4(a^2-b^2).$ Then the area of the rectangle is \[ 2006=xy=r\frac{1}{2}\displaystyle\left[(x+y)^2-(x^2+y^2)\displaystyle\right]=r\frac{1}{2}\displaystyle\left[(2a)^2-(4a^2-4b^2)\displaystyle\right]=2b^2, \]so $b=\sqrt{1003}.$ Thus, the area of the ellipse is \[ 2006\pi=\pi ab=\pi a\sqrt{1003}. \]Thus, $a=2\sqrt{1003},$ and the perimeter of the rectangle is $2(x+y)=4a=\boxed{8\sqrt{1003}}.$ [asy] size(7cm); real l=9, w=7, ang=asin(w/sqrt(l*l+w*w))*180/pi; draw((-l,-w)--(l,-w)--(l,w)--(-l,w)--cycle); draw(rotate(ang)*ellipse((0,0),2*l+2*w,l*w*2/sqrt(l^2+w^2))); label("$A$",(-l,w),NW); label("$B$",(-l,-w),SW); label("$C$",(l,-w),SE); label("$D$",(l,w),NE); // Made by chezbgone2 [/asy]
Let $P$ be the parabola with equation $y=x^2$ and let $Q = (20, 14)$. There are real numbers $r$ and $s$ such that the line through $Q$ with slope $m$ does not intersect $P$ if and only if $r < m < s.$ What is $r + s$?
The equation of the line passing through $Q = (20,14)$ with slope $m$ is $y - 14 = m(x - 20).$ Thus, we seek the values of $m$ for which the system \begin{align*} y - 14 &= m(x - 20), \\ y &= x^2 \end{align*}has no real solutions. Substituting $y = x^2$ into the first equation, we get \[x^2 - 14 = m(x - 20).\]Then $x^2 - mx + (20m - 14) = 0.$ This equation has no real solutions when the discriminant is negative: \[m^2 - 4(20m - 14) < 0.\]Then $m^2 - 80m + 56 < 0.$ Thus, $r$ and $s$ are the roots of $m^2 - 80m + 56 = 0.$ By Vieta's formulas, $r + s = \boxed{80}.$
Let $x = (2 + \sqrt{3})^{1000},$ let $n = \lfloor x \rfloor,$ and let $f = x - n.$ Find \[x(1 - f).\]
Let $\alpha = 2 + \sqrt{3}$ and $\beta = 2 - \sqrt{3}.$ Then consider the number \begin{align*} N &= \alpha^{1000} + \beta^{1000} \\ &= (2 + \sqrt{3})^{1000} + (2 - \sqrt{3})^{1000} \\ &= 2^{1000} + \binom{1000}{1} 2^{999} (\sqrt{3}) + \binom{1000}{2} 2^{998} (\sqrt{3})^2 + \binom{1000}{3} (\sqrt{3})^3 + \dotsb \\ &\quad + 2^{1000} - \binom{1000}{1} 2^{999} (\sqrt{3}) + \binom{1000}{2} 2^{998} (\sqrt{3})^2 - \binom{1000}{3} (\sqrt{3})^3 + \dotsb. \end{align*}Adding $(2 + \sqrt{3})^{1000}$ and $(2 - \sqrt{3})^{1000}$, we see that all the terms containing a $\sqrt{3}$ will cancel, meaning that we are left with an integer. Furthermore, \[\beta = 2 - \sqrt{3} = \frac{(2 - \sqrt{3})(2 + \sqrt{3})}{2 + \sqrt{3}} = \frac{1}{2 + \sqrt{3}} < 1,\]so $0 < \beta^{1000} < 1.$ Therefore, \[N - 1 < \alpha^{1000} < N,\]which means $n = \lfloor \alpha^{1000} \rfloor = N - 1.$ Then \[f = x - n = \alpha^{1000} - (N - 1) = 1 - \beta^{1000},\]so $1 - f = \beta^{1000}.$ Hence, \begin{align*} x(1 - f) &= \alpha^{1000} \beta^{1000} \\ &= (\alpha \beta)^{1000} \\ &= [(2 + \sqrt{3})(2 - \sqrt{3})]^{1000} \\ &= 1^{1000} \\ &= \boxed{1}. \end{align*}
A sequence of integers $a_1, a_2, a_3, \ldots$ is chosen so that $a_n = a_{n - 1} - a_{n - 2}$ for each $n \ge 3.$ What is the sum of the first $2001$ terms of this sequence if the sum of the first $1492$ terms is $1985,$ and the sum of the first $1985$ terms is $1492$?
Letting $a_1 = x$ and $a_2 = y,$ we have \[\begin{aligned} a_3 &= y-x, \\ a_4 &= (y-x) - y = -x, \\ a_5 &= -x-(y-x) = -y, \\ a_6 &= -y-(-x) = x-y, \\ a_7 &= (x-y)-(-y) = x, \\ a_8 &= x-(x-y) = y. \end{aligned}\]Since $a_7 = a_1$ and $a_8 = a_2,$ the sequence repeats with period $6$; that is, $a_{k+6} = a_k$ for all positive integers $k.$ Furthermore, the sum of any six consecutive terms in the sequence equals \[x + y + (y-x) + (-x) + (-y) + (x-y) = 0.\]So, since $1492$ is $4$ more than a multiple of six, the sum of the first $1492$ terms is equal to the sum of the first four terms: \[\begin{aligned} 1985 &= a_1 + a_2 + \dots + a_{1492} \\&= a_1+a_2+a_3+a_4\\&=x+y+(y-x)+(-x)\\&=2y-x. \end{aligned}\]Similarly, since $1985$ is $5$ more than a multiple of six, we have \[\begin{aligned}1492 &= a_1+a_2+\dots+a_{1985}\\&=a_1+a_2+a_3+a_4+a_5\\&=x+y+(y-x)+(-x)+(-y)\\&=y-x. \end{aligned}\]Subtracting this second equation from the first equation, we get $y = 1985 - 1492 = 493.$ Since $2001$ is $3$ more than a multiple of six, we have \[\begin{aligned}a_1+a_2+\dots+a_{2001} &= a_1+a_2+a_3\\&=x+y+(y-x)\\&=2y = 2\cdot 493 = \boxed{986}.\end{aligned}\](Note that solving for $x$ was not strictly necessary.)
Suppose $a$, $b$ and $c$ are integers such that the greatest common divisor of $x^2+ax+b$ and $x^2+bx+c$ is $x+1$ (in the set of polynomials in $x$ with integer coefficients), and the least common multiple of $x^2+ax+b$ and $x^2+bx+c$ is $x^3-4x^2+x+6$. Find $a+b+c$.
Since $x+1$ divides $x^2+ax+b$ and the constant term is $b$, we have $x^2+ax+b=(x+1)(x+b)$, and similarly $x^2+bx+c=(x+1)(x+c)$. Therefore, $a=b+1=c+2$. Furthermore, the least common multiple of the two polynomials is $(x+1)(x+b)(x+b-1)=x^3-4x^2+x+6$, so $b=-2$. Thus $a=-1$ and $c=-3$, and $a+b+c=\boxed{-6}$.
Simplify $\left(\dfrac{-1+i\sqrt{3}}{2}\right)^6+\left(\dfrac{-1-i\sqrt{3}}{2}\right)^6.$
We have that \[(-1 + i \sqrt{3})^2 = (-1 + i \sqrt{3})(-1 + i \sqrt{3}) = 1 - 2i \sqrt{3} - 3 = -2 - 2i \sqrt{3},\]and \[(-1 + i \sqrt{3})^3 = (-1 + i \sqrt{3})(-2 - 2i \sqrt{3}) = 2 + 2i \sqrt{3} - 2i \sqrt{3} + 6 = 8,\]so $(-1 + i \sqrt{3})^6 = 64.$ Then \[\left( \frac{-1 + i \sqrt{3}}{2} \right)^6 = \frac{64}{2^6} = 1.\]Similarly, \[\left( \frac{-1 - i \sqrt{3}}{2} \right)^6 = \frac{64}{2^6} = 1,\]so the expression is equal to $\boxed{2}.$
Let $a,$ $b,$ and $c$ be the roots of \[x^3 - 5x + 7 = 0.\]Find the monic polynomial, in $x,$ whose roots are $a - 2,$ $b - 2,$ and $c - 2.$
Let $y = x - 2.$ Then $x = y + 2,$ so \[(y + 2)^3 - 5(y + 2) + 7 = 0.\]This simplifies to $y^3 + 6y^2 + 7y + 5 = 0.$ The corresponding polynomial in $x$ is then $\boxed{x^3 + 6x^2 + 7x + 5}.$
The function $f$ is defined on the set of integers and satisfies \[f(n)= \begin{cases} n-3 & \mbox{if }n\ge 1000 \\ f(f(n+5)) & \mbox{if }n<1000. \end{cases}\]Find $f(84)$.
Denote by (1) and (2) the two parts of the definition of $f$, respectively. If we begin to use the definition of $f$ to compute $f(84)$, we use (2) until the argument is at least $1000$: \[f(84) = f(f(89)) = f(f(f(94))) = \dots = f^N(1004)\](where $f^N$ denotes composing $f$ with itself $N$ times, for some $N$). The numbers $84, 89, 94, \dots, 1004$ form an arithmetic sequence with common difference $5$; since $1004 - 84 = 920 = 184 \cdot 5$, this sequence has $184 + 1 = 185$ terms, so $N = 185$. At this point, (1) and (2) are both used: we compute \[\begin{aligned} f^N(1004) &\stackrel{(1)}{=} f^{N-1}(1001) \stackrel{(1)}{=} f^{N-2}(998) \stackrel{(2)}{=} f^{N-1}(1003) \stackrel{(1)}{=} f^{N-2}(1000) \\ &\stackrel{(1)}{=} f^{N-3}(997) \stackrel{(2)}{=} f^{N-2}(1002) \stackrel{(1)}{=} f^{N-3}(999) \stackrel{(2)}{=} f^{N-2}(1004). \end{aligned}\]Repeating this process, we see that \[f^N(1004) = f^{N-2}(1004) = f^{N-4}(1004) = \dots = f^3(1004).\](The pattern breaks down for $f^k(1004)$ when $k$ is small, so it is not true that $f^3(1004) = f(1004)$.) Now, we have \[f^3(1004) \stackrel{(1)}{=} f^2(1001) \stackrel{(1)}{=} f(998) \stackrel{(2)}{=} f^2(1003) \stackrel{(1)}{=} f(1000) \stackrel{(1)}{=} \boxed{997}.\]
Define \[c_k = k + \cfrac{1}{2k + \cfrac{1}{2k + \cfrac{1}{2k + \dotsb}}}.\]Calculate $\sum_{k = 1}^{11} c_k^2.$
We can write \[c_k = k + \cfrac{1}{2k + \cfrac{1}{2k + \cfrac{1}{2k + \dotsb}}} = k + \cfrac{1}{k + k + \cfrac{1}{2k + \cfrac{1}{2k + \dotsb}}} = k + \frac{1}{k + c_k}.\]Then $c_k - k = \frac{1}{c_k + k},$ so $c_k^2 - k^2 = 1.$ Hence, $c_k^2 = k^2 + 1.$ Therefore, \[\sum_{k = 1}^{11} c_k^2 = \sum_{k = 1}^{11} (k^2 + 1).\]In general, \[\sum_{k = 1}^n k^2 = \frac{n(n + 1)(2n + 1)}{6},\]so \[\sum_{k = 1}^{11} (k^2 + 1) = \frac{11 \cdot 12 \cdot 23}{6} + 11 = \boxed{517}.\]
Find the sum of all real solutions to the equation \[\sqrt{x} + \sqrt{\frac{4}{x}} + \sqrt{x + \frac{4}{x}} = 6.\]
We want to square the equation in order to eliminate the radicals. To do so, we first move the $\sqrt{x+\frac4x}$ term to the right-hand side, giving \[\sqrt{x} + \sqrt{\frac{4}{x}} = 6 - \sqrt{x+\frac{4}{x}}.\]Now we see that squaring will produce lots of common terms on the left-hand and right-hand sides, which cancel: \[\begin{aligned} \\ \left(\sqrt{x} + \sqrt{\frac{4}{x}}\right)^2 &= \left(6 - \sqrt{x+\frac{4}{x}}\right)^2 \\ x + 4 + \frac 4x &= 36 - 12 \sqrt{x + \frac{4}{x}} + \left(x + \frac{4}{x}\right) \end{aligned}\]which simplifies to $3\sqrt{x+\frac{4}{x}} = 8.$ Squaring both sides, multiplying, and rearranging gives the quadratic \[9x^2 - 64x + 36 = 0.\]By Vieta's formulas, the sum of the roots of this quadratic is $\boxed{\frac{64}{9}}.$ To be complete, we must check that both of these roots satisfy the original equation. There are two steps in our above solution which could potentially not be reversible: squaring the equation \[\sqrt x + \sqrt{\frac 4x} = 6 - \sqrt{x+\frac 4x},\]and squaring the equation \[3\sqrt{x+\frac 4x} = 8.\]To check that these steps are reversible, we need to make sure that both sides of the equations in both steps are nonnegative whenever $x$ is a root of $9x^2-64x+36=0.$ This quadratic is equivalent to $x+\frac4x=\frac{64}{9},$ so $6-\sqrt{x+\frac4x}=6-\sqrt{\frac{64}{9}}=\frac{10}{3},$ which is positive, and $3\sqrt{x+\frac{4}{x}} = 3\sqrt{\frac{64}{9}} = 8,$ which is also positive. Therefore, all our steps were reversible, so both roots of the quadratic satisfy the original equation as well.
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*}
Find the numerical value of $k$ for which \[\frac{7}{x + y} = \frac{k}{x + z} = \frac{11}{z - y}.\]
In general, if we have fractions $\frac{a}{b} = \frac{c}{d},$ then \[\frac{a}{b} = \frac{c}{d} = \frac{a + c}{b + d}.\]To see why, let $k = \frac{a}{b} = \frac{c}{d}.$ Then $a = kb$ and $c = kd,$ so \[\frac{a + c}{b + d} = \frac{kb + kd}{b + d} = k.\]Applying this here, we get \[\frac{7}{x + y} = \frac{11}{z - y} = \frac{7 + 11}{(x + y) + (z - y)} = \frac{18}{x + z}.\]Hence, $k = \boxed{18}.$
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}.\]
Find \[\min_{y \in \mathbb{R}} \max_{0 \le x \le 1} |x^2 - xy|.\]
The graph of \[x^2 - xy = \left( x - \frac{y}{2} \right)^2 - \frac{y^2}{4}\]is a parabola with vertex at $\left( \frac{y}{2}, -\frac{y^2}{4} \right).$ We divide into cases, based on the value of $y.$ If $y \le 0,$ then \[|x^2 - xy| = x^2 - xy\]for $0 \le x \le 1.$ Since $x^2 - xy$ is increasing on this interval, the maximum value occurs at $x = 1,$ which is $1 - y.$ If $0 \le y \le 1,$ then \[|x^2 - xy| = \left\{ \begin{array}{cl} xy - x^2 & \text{for $0 \le x \le y$}, \\ x^2 - xy & \text{for $y \le x \le 1$}. \end{array} \right.\]Thus, for $0 \le x \le y,$ the maximum is $\frac{y^2}{4},$ and for $y \le x \le 1,$ the maximum is $1 - y.$ If $y \ge 1,$ then \[|x^2 - xy| = xy - x^2\]for $0 \le x \le 1.$ If $1 \le y \le 2,$ then the maximum value is $\frac{y^2}{4},$ and if $y \ge 2,$ then the maximum value is $y - 1.$ For $y \le 0,$ the maximum value is $1 - y,$ which is at least 1. For $1 \le y \le 2,$ the maximum value is $\frac{y^2}{4},$ which is at least $\frac{1}{4}.$ For $y \ge 2,$ the maximum value is $y - 1,$ which is at least 1. For $0 \le y \le 1,$ we want to compare $\frac{y^2}{4}$ and $1 - y.$ The inequality \[\frac{y^2}{4} \ge 1 - y\]reduces to $y^2 + 4y - 4 \ge 0.$ The solutions to $y^2 + 4y - 4 = 0$ are $-2 \pm 2 \sqrt{2}.$ Hence if $0 \le y \le -2 + 2 \sqrt{2},$ then the maximum is $1 - y,$ and if $-2 + 2 \sqrt{2} \le y \le 1,$ then the maximum is $\frac{y^2}{4}.$ Note that $1 - y$ is decreasing for $0 \le y \le -2 + 2 \sqrt{2},$ and $\frac{y^2}{4}$ is increasing for $-2 + 2 \sqrt{2} \le y \le 1,$ so the minimum value of the maximum value occurs at $y = -2 + 2 \sqrt{2},$ which is \[1 - (-2 + 2 \sqrt{2}) = 3 - 2 \sqrt{2}.\]Since this is less than $\frac{1}{4},$ the overall minimum value is $\boxed{3 - 2 \sqrt{2}}.$
Find the maximum value of \[f(x) = 3x - x^3\]for $0 \le x \le \sqrt{3}.$
Graphing the function, or trying different values of $x,$ we may think that the function is maximized at $x = 1,$ which would make the maximum value 2. To confirm this, we can consider the expression \[2 - f(x) = x^3 - 3x + 2.\]We know that this is zero at $x = 1,$ so $x - 1$ is a factor: \[2 - f(x) = (x - 1)(x^2 + x - 2) = (x - 1)^2 (x + 2).\]Since $0 \le x \le \sqrt{3},$ $x + 2$ is always positive. Hence, $f(x) \le 2$ for all $x,$ which confirms that the maximum value is $\boxed{2}.$
If $a$,$b$, and $c$ are positive real numbers such that $a(b+c) = 152$, $b(c+a) = 162$, and $c(a+b) = 170$, then find $abc.$
Adding the given equations gives $2(ab+bc+ca) = 484$, so $ab+bc+ca = 242$. Subtracting from this each of the given equations yields $bc=90$, $ca=80$, and $ab=72$. It follows that $a^2b^2c^2 = 90 \cdot 80 \cdot 72 = 720^2$. Since $abc>0$, we have $abc =\boxed{720}$.
Find all real values of $x$ that satisfy $x + \frac{45}{x-4} = -10.$ Enter all the solutions, separated by commas.
Multiplying both sides by $x-4,$ we get $x(x-4) + 45 = -10(x-4),$ or $x^2-4x+45 = -10x+40,$ which simplifies to $x^2+6x + 5 = 0.$ This quadratic factors as $(x+1)(x+5) = 0,$ so either $x=-1$ or $x=-5,$ both of which we can check are valid solutions. Therefore, the answer is \[x = \boxed{-1, \; -5}.\]
What is the value of $\left(1 - \frac{1}{2}\right)\left(1-\frac{1}{3}\right)\left(1-\frac{1}{4}\right)\left(1-\frac{1}{5}\right) \dotsm \left(1-\frac{1}{50}\right)$? Express your answer as a common fraction.
After the subtractions are performed, each fraction in the pattern has a numerator that is one less than its denominator. The product then reduces quite nicely, leaving just the frst numerator and the last denominator, as follows: $\frac{1}{2}\times\frac{2}{3}\times\frac{3}{4}\times \cdots\times\frac{49}{50} = \boxed{\frac{1}{50}}$.
The first four terms in an arithmetic sequence are $x + y, x - y, xy,$ and $x/y,$ in that order. What is the fifth term?
Note that $(x - y) - (x + y) = xy - (x - y),$ which simplifies to $xy - x + 3y = 0.$ Solving for $x,$ we find \[x = \frac{3y}{1 - y}.\]Also, $(x - y) - (x + y) = \frac{x}{y} - xy,$ which simplifies to \[\frac{x}{y} - xy + 2y = 0.\]Substituting $x = \frac{3y}{1 - y},$ we get \[\frac{3}{1 - y} - \frac{3y^2}{1 - y} + 2y = 0.\]This simplifies to $5y^2 - 2y - 3 = 0,$ which factors as $(y - 1)(5y + 3) = 0,$ so $y = 1$ or $y = -\frac{3}{5}.$ If $y = 1,$ then $x = \frac{3y}{1 - y}$ is not defined, so $y = -\frac{3}{5}.$ Then \[x = \frac{3y}{1 - y} = \frac{3 (-3/5)}{1 + 3/5} = -\frac{9}{8}.\]Then the common difference of the arithmetic sequence is $(x - y) - (x + y) = -2y = \frac{6}{5},$ so the fifth term is \[\frac{x}{y} + \frac{6}{5} = \frac{15}{8} + \frac{6}{5} = \boxed{\frac{123}{40}}.\]
Let $P(z) = z^8 + \left(4\sqrt{3} + 6\right)z^4 - \left(4\sqrt{3} + 7\right)$. What is the minimum perimeter among all the $8$-sided polygons in the complex plane whose vertices are precisely the zeros of $P(z)$?
First, we can factor $P(z) = z^8 + (4 \sqrt{3} + 6) z^4 - (4 \sqrt{3} + 7)$ as \[P(z) = (z^4 - 1)(z^4 + 4 \sqrt{3} + 7).\]The solutions to $z^4 - 1 = 0$ are 1, $-1,$ $i,$ and $-i$. If $z^4 + 4 \sqrt{3} + 7 = 0,$ then \[z^4 = -4 \sqrt{3} - 7 = (-1)(4 \sqrt{3} + 7),\]so $z^2 = \pm i \sqrt{4 \sqrt{3} + 7}.$ We try to simplify $\sqrt{4 \sqrt{3} + 7}.$ Let $\sqrt{4 \sqrt{3} + 7} = a + b.$ Squaring both sides, we get \[4 \sqrt{3} + 7 = a^2 + 2ab + b^2.\]Set $a^2 + b^2 = 7$ and $2ab = 4 \sqrt{3}.$ Then $ab = 2 \sqrt{3},$ so $a^2 b^2 = 12.$ We can then take $a^2 = 4$ and $b^2 = 3,$ so $a = 2$ and $b = \sqrt{3}.$ Thus, \[\sqrt{4 \sqrt{3} + 7} = 2 + \sqrt{3},\]and \[z^2 = \pm i (2 + \sqrt{3}).\]We now try to find the square roots of $2 + \sqrt{3},$ $i,$ and $-i.$ Let $\sqrt{2 + \sqrt{3}} = a + b.$ Squaring both sides, we get \[2 + \sqrt{3} = a^2 + 2ab + b^2.\]Set $a^2 + b^2 = 2$ and $2ab = \sqrt{3}.$ Then $a^2 b^2 = \frac{3}{4},$ so by Vieta's formulas, $a^2$ and $b^2$ are the roots of \[t^2 - 2t + \frac{3}{4} = 0.\]This factors as $\left( t - \frac{1}{2} \right) \left( t - \frac{3}{2} \right) = 0,$ so $a^2$ and $b^2$ are equal to $\frac{1}{2}$ and $\frac{3}{2}$ in some order, so we can take $a = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}$ and $b = \sqrt{\frac{3}{2}} = \frac{\sqrt{6}}{2}.$ Hence, \[\sqrt{2 + \sqrt{3}} = \frac{\sqrt{2} + \sqrt{6}}{2} = \frac{\sqrt{2}}{2} (1 + \sqrt{3}).\]Let $(x + yi)^2 = i,$ where $x$ and $y$ are real numbers. Expanding, we get $x^2 + 2xyi - y^2 = i.$ Setting the real and imaginary parts equal, we get $x^2 = y^2$ and $2xy = 1.$ Then $4x^2 y^2 = 1,$ so $4x^4 = 1.$ Thus, $x = \pm \frac{1}{\sqrt{2}},$ and the square roots of $i$ are \[\frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} i = \frac{\sqrt{2}}{2} (1 + i), \ -\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} i = -\frac{\sqrt{2}}{2} (1 + i).\]Similarly, we can find that the square roots of $-i$ are \[\frac{1}{\sqrt{2}} - \frac{1}{\sqrt{2}} i = \frac{\sqrt{2}}{2} (1 - i), \ -\frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} i = \frac{\sqrt{2}}{2} (-1 + i).\]Hence, the solutions to $z^4 = -4 \sqrt{3} - 7$ are \[\frac{1 + \sqrt{3}}{2} (1 + i), \ -\frac{1 + \sqrt{3}}{2} (1 + i), \ \frac{1 + \sqrt{3}}{2} (1 - i), \ \frac{1 + \sqrt{3}}{2} (-1 + i).\]We plot these, along with 1, $-1,$ $i,$ $-i$ in the complex plane. [asy] unitsize(2 cm); pair A, B, C, D, E, F, G, H; A = (1,0); B = (-1,0); C = (0,1); D = (0,-1); E = (1 + sqrt(3))/2*(1,1); F = (1 + sqrt(3))/2*(-1,-1); G = (1 + sqrt(3))/2*(1,-1); H = (1 + sqrt(3))/2*(-1,1); draw((-1.5,0)--(1.5,0)); draw((0,-1.5)--(0,1.5)); draw(A--C--B--D--cycle,dashed); draw(A--E--C--H--B--F--D--G--cycle,dashed); dot("$1$", A, NE, fontsize(10)); dot("$-1$", B, NW, fontsize(10)); dot("$i$", C, NE, fontsize(10)); dot("$-i$", D, SE, fontsize(10)); dot("$\frac{1 + \sqrt{3}}{2} (1 + i)$", E, NE, fontsize(10)); dot("$-\frac{1 + \sqrt{3}}{2} (1 + i)$", F, SW, fontsize(10)); dot("$\frac{1 + \sqrt{3}}{2} (1 - i)$", G, SE, fontsize(10)); dot("$\frac{1 + \sqrt{3}}{2} (-1 + i)$", H, NW, fontsize(10)); [/asy] The four complex numbers 1, $-1,$ $i,$ $-i$ form a square with side length $\sqrt{2}.$ The distance between $\frac{1 + \sqrt{3}}{2} (1 + i)$ and 1 is \begin{align*} \left| \frac{1 + \sqrt{3}}{2} (1 + i) - 1 \right| &= \left| \frac{-1 + \sqrt{3}}{2} + \frac{1 + \sqrt{3}}{2} i \right| \\ &= \sqrt{\left( \frac{-1 + \sqrt{3}}{2} \right)^2 + \left( \frac{1 + \sqrt{3}}{2} \right)^2} \\ &= \sqrt{\frac{1 - 2 \sqrt{3} + 3 + 1 + 2 \sqrt{3} + 3}{4}} \\ &= \sqrt{2}. \end{align*}Thus, each "outer" root has a distance of $\sqrt{2}$ to its nearest neighbors. So to the form the polygon with the minimum perimeter, we join each outer root to its nearest neighbors, to form an octagon with perimeter $\boxed{8 \sqrt{2}}.$