AIME/AIME
2013 American Invitational Mathematics Examination
30 道题目
AIMEAIME IAIME IIEnglish problems
选择题目
点击题号切换,正文区一次只显示一道题
A $7\times1$ board is completely covered by $m\times1$ tiles without overlap; each tile may cover any number of consecutive squares, and each tile lies completely on the board. Each tile is either red, blue, or green. Let $N$ be the number of tilings of the $7\times1$ board in which all three colors are used at least once. For example, a $1\times1$ red tile followed by a $2\times1$ green tile, a $1\times1$ green tile, a $2\times1$ blue tile, and a $1\times1$ green tile is a valid tiling. Note that if the $2\times1$ blue tile is replaced by two $1\times1$ blue tiles, this results in a different tiling. Find the remainder when $N$ is divided by $1000$.
考场第一眼 / First look
先计数只允许k种颜色的全部铺法,再用容斥强制三色都出现。