做测试 登录 English
← 练习 552 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 552
Twelve people sit in $12$ seats in a line. They all get up and reseat themselves, each sitting in her own seat or a seat next to it. In how many ways can they be reseated?
← 返回第 552 题
解答
  1. Let $f(n)$ be the number of reseatings of $n$ people in a row. Whoever sits in the last seat came from seat $n$ or $n-1$.
  2. If the last person stays, the others reseat in $f(n-1)$ ways. Otherwise the person from seat $n-1$ moves to seat $n$, so the last person must move to seat $n-1$, and the rest reseat in $f(n-2)$ ways.
  3. So $f(n)=f(n-1)+f(n-2)$ with $f(1)=1$, $f(2)=2$, giving $1,2,3,5,8,13,21,34,55,89,144,\boxed{233}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份