|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Counting block combinations I
A row measuring seven units in length has red blocks with a minimum length of three units placed on it, such that any two red blocks (which are allowed to be different lengths) are separated by at least one black square. There are exactly seventeen ways of doing this.
How many ways can a row measuring fifty units in length be filled?
NOTE: Although the example above does not lend itself to the possibility, in general it is permitted to mix block sizes. For example, on a row measuring eight units in length you could use red (3), black (1), and red (4).
题目:
一条长度为 7 的行上放有最小长度为 3 的红色块,要求相邻的两个红色块(长度可不相同)之间至少用一个黑色块相分割。要达到这个目的一共有 17 种方式。
按照上述要求填充长度为 50 的行共有多少种方式?
注意:虽然上面的例子并未阐明,但是不同长度的块是可以放在一起的。例如,如果行的长度是 8,可以用长度为 3 的红色块,长度为 1 的黑色块和长度为 4 的红色块来填充。
|
|