笼中狮子
lions in a cage
题目详情
笼子里有 头狮子。有人扔进来一块肉。每头狮子要么把整块肉吃掉,要么完全不吃。
如果某头狮子吃了肉,它会立刻睡着,并在其他狮子眼里变成“一块肉”(可以被吃掉)。
问:最后会发生什么?
英文原题
There are lions in a cage. A piece of meat is thrown into the cage. A lion can either eat the whole piece of meat or none of it. If it eats the meat, it falls asleep and becomes to the other lions a piece of meat. What happens?
解析
假设狮子都足够理性:只有在“吃了不会让自己被其他狮子吃掉”时才会吃。
用归纳:
- :唯一的狮子吃掉肉,安全。
- :若其中一头吃肉就会睡着,另一头会把它吃掉,因此没人敢吃。
- 假设对 成立。
当有 头狮子时,若某头狮子吃肉睡着,那么笼中还剩 头清醒狮子面对“一块肉”(睡着的那头)。根据归纳假设:
- 若 为奇数(即 为偶数),会有狮子去吃这块“肉”,于是最初吃肉那头会被吃掉,因此没有狮子敢先吃;
- 若 为偶数(即 为奇数),不会有狮子去吃这块“肉”,因此最初吃肉那头是安全的,于是会有人吃。
结论:
英文解析
Assuming the lions are sufficiently rational: they will eat only if eating will not leave them vulnerable to being eaten by another lion.
Using induction:
-: The single lion eats the meat and remains safe.
-: If one lion eats the meat, it will fall asleep; the other lion will then eat it, so no lion dares to eat.
- Assume the statement holds for .
When there are lions, if one lion eats the meat and falls asleep, the cage is left with awake lions facing "a piece of meat" (the sleeping one). According to the inductive hypothesis:
- If is odd (i.e., is even), a lion will eat this "piece of meat," so the lion that initially ate will be eaten; therefore, no lion dares to eat first.
- If is even (i.e., is odd), no lion will eat this "piece of meat," so the lion that initially ate remains safe; therefore, someone will eat.
Conclusion: