2012 AMC 12B 第 12 题

先试着解答 2012 AMC 12B 第 12 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2012 AMC 12B 解答,或核对答案

所有题目均经美国数学协会(MAA)官方合法授权使用。

12.

有多少个长度为 2020 的由零和/或一组成的序列满足:所有零连续,或者所有一连续,或者两者都满足?

How many sequences of zeros and/or ones of length 2020 have all the zeros consecutive, or all the ones consecutive, or both?

190190

192192

211211

380380

382382

答案:E
知识点:容斥原理组合
难度评级:1660
解答:

AA 为所有零连续的序列,BB 为所有一连续的序列。

对于 AA,有一个全是一的序列,2020 个恰有一个零的序列,以及 (202)=190\binom{20}{2}=190 个含有至少两个零的序列(选择第一个和最后一个零的位置)。所以 A=1+20+190=211|A|=1+20+190=211,由对称性 B=211|B|=211

ABA\cap B 中的序列是一个零的块后接一个一的块,或顺序相反;这样的序列有 AB=40|A\cap B|=40 个。

因此 AB=211+21140|A\cup B|=211+211-40 =382=382

因此正确答案是 E

Let AA be the sequences in which all zeros are consecutive and BB those in which all ones are consecutive.

For A,A, there is one all-ones sequence, 2020 sequences with exactly one zero, and (202)=190\binom{20}{2}=190 sequences with two or more zeros (choose the first and last zero position). So A=1+20+190=211,|A|=1+20+190=211, and by symmetry B=211.|B|=211.

A sequence in ABA\cap B is a block of zeros followed by a block of ones, or the reverse; there are AB=40|A\cap B|=40 of these.

Therefore AB=211+21140|A\cup B|=211+211-40 =382.=382.

Thus, the correct answer is E.

← 第 11 题#11
完整试卷

其他年份的第 12 题