跳到主要内容
求证数学Reasoncraft Mathematics
/
搜索我的学习台
  1. BMO
  2. 2004
BMO2004
BMO/BMO

2004 British Mathematical Olympiad

9 道题目

British Mathematical OlympiadRound 1Round 2

选择题目

点击题号切换,正文区一次只显示一道题

4 / 9
2004/BMO/Round 1/Q4CombinatoricsCountingRecurrence relations竞赛
4. A set of positive integers is defined to be wicked if it contains no three consecutive integers. We count the empty set, which contains no elements at all, as a wicked set.

Find the number of wicked subsets of the set

$$ \{1,2,3,4,5,6,7,8,9,10\}. $$
考场第一眼 / First look
把子集写成长度为 $10$ 的二进制串:选入整数 $i$ 就在第 $i$ 位写 $1$,否则写 $0$。题设恰好禁止子串 $111$。与其对八个可能出现的三连块做复杂的容斥,不如按末尾连续出现了 $0,1,2$ 个 $1$ 分类;这会立即给出三阶递推,并且空集自然包含在初值中。
练习