第 552 题:(2009 AMC 12b, 21)
Ten women sit in $10$ seats in a line. All of the $10$ get up and then reseat themselves using all $10$ seats, each sitting in the seat she was in before or a seat next to the one she occupied before. In how many ways can the women be reseated?
$\textbf{(A)}\ 89\qquad \textbf{(B)}\ 90\qquad \textbf{(C)}\ 120\qquad \textbf{(D)}\ 2^{10}\qquad \textbf{(E)}\ 2^2 3^8$
- Let $f(n)$ be the number of reseatings for $n$ women. The woman in seat $n$ either stays ($f(n-1)$ ways for the others) or swaps with the woman in seat $n-1$ ($f(n-2)$ ways).
- 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$.
- So $f(10)=89$.
- The answer is (A).
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?