请教数学大侠们:Counting-off Puzzles

这样的问题有规律可寻吗?

25 people are standing in a circle. Starting with person 1, they count off from 1 to 7 and them start over with 1. Each person who says"7" drops out of the circle. who is the last person left?

所有跟帖: 

这么小的数,有想出来那功夫,都数出来了 -文学村民- 给 文学村民 发送悄悄话 (0 bytes) () 06/19/2012 postreply 08:00:31

你是码学大师嘛,能给编个code吗? -bangbang9814- 给 bangbang9814 发送悄悄话 (0 bytes) () 06/19/2012 postreply 08:43:51

大师的帽子太沉重,承受不起 -文学村民- 给 文学村民 发送悄悄话 (115 bytes) () 06/19/2012 postreply 10:12:52

看楼下的贴,你对些code很有研究的。 -bangbang9814- 给 bangbang9814 发送悄悄话 (0 bytes) () 06/19/2012 postreply 10:54:08

found the answer. Doesn't seem to be easy. -bangbang9814- 给 bangbang9814 发送悄悄话 (52 bytes) () 06/19/2012 postreply 08:41:04

请您先登陆,再发跟帖!