天涯小站 2.0

 找回密码
 注册
搜索
天涯小站 2.0 › 首页 ›拾萃› 文体教育 › 查看内容

无疆行者:周末一题——喝酒不用"画蛇添足"

2009-4-10 11:00 PM| 发布者: 昨夜雨| 查看: 605| 评论: 0

摘要: 前面大家玩过几次“周末一题: '酒筹'之后, 大家做做看”, 下面是一个新的酒筹问题. 大家听说过画蛇添足的故事-本客以前有一文说KISS, 涉及这个问题. 如今时代进步了,

前面大家玩过几次“周末一题: '酒筹'之后, 大家做做看”, 下面是一个新的酒筹问题.

大家听说过"画蛇添足"的故事-本客以前有一文说KISS, 涉及这个问题.

如今时代进步了, 不再画蛇, 改猜"酒筹"的位置.

只有一杯酒, n(n>2)个酒友商量谁能喝它. 大家手里有n枚硬币, 编上号, 从1到n, 随机发给每个人(M(i)是拥有硬币i的人, i = 1,...,n).

这n枚硬币, 排成一圈, 顺时针从1到n.

现在从2开始, 每隔一个取走一枚硬币, 例如2,4,... 直到最后剩下的一枚算是"酒筹", 凭它可以喝那杯酒.

请问最后谁会是持有这枚"酒筹"的喝酒人?

作为一个具体的例子, 假设n=100, 那么M(1)到M(100)谁会是最后的喝酒人呢?

NOTE

1. 这个问题也可以是这样: Starting with n coins number 1 to n around a circle, and the players eliminate every second remaining coin until only one survives.

For the given n, find what number (noted as J(n)) the survived coin is.

2. 历史上, 有个类似的Josephus Problem:

During the Jewish-Roman war, Josephus was among a band of 41 Jewish rebels trapped in a cave by the Romans.

Preferring suicide to capture, the rebels decided to form a circle and proceeding around it, to kill every third remaining person until no one was left.

But Josephus, along with an unindicated co-conspirator, wanted none of this suicide nonsense; so he quickly calculated where he and his friend shoud stand in the vicious circle.

3. Flavius Josephus (A.D. 37-100?), Jewish general and historian who took part in the Jewish revolt against the Romans. His History of the Jewish War is the major source of information about the siege of Masada (72-73), from AHD.

最新评论

手机版|天涯小站

GMT-5, 2026-11-24 02:56 PM

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

返回顶部