/

AMC12 2023 B

AMC12 2023 B · Q23

AMC12 2023 B · Q23. It mainly tests Counting & probability misc, Primes & prime factorization.

When $n$ standard six-sided dice are rolled, the product of the numbers rolled can be any of $936$ possible values. What is $n$?
当掷 $n$ 个标准六面骰子时,所掷数字的乘积可以是 $936$ 个可能的值。$n$ 是多少?
(A) 11 11
(B) 6 6
(C) 8 8
(D) 10 10
(E) 9 9
Answer
Correct choice: (A)
正确答案:(A)
Solution
We start by trying to prove a function of $n$, and then we can apply the function and equate it to $936$ to find the value of $n$. It is helpful to think of this problem in the format $(1+2+3+4+5+6) \cdot (1+2+3+4+5+6) \dots$. Note that if we represent the scenario in this manner, we can think of picking a $1$ for one factor and then a $5$ for another factor to form their product - this is similar thinking to when we have the factorized form of a polynomial. Unfortunately this is not quite accurate to the problem because we can reach the same product in many ways: for example for $n=2$, $4$ can be reached by picking $1$ and $4$ or $2$ and $2$. However, this form gives us insights that will be useful later in the problem. Note that there are only $3$ primes in the set $\{1,2,3,4,5,6\}$: $2,3,$ and $5$. Thus if we're forming the product of possible values of a dice roll, the product has to be written in the form $2^h \cdot 3^i \cdot 5^j$ (the choice of variables will become clear later), for integer nonnegative values $h,i,j$. So now the problem boils down to how many distinct triplets $(h,i,j)$ can be formed by taking the product of $n$ dice values. We start our work on representing $j$: the powers of $5$, because it is the simplest in this scenario because there is only one factor of $5$ in the set. Because of this, having $j$ fives in our prime factorization of the product is equivalent to picking $j$ factors from the polynomial $(1+\dots + 6) \cdots$ and choosing each factor to be a $5$. Now that we've selected $j$ factors, there are $n-j$ factors remaining to choose our powers of $3$ and $2$. Suppose our prime factorization of this product contains $i$ powers of $3$. These powers of $3$ can either come from a $3$ factor or a $6$ factor, but since both $3$ and $6$ contain only one power of $3$, this means that a product with $i$ powers of $3$ corresponds directly to picking $i$ factors from the polynomial, each of which is either $3$ or $6$ (but this distinction doesn't matter when we consider only the powers of $3$. Now we can reframe the problem again. Our method will be as follows: Suppose we choose an arbitrary pair $(i,j)$ that match the requirements, corresponding to the number of $3$'s and the number of $5$'s our product will have. Then how many different $h$ values for the powers of $2$ are possible? In the $i+j$ factors we have already chosen, we obviously can't have any factors of $2$ in the $j$ factors with $5$. However, we can have a factor of $2$ pairing with factors of $3$, if we choose a $6$. The maximal possible power of $2$ in these $i$ factors is thus $2^i$, which occurs when we pick every factor to be $6$. We now have $n-i-j$ factors remaining, and we want to allocate these to solely powers of $2$. For each of these factors, we can choose either a $1,2,$ or $4$. Therefore the maximal power of $2$ achieved in these factors is when we pick $4$ for all of them, which is equivalent to $2^{2\cdot (n-i-j)}$. Now if we multiply this across the total $n$ factors (or $n$ dice) we have a total of $2^{2n-2i-2j} \cdot 2^i = 2^{2n-i-2j}$, which is the maximal power of $2$ attainable in the product for a pair $(i,j)$. Now note that every power of $2$ below this power is attainable: we can simply just take away a power of $2$ from an existing factor by dividing by $2$. Therefore the powers of $2$, and thus the $h$ value ranges from $h=0$ to $h=2n-i-2j$, so there are a total of $2n+1-i-2j$ distinct values for $h$ for a given pair $(i,j)$. Now to find the total number of distinct triplets, we must sum this across all possible $i$s and $j$s. Lets take note of our restrictions on $i,j$: the only restriction is that $i+j \leq n$, since we're picking factors from $n$ dice. \[\sum_{i+j\leq n}^{} 2n+1-i-2j = \sum_{i+j \leq n}^{} 2n+1 - \sum_{i+j \leq n}^{} i+2j\] We start by calculating the first term. $2n+1$ is constant, so we just need to find out how many pairs there are such that $i+j \leq n$. Set $i$ to $0$: $j$ can range from $0$ to $n$, then set $i$ to $1$: $j$ can range from $0$ to $n-1$, etc. The total number of pairs is thus $n+1+n+n-1+\dots+1 = \frac{(n+1)(n+2)}{2}$. Therefore the left summation evaluates to \[\frac{(2n+1)(n+1)(n+2)}{2}\] Now we calculate $\sum_{i+j \leq n}^{} i+2j$. This simplifies to $\sum_{i+j \leq n}^{} i + 2 \cdot \sum_{i+j \leq n}^{} j$. Note that because $i+j = n$ is symmetric with respect to $i,j$, the sum of $i$ in all of the pairs will be equal to the sum of $j$ in all of the pairs. Thus this is equal to calculating $3 \cdot \sum_{i+j \leq n}^{} i$. In the pairs, $i=1$ appears for $j$ ranging between $0$ and $n-1$ so the sum here is $1 \cdot (n)$. Similarly $i=2$ appears for $j$ ranging from $0$ to $n-2$, so the sum is $2 \cdot (n-1)$. If we continue the pattern, the sum overall is $(n)+2 \cdot (n-1) + 3 \cdot (n-2) + \dots + (n) \cdot 1$. We can rearrange this as $((n)+(n-1)+ \dots + 1) + ((n-1)+(n-2)+ \dots + 1)+ ((n-2)+(n-3)+ \dots + 1) + \dots + 1)$ \[= \frac{(n)(n+1)}{2} + \frac{(n-1)(n)}{2}+ \dots + 1\] We can write this in easier terms as $\sum_{k=0}^{n} \frac{(k)(k+1)}{2} = \frac{1}{2} \cdot \sum_{k=0}^{n} k^2+k$ \[=\frac{1}{2} \cdot( \sum_{k=0}^{n} k^2 + \sum_{k=0}^{n} k)\] \[= \frac{1}{2} \cdot ( \frac{(n)(n+1)(2n+1)}{6} + \frac{(n)(n+1)}{2})\] \[= \frac{1}{2} \cdot ( \frac{(n)(n+1)(2n+1)}{6} + \frac{3n(n+1)}{6}) = \frac{1}{2} \cdot \frac{n(n+1)(2n+4)}{6}\] \[= \frac{n(n+1)(n+2)}{6}\] We multiply this by $3$ to obtain that \[\sum_{i+j \leq n}^{} i+2j = \frac{n(n+1)(n+2)}{2}\] Thus our final answer for the number of distinct triplets $(h,i,j)$ is: \[\sum_{i+j\leq n}^{} 2n+1-i-2j = \frac{(2n+1)(n+1)(n+2)}{2} - \frac{n(n+1)(n+2)}{2}\] \[= \frac{(n+1)(n+2)}{2} \cdot (2n+1-n) = \frac{(n+1)(n+2)}{2} \cdot (n+1)\] \[= \frac{(n+1)^2(n+2)}{2}\] Now most of the work is done. We set this equal to $936$ and prime factorize. $936 = 12 \cdot 78 = 2^3 \cdot 3^2 \cdot 13$, so $(n+1)^2(n+2) = 936 \cdot 2 = 2^4 \cdot 3^2 \cdot 13$. Clearly $13$ cannot be anything squared and $2^4 \cdot 3^2$ is a perfect square, so $n+2 = 13$ and $n = 11 = \boxed{A}$
我们先尝试证明一个关于 $n$ 的函数,然后应用该函数并令其等于 $936$ 来求 $n$ 的值。 将问题考虑为 $(1+2+3+4+5+6) \cdot (1+2+3+4+5+6) \dots$ 的形式是有帮助的。注意,如果我们这样表示,可以考虑从一个因子选 $1$,另一个选 $5$ 来形成乘积——这类似于多项式因式分解形式中的思考。不幸的是,这并不完全准确,因为同一乘积可以用多种方式达到:例如对于 $n=2$,$4$ 可以由 $1$ 和 $4$ 或 $2$ 和 $2$ 得到。然而,这种形式给我们提供了稍后有用的洞见。 注意集合 $\{1,2,3,4,5,6\}$ 中只有 $3$ 个质数:$2,3,$ 和 $5$。因此,骰子乘积的质因数形式必须是 $2^h \cdot 3^i \cdot 5^j$(变量选择稍后会清楚),其中 $h,i,j$ 为非负整数。现在问题归结为 $n$ 个骰子乘积能形成多少不同的三元组 $(h,i,j)$。 我们从表示 $j$($5$ 的幂)开始,因为这是最简单的,只有 $5$ 有一个因子 $5$。因此,乘积质因数中有 $j$ 个 $5$ 等价于从多项式中选 $j$ 个因子,每个选为 $5$。选完 $j$ 个因子后,剩下 $n-j$ 个因子来选择 $3$ 和 $2$ 的幂。 假设乘积质因数中有 $i$ 个 $3$ 的幂。这些 $3$ 的幂可以来自 $3$ 或 $6$,但两者都只有一个 $3$ 的幂,因此有 $i$ 个 $3$ 的乘积对应于从多项式中选 $i$ 个因子,每个为 $3$ 或 $6$(只考虑 $3$ 的幂时区别不重要)。 现在我们可以重新表述问题。我们的方法如下:假设选择一对 $(i,j)$ 满足要求,对应乘积的 $3$ 和 $5$ 的个数。然后对于 $2$ 的幂,有多少不同的 $h$ 值可能? 在已选的 $i+j$ 个因子中,$j$ 个 $5$ 的因子显然不能有 $2$ 的因子。但是可以有 $2$ 与 $3$ 配对,如果选 $6$。因此这些 $i$ 个因子中 $2$ 的最大幂为 $2^i$,当所有因子选 $6$ 时达到。 现在剩下 $n-i-j$ 个因子,我们要分配纯 $2$ 的幂。对于这些因子,每个可以选 $1,2,$ 或 $4$。因此这些因子中 $2$ 的最大幂是全选 $4$,相当于 $2^{2\cdot (n-i-j)}$。 现在乘以总 $n$ 个因子(骰子),总 $2$ 的最大幂为 $2^{2n-2i-2j} \cdot 2^i = 2^{2n-i-2j}$,这是对于 $(i,j)$ 对可达到的最大 $2$ 幂。注意低于此幂的所有 $2$ 幂都是可达到的:只需从现有因子中减去一个 $2$ 的幂即可。因此 $h$ 从 $0$ 到 $2n-i-2j$,对于给定 $(i,j)$ 有 $2n+1-i-2j$ 个不同的 $h$ 值。 现在要找不同三元组总数,必须对所有可能的 $i,j$ 求和。注意 $i,j$ 的限制:$i+j \leq n$,因为从 $n$ 个骰子选因子。 \[\sum_{i+j\leq n}^{} 2n+1-i-2j = \sum_{i+j \leq n}^{} 2n+1 - \sum_{i+j \leq n}^{} i+2j\] 先算第一项。$2n+1$ 是常数,只需找满足 $i+j \leq n$ 的对数。设 $i=0$:$j$ 从 $0$ 到 $n$,$i=1$:$j$ 从 $0$ 到 $n-1$ 等。总数为 $n+1+n+n-1+\dots+1 = \frac{(n+1)(n+2)}{2}$。因此左和为 \[\frac{(2n+1)(n+1)(n+2)}{2}\] 现在算 $\sum_{i+j \leq n}^{} i+2j$。这简化为 $\sum i + 2 \sum j$。因为 $i+j = n$ 对 $i,j$ 对称,所有对中 $i$ 的和等于 $j$ 的和。因此等于 $3 \cdot \sum i$。 在对中,$i=1$ 出现 $j$ 从 $0$ 到 $n-1$,和为 $1 \cdot (n)$。$i=2$ 出现 $j$ 从 $0$ 到 $n-2$,和为 $2 \cdot (n-1)$。继续模式,总和为 $(n)+2 \cdot (n-1) + 3 \cdot (n-2) + \dots + (n) \cdot 1$。可重排为 $((n)+(n-1)+ \dots + 1) + ((n-1)+(n-2)+ \dots + 1)+ ((n-2)+(n-3)+ \dots + 1) + \dots + 1$ \[= \frac{(n)(n+1)}{2} + \frac{(n-1)(n)}{2}+ \dots + 1\] 可用更易形式写为 $\sum_{k=0}^{n} \frac{(k)(k+1)}{2} = \frac{1}{2} \cdot \sum_{k=0}^{n} k^2+k$ \[=\frac{1}{2} \cdot( \sum_{k=0}^{n} k^2 + \sum_{k=0}^{n} k)\] \[= \frac{1}{2} \cdot ( \frac{(n)(n+1)(2n+1)}{6} + \frac{(n)(n+1)}{2})\] \[= \frac{1}{2} \cdot ( \frac{(n)(n+1)(2n+1)}{6} + \frac{3n(n+1)}{6}) = \frac{1}{2} \cdot \frac{n(n+1)(2n+4)}{6}\] \[= \frac{n(n+1)(n+2)}{6}\] 乘以 $3$ 得 \[\sum_{i+j \leq n}^{} i+2j = \frac{n(n+1)(n+2)}{2}\] 因此不同三元组 $(h,i,j)$ 的总数为: \[\sum_{i+j\leq n}^{} 2n+1-i-2j = \frac{(2n+1)(n+1)(n+2)}{2} - \frac{n(n+1)(n+2)}{2}\] \[= \frac{(n+1)(n+2)}{2} \cdot (2n+1-n) = \frac{(n+1)(n+2)}{2} \cdot (n+1)\] \[= \frac{(n+1)^2(n+2)}{2}\] 现在大部分工作完成了。设其等于 $936$ 并质因数分解。$936 = 12 \cdot 78 = 2^3 \cdot 3^2 \cdot 13$,所以 $(n+1)^2(n+2) = 936 \cdot 2 = 2^4 \cdot 3^2 \cdot 13$。显然 $13$ 不能是平方项,$2^4 \cdot 3^2$ 是完全平方,因此 $n+2 = 13$,$n = 11 = \boxed{A}$
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.