Problem 576: (2023 AMC 12b, 23)
When $n$ standard six-sided dice are rolled, the product of the numbers rolled can be any of $936$ possible values. What is $n$?
$\textbf{(A)}~11\qquad\textbf{(B)}~6\qquad\textbf{(C)}~8\qquad\textbf{(D)}~10\qquad\textbf{(E)}~9$
- Each die contributes one of the exponent vectors of $2^a3^b5^c$: $1\to(0,0,0)$, $2\to(1,0,0)$, $3\to(0,1,0)$, $4\to(2,0,0)$, $5\to(0,0,1)$, $6\to(1,1,0)$.
- Let $c$ fives be rolled and let $s=n-c$. The other $s$ dice give $b\le s$ and, once $b$ is fixed, every $a$ with $0\le a\le 2(s-b)+b=2s-b$ is attainable (use $6$'s for the factors $3$ when possible, then $4$'s and $2$'s).
- So for fixed $s$ there are $\sum_{b=0}^{s}(2s-b+1)=\frac{(s+1)(3s+2)}2$ products, and the total is $\sum_{s=0}^{n}\frac{(s+1)(3s+2)}2=\frac{(n+1)^2(n+2)}2$.
- Setting $\frac{(n+1)^2(n+2)}2=936$, i.e. $(n+1)^2(n+2)=1872=12^2\cdot13$, we get $n=11$.
- The answer is (A).
When $n$ standard six-sided dice are rolled, the product of the numbers rolled can be any of $196$ possible values. What is $n$?