AMC12 2013 A
AMC12 2013 A · Q22
AMC12 2013 A · Q22. It mainly tests Counting & probability misc, Digit properties (sum of digits, divisibility tests).
A palindrome is a nonnegative integer number that reads the same forwards and backwards when written in base 10 with no leading zeros. A 6-digit palindrome $n$ is chosen uniformly at random. What is the probability that $\frac{n}{11}$ is also a palindrome?
回文数是一个在十进制下无前导零的前后读相同的非负整数。均匀随机选择一个六位回文数 $n$。$\frac{n}{11}$ 也是回文数的概率是多少?
(A)
$\frac{8}{25}$
$\frac{8}{25}$
(B)
$\frac{33}{100}$
$\frac{33}{100}$
(C)
$\frac{7}{20}$
$\frac{7}{20}$
(D)
$\frac{9}{25}$
$\frac{9}{25}$
(E)
$\frac{11}{30}$
$\frac{11}{30}$
Answer
Correct choice: (E)
正确答案:(E)
Solution
Answer (E): Let $n$ be a 6-digit palindrome, $m=\frac{n}{11}$, and suppose $m$ is a palindrome as well. First, if $m$ is a 4-digit number, then $n=11m<11\cdot 10^5=10^6+10^5$. Thus the first and last digit of $n$ is $1$. Thus the last digit of $m$ is $1$ and then the first digit of $m$ must be $1$ as well. Then $m\le 1991<2000$ and $n=11m<11\cdot 2000=22000$, which is a contradiction. Therefore $m$ is a 5-digit number $abcba$. If $a+b\le 9$ and $b+c\le 9$, then there are no carries in the sum $n=11m=abcba0+abcba$; thus the digits of $n$ in order are $a$, $a+b$, $b+c$, $b+c$, $a+b$, and $a$. Conversely, if $a+b\ge 10$, then the first digit of $n$ is $a+1$ and the last digit $a$; and if $a+b\le 9$ but $b+c\ge 10$, then the second digit of $n$ is $a+b+1$ if $a+b<9$, or $0$ if $a+b=9$, and the previous to last digit is $a+b$. In any case $n$ is not a palindrome. Therefore $n=11m$ is a palindrome if and only if $a+b\le 9$ and $b+c\le 9$.
Thus the number of pairs $(m,n)$ is equal to
$$
\sum_{b=0}^{9}\sum_{c=0}^{9-b}\sum_{a=1}^{9-b}1=\sum_{b=0}^{9}(10-b)(9-b).
$$
Letting $j=10-b$ gives
$$
\sum_{j=1}^{10} j(j-1)=\frac{10\cdot 11\cdot 21}{6}-\frac{10\cdot 11}{2}=330.
$$
The total number of 6-digit palindromes $abccba$ is determined by 10 choices for each of $b$ and $c$, and 9 choices for $a$, for a total of $9\cdot 10^2=900$. Thus the required probability is $\frac{330}{900}=\frac{11}{30}$.
答案(E):设 $n$ 为一个 6 位回文数,$m=\frac{n}{11}$,并且假设 $m$ 也是回文数。首先,若 $m$ 是一个 4 位数,则 $n=11m<11\cdot 10^5=10^6+10^5$。因此 $n$ 的首位和末位数字都是 $1$。于是 $m$ 的末位数字是 $1$,从而 $m$ 的首位数字也必须是 $1$。那么 $m\le 1991<2000$,且 $n=11m<11\cdot 2000=22000$,这就矛盾了。因此 $m$ 是一个 5 位数 $abcba$。如果 $a+b\le 9$ 且 $b+c\le 9$,那么在求和 $n=11m=abcba0+abcba$ 中不会产生进位;因此 $n$ 的各位数字依次为 $a$,$a+b$,$b+c$,$b+c$,$a+b$,$a$。反之,若 $a+b\ge 10$,则 $n$ 的首位数字为 $a+1$,末位数字为 $a$;若 $a+b\le 9$ 但 $b+c\ge 10$,则 $n$ 的第二位数字在 $a+b<9$ 时为 $a+b+1$,在 $a+b=9$ 时为 $0$,且倒数第二位数字为 $a+b$。无论哪种情况,$n$ 都不是回文数。因此,当且仅当 $a+b\le 9$ 且 $b+c\le 9$ 时,$n=11m$ 为回文数。
因此,$(m,n)$ 的对数等于
$$
\sum_{b=0}^{9}\sum_{c=0}^{9-b}\sum_{a=1}^{9-b}1=\sum_{b=0}^{9}(10-b)(9-b)。
$$
令 $j=10-b$,得到
$$
\sum_{j=1}^{10} j(j-1)=\frac{10\cdot 11\cdot 21}{6}-\frac{10\cdot 11}{2}=330。
$$
6 位回文数 $abccba$ 的总数由:$b$ 有 10 种选择、$c$ 有 10 种选择、$a$ 有 9 种选择决定,总数为 $9\cdot 10^2=900$。因此所求概率为 $\frac{330}{900}=\frac{11}{30}$。
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.