Brian writes down four integers $w > x > y > z$ whose sum is $44$. The pairwise positive differences of these numbers are $1, 3, 4, 5, 6$, and $9$. What is the sum of the possible values for $w$?
Xem đáp án và lời giải
Đáp án: $31$
The largest pairwise difference is $9$, so $w - z = 9$. Let $n$ be either $x$ or $y$. Because $n$ is between $w$ and $z$,
\[9 = w - z = (w - n) + (n - z).\]
Therefore the positive differences $w - n$ and $n - z$ must sum to $9$. The given pairwise differences that sum to $9$ are $3 + 6$ and $4 + 5$. The remaining pairwise difference must be $x - y = 1$.
The second largest pairwise difference is $6$, so either $w - y = 6$ or $x - z = 6$. In the first case the set of four numbers may be expressed as $\{w, w - 5, w - 6, w - 9\}$. Hence $4w - 20 = 44$, so $w = 16$. In the second case $w - x = 3$, and the four numbers may be expressed as $\{w, w - 3, w - 4, w - 9\}$. Therefore $4w - 16 = 44$, so $w = 15$. The sum of the possible values for $w$ is $16 + 15 = 31$.
Note: The possible sets of four numbers are $\{16, 11, 10, 7\}$ and $\{15, 12, 11, 6\}$.
A $3 \times 3$ square is partitioned into $9$ unit squares. Each unit square is painted either white or black with each color being equally likely, chosen independently and at random. The square is then rotated $90^\circ$ clockwise about its center, and every white square in a position formerly occupied by a black square is painted black. The colors of all other squares are left unchanged. What is the probability that the grid is now entirely black?
Xem đáp án và lời giải
Đáp án: $\dfrac{49}{512}$
There are $2^4 = 16$ possible initial colorings for the four corner squares. If their initial coloring is $BBBB$, one of the four cyclic permutations of $BBBW$, or one of the two cyclic permutations of $BWBW$, then all four corner squares are black at the end. If the initial coloring is $WWWW$, one of the four cyclic permutations of $BWWW$, or one of the four cyclic permutations of $BBWW$, then at least one corner square is white at the end. Hence all four corner squares are black at the end with probability $\dfrac{7}{16}$. Similarly, all four edge squares are black at the end with probability $\dfrac{7}{16}$. The center square is black at the end if and only if it was initially black, so it is black at the end with probability $\dfrac{1}{2}$. The probability that all nine squares are black at the end is $\dfrac{1}{2} \cdot \left(\dfrac{7}{16}\right)^2 = \dfrac{49}{512}$.
Suppose that one of every $500$ people in a certain population has a particular disease, which displays no symptoms. A blood test is available for screening for this disease. For a person who has this disease, the test always turns out positive. For a person who does not have the disease, however, there is a $2\%$ false positive rate—in other words, for such people, $98\%$ of the time the test will turn out negative, but $2\%$ of the time the test will turn out positive and will incorrectly indicate that the person has the disease. Let $p$ be the probability that a person who is chosen at random from this population and gets a positive test result actually has the disease. Which of the following is closest to $p$?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{11}$
On average for every $500$ people tested, $1$ will test positive because he or she has the disease, while $2\% \cdot 499 \approx 10$ will test positive even though they do not have the disease. In other words, of approximately $11$ people who test positive, only $1$ has the disease, so the probability is approximately $\dfrac{1}{11}$.
Let $(a_1, a_2, \dots, a_{10})$ be a list of the first $10$ positive integers such that for each $2 \leqslant i \leqslant 10$ either $a_i + 1$ or $a_i - 1$ or both appear somewhere before $a_i$ in the list. How many such lists are there?
Xem đáp án và lời giải
Đáp án: $512$
If $a_1 = 1$, then the list must be an increasing sequence. Otherwise let $k = a_1$. Then the numbers $1$ through $k - 1$ must appear in increasing order from right to left, and the numbers from $k$ through $10$ must appear in increasing order from left to right. For $2 \leqslant k \leqslant 10$ there are $\binom{9}{k-1}$ ways to choose positions in the list for the numbers from $1$ through $k - 1$, and the positions of the remaining numbers are then determined. The number of lists is therefore
\[
1 + \sum_{k=2}^{10} \binom{9}{k-1} = \sum_{k=0}^{9} \binom{9}{k} = 2^9 = 512.
\]
Alternatively, if $a_{10}$ is not $1$ or $10$, then numbers larger than $a_{10}$ must appear in reverse order in the list, and numbers smaller than $a_{10}$ must appear in order. However, $1$ and $10$ cannot both appear first in the list, so the placement of either $1$ or $10$ would violate the given conditions. Hence $a_{10} = 1$ or $10$. By similar reasoning, when reading the list from right to left the number that appears next must be the smallest or largest unused integer from $1$ to $10$. This gives $2$ choices for each term until there is one number left. Hence there are $2^9 = 512$ choices.
The number $2013$ has the property that its units digit is the sum of its other digits, that is $2 + 0 + 1 = 3$. How many integers less than $2013$ but greater than $1000$ share this property?
Xem đáp án và lời giải
Đáp án: $46$
Between $2000$ and $2012$, any such number starts with $20\dots$, so its units digit must be at least $2 + 0 = 2$; checking $200d$ gives $2 + 0 + 0 = 2 \implies 2002$, and $201d$ gives $2 + 0 + 1 = 3 \implies 2013$ (which is excluded). Thus $2002$ is the only solution in $[2000, 2012]$.
For numbers in $[1001, 1999]$, the thousands digit is $1$, so a number $\overline{1bcd}$ satisfies $d = 1 + b + c$, meaning $b + c = d - 1$. For each units digit $d \in \{1, 2, \dots, 9\}$, the nonnegative integer pairs $(b, c)$ with $b + c = d - 1$ (automatically $b, c \leqslant 8$) number exactly $d$ (namely $b \in \{0, 1, \dots, d - 1\}$). Summing over $d = 1, 2, \dots, 9$ gives $1 + 2 + \dots + 9 = \dfrac{9 \cdot 10}{2} = 45$ numbers. Including $2002$, there are $45 + 1 = 46$ such integers.
The regular octagon $ABCDEFGH$ has its center at $J$. Each of the vertices and the center are to be associated with one of the digits $1$ through $9$, with each digit used once, in such a way that the sums of the numbers on the lines $AJE$, $BJF$, $CJG$, and $DJH$ are equal. In how many ways can this be done?
Xem đáp án và lời giải
Đáp án: $1152$
Let $j$ be the digit placed at the center $J$, and let $S$ be the common sum of the three digits on each of the four lines $AJE$, $BJF$, $CJG$, and $DJH$. Adding all four line sums counts $j$ four times and every other digit from $1$ to $9$ once, so
\[
4S = 3j + (1 + 2 + \dots + 9) = 3j + 45.
\]
For $45 + 3j$ to be divisible by $4$ with $j \in \{1, 2, \dots, 9\}$, we need $3j \equiv 3 \pmod{4}$, so $j \equiv 1 \pmod{4}$, giving $3$ possible values: $j \in \{1, 5, 9\}$.
For each valid $j$, the remaining $8$ digits have a fixed average $\dfrac{S - j}{2}$ and uniquely partition into $4$ pairs each summing to $S - j$ (for instance, when $j = 1$, $S = 12$, so the pairs summing to $11$ are $\{2, 9\}$, $\{3, 8\}$, $\{4, 7\}$, and $\{5, 6\}$). There are $4! = 24$ ways to assign these $4$ pairs to the $4$ opposite vertex pairs $(A, E), (B, F), (C, G), (D, H)$, and $2^4 = 16$ ways to order the two digits within each pair. Hence the total number of valid assignments is
\[
3 \cdot 4! \cdot 2^4 = 3 \cdot 24 \cdot 16 = 1152.
\]
A list of $11$ positive integers has a mean of $10$, a median of $9$, and a unique mode of $8$. What is the largest possible value of an integer in the list?
Xem đáp án và lời giải
Đáp án: $35$
Order the $11$ positive integers as $x_1 \leqslant x_2 \leqslant \dots \leqslant x_{11}$. We are given:
Unique mode: $8$ (so every occurrence of $8$ lies among $x_1, \dots, x_5$).
To maximize $x_{11}$, we must minimize $x_1 + x_2 + \dots + x_{10}$ while ensuring $8$ strictly outnumbers every other value's frequency $f$:
Case 1 ($8$ appears twice, $f(8) = 2$): No other integer can repeat, so the minimal choice is $(1, 2, 3, 8, 8, 9, 10, 11, 12, 13)$, which sums to $77$ and gives $x_{11} = 110 - 77 = 33$.
Case 2 ($8$ appears three times, $f(8) = 3$): Other integers may appear up to $2$ times! Minimizing $x_1, x_2$ gives $(1, 1)$, followed by $(8, 8, 8)$, and minimizing $x_6, \dots, x_{10} \geqslant 9$ with at most $2$ copies each gives $(9, 9, 10, 10, 11)$. Their sum is
$$(1 + 1 + 8 + 8 + 8) + (9 + 9 + 10 + 10 + 11) = 26 + 49 = 75,$$
yielding $x_{11} = 110 - 75 = 35$.
Case 3 ($8$ appears four times, $f(8) = 4$): $(1, 8, 8, 8, 8, 9, 9, 9, 10, 10)$ sums to $80$, giving $x_{11} = 30 < 35$.
Checking $(1, 1, 8, 8, 8, 9, 9, 10, 10, 11, 35)$ confirms mean $10$, median $9$, and unique mode $8$. Hence the maximum possible integer is $35$.
For how many integers $x$ is the number $x^4 - 51x^2 + 50$ negative?
Xem đáp án và lời giải
Đáp án: $12$
Factoring the polynomial as a quadratic in $x^2$:
\[
x^4 - 51x^2 + 50 = (x^2 - 1)(x^2 - 50).
\]
The expression is negative when the two factors have opposite signs:
\[
(x^2 - 1)(x^2 - 50) < 0 \iff 1 < x^2 < 50.
\]
Taking square roots for positive and negative integers $x$:
For $x > 0$: $1 < x < \sqrt{50} \approx 7.07$, so $x \in \{2, 3, 4, 5, 6, 7\}$ ($6$ integers).
For $x < 0$: $-\sqrt{50} < x < -1$, so $x \in \{-7, -6, -5, -4, -3, -2\}$ ($6$ integers).
Hexadecimal (base-$16$) numbers are written using the numeric digits $0$ through $9$ as well as the letters $A$ through $F$ to represent $10$ through $15$. Among the first $1000$ positive integers, there are $n$ whose hexadecimal representation contains only numeric digits. What is the sum of the digits of $n$?
Xem đáp án và lời giải
Đáp án: $21$
Writing $1000$ in base $16$ gives $1000 = 3 \cdot 16^2 + 14 \cdot 16 + 8 = 3E8_{16}$. Hence any positive integer from $1$ to $1000$ has at most $3$ hexadecimal digits, and the largest such integer using only the numeric digits $0$ through $9$ is $399_{16} = 3 \cdot 16^2 + 9 \cdot 16 + 9 = 921 \leqslant 1000$. Each $3$-digit hexadecimal string (allowing leading zeros) with first digit in $\{0, 1, 2, 3\}$ and second and third digits in $\{0, 1, \dots, 9\}$ represents an integer in $\{0, 1, \dots, 921\}$. There are $4 \cdot 10 \cdot 10 = 400$ such strings, and excluding $000_{16} = 0$ leaves $n = 399$. The sum of the digits of $n$ is $3 + 9 + 9 = 21$.
Eight people are sitting around a circular table, each holding a fair coin. All eight people flip their coins and those who flip heads stand while those who flip tails remain seated. What is the probability that no two adjacent people will stand?
Xem đáp án và lời giải
Đáp án: $\dfrac{47}{256}$
There are $2^8 = 256$ equally likely outcomes for the $8$ coin flips. We count the number of outcomes with no two adjacent heads according to the number $k$ of heads:
For $k = 0$: there is $1$ outcome.
For $k = 1$: there are $8$ outcomes.
For $k = 2$: out of $\mathrm{C}_8^2 = 28$ pairs of people, $8$ pairs are adjacent, leaving $28 - 8 = 20$ outcomes.
For $k = 3$: out of $\mathrm{C}_8^3 = 56$ triples, $8$ triples consist of three consecutive people, and $8 \cdot 4 = 32$ triples consist of two adjacent people plus one non-adjacent person (choose the adjacent pair in $8$ ways, then choose the third person from the $4$ non-adjacent seats). This leaves $56 - 8 - 32 = 16$ outcomes.
For $k = 4$: heads and tails must alternate around the circle, giving $2$ outcomes.
For $k \geqslant 5$: by the Pigeonhole Principle, at least two heads must be adjacent, giving $0$ outcomes.
In total there are $1 + 8 + 20 + 16 + 2 = 47$ valid outcomes, so the probability is $\dfrac{47}{256}$.
Johann has $64$ fair coins. He flips all the coins. Any coin that lands on tails is tossed again. Coins that land on tails on the second toss are tossed a third time. What is the expected number of coins that are now heads?
Xem đáp án và lời giải
Đáp án: $56$
A single coin lands on tails after all three rounds if and only if it lands on tails on all $3$ tosses.
Since the coin is fair, the probability that it shows tails on all $3$ tosses is:
\[
\left(\dfrac{1}{2}\right)^3 = \dfrac{1}{8}.
\]
Therefore, the probability that a coin ends up showing heads is:
\[
1 - \dfrac{1}{8} = \dfrac{7}{8}.
\]
By linearity of expectation, the expected number of coins showing heads among the $64$ coins is:
\[
64 \times \dfrac{7}{8} = 56.
\]
Erin the ant starts at a given corner of a cube and crawls along exactly $7$ edges in such a way that she visits every corner exactly once and then finds that she is unable to return along an edge to her starting point. How many paths are there meeting these conditions?
Xem đáp án và lời giải
Đáp án: $6$
A path visiting every one of the $8$ vertices of the cube exactly once is a Hamiltonian path of length $7$.
Let the starting vertex be $v_0$.
The cube is a bipartite graph with vertices partitioned into two partite sets $X$ and $Y$ of $4$ vertices each, where $v_0 \in X$.
In any path on the cube, the vertices alternate between $X$ and $Y$:
\[
v_0 (X) \to v_1 (Y) \to v_2 (X) \to v_3 (Y) \to v_4 (X) \to v_5 (Y) \to v_6 (X) \to v_7 (Y).
\]
Thus the final vertex $v_7$ belongs to $Y$. The neighbors of $v_0$ in the cube all belong to $Y$.
The total number of Hamiltonian paths starting at $v_0$ is $3 \times 2 \times 2 \times 2 \times 1 = 24$, or we can count directly:
For the ant to be able to return to $v_0$ along an edge, $v_7$ must be adjacent to $v_0$, which forms a Hamiltonian cycle.
A cube has $\dfrac{3 \times 4 \times 1}{2} = 6$ directed Hamiltonian cycles, or $12$ directed Hamiltonian cycles starting from a fixed vertex (since each cycle passes through $v_0$ in $2$ directions, and there are $6$ undirected cycles, giving $12$ closed paths).
Out of the $18$ Hamiltonian paths that end at one of the other $2$ vertices of $Y$ not adjacent to $v_0$, or analyzing the symmetries:
Erin chooses $v_1$ ($3$ choices). Let the face containing $v_0, v_1$ be considered; following the condition that the ant cannot return to $v_0$:
Exactly $6$ such open Hamiltonian paths exist from the fixed corner $v_0$.
Each vertex of a cube is to be labeled with an integer from $1$ through $8$, with each integer being used once, in such a way that the sum of the four numbers on the vertices of a face is the same for each face. Arrangements that can be obtained from each other through rotations of the cube are considered to be the same. How many different arrangements are possible?
Xem đáp án và lời giải
Đáp án: $6$
The sum of the numbers $1$ through $8$ is
\[
1 + 2 + \dots + 8 = \dfrac{8 \times 9}{2} = 36.
\]
Because each vertex belongs to $3$ faces, the sum of the $6$ face sums is
\[
3 \times 36 = 108.
\]
Since all $6$ faces have the same sum, each face sum must be
\[
\dfrac{108}{6} = 18.
\]
For each pair of opposite faces, the sum of their vertex values is $36$.
It follows that diagonally opposite pairs of vertices on the cube must sum to $9$:
$\{1, 8\}, \{2, 7\}, \{3, 6\}, \{4, 5\}$.
We can fix the rotation of the cube by placing $1$ at the bottom-left-front vertex, which forces $8$ to be at the bottom-right-front (or adjacent vertex).
The numbers $4, 6, 7$ must label the remaining vertices of that face, which can be done in $3! = 6$ ways.
Each such choice uniquely determines the positions of their partners $5, 3, 2$ on the opposite face.
Therefore, there are exactly $6$ possible rotational arrangements.
For some particular value of $N$, when $(a + b + c + d + 1)^N$ is expanded and like terms are combined, the resulting expression contains exactly $1001$ terms that include all four variables, $a, b, c,$ and $d$, each to some positive power. What is $N$?
Xem đáp án và lời giải
Đáp án: $14$
A general term in the expansion of $(a + b + c + d + 1)^N$ is of the form
\[
C \cdot a^p b^q c^r d^s \cdot 1^m,
\]
where $p, q, r, s, m$ are nonnegative integers such that
\[
p + q + r + s + m = N.
\]
For the term to contain all four variables $a, b, c,$ and $d$ each to a positive power, we require
\[
p \geqslant 1, \quad q \geqslant 1, \quad r \geqslant 1, \quad s \geqslant 1, \quad m \geqslant 0.
\]
Let $p = i + 1, q = j + 1, r = k + 1, s = l + 1$, where $i, j, k, l \geqslant 0$.
Then
\[
(i + 1) + (j + 1) + (k + 1) + (l + 1) + m = N \iff i + j + k + l + m = N - 4.
\]
By the stars and bars method, the number of nonnegative integer solutions to this equation with $5$ variables is
\[
\binom{(N - 4) + 5 - 1}{5 - 1} = \binom{N}{4}.
\]
We are given that this number is $1001$:
\[
\binom{N}{4} = \dfrac{N(N - 1)(N - 2)(N - 3)}{24} = 1001.
\]
Notice that $1001 = 7 \times 11 \times 13$.
Multiplying by $24$:
\[
N(N - 1)(N - 2)(N - 3) = 24 \times 7 \times 11 \times 13 = 14 \times 13 \times 12 \times 11.
\]
Therefore, $N = 14$.
In how many ways can $345$ be written as the sum of an increasing sequence of two or more consecutive positive integers?
Xem đáp án và lời giải
Đáp án: $7$
Let the sum of $k$ consecutive positive integers starting at $a \geqslant 1$ be
\[
a + (a + 1) + \dots + (a + k - 1) = ka + \dfrac{k(k - 1)}{2} = 345.
\]
Multiplying by $2$:
\[
2ka + k(k - 1) = 690 \iff k(2a + k - 1) = 690.
\]
Here $k$ and $2a + k - 1$ are factors of $690$ of opposite parity, with $k \geqslant 2$ and $2a + k - 1 > k$.
The prime factorization of $690$ is
\[
690 = 2 \times 3 \times 5 \times 23.
\]
The odd factors of $690$ are the divisors of $3 \times 5 \times 23 = 345$, which has $(1+1)(1+1)(1+1) = 8$ divisors:
\[
\{1, 3, 5, 15, 23, 69, 115, 345\}.
\]
Each odd divisor $d > 1$ gives a unique solution for $k$:
If $k$ is odd, $k = d \in \{3, 5, 15, 23\}$ ($4$ values).
If $2a + k - 1$ is odd, $k$ is even, $k = \dfrac{690}{d}$ for $d \in \{69, 115, 345\}$, giving $k \in \{10, 6, 2\}$ ($3$ values).
Total number of valid values of $k \geqslant 2$ is $4 + 3 = 7$.