A Messy Dinner
families, each with four members, a father, a mother, a son and a daughter, were invited to a restaurant. They were all seated at a large circular table with seats such that men and women alternate.
Let be the number of ways the families can be seated such that none of the families were seated together. A family is considered to be seated together only when all the members of a family sit next to each other.
For example, , , and .
Let .
For example, .
Find . Give your answer modulo .
麻烦的晚餐
个四口之家受邀到一家餐厅就餐,每个家庭都由父亲、母亲、儿子、女儿组成。他们围坐在一张有个座位的圆桌边,且男性和女性总是交替就座。
我们进一步要求同一家庭的四名成员不能坐在一起,并记所有满足条件的就座方式数为。
例如,,,,。
记。
例如,。
求,并将你的答案对取余。
Gitalking ...