If n different people are sitting around a table, the possibility of 2 persons sitting next to each other is 2/(n-1). 1) Total possible arrangements of n people on a table = n! / n = (n-1)! 2) Total possible arrangements of n-1 people (assuming those two sitting together would be treated as a single person) = 2* (n-1)! / (n-1) = 2* (n-2)! There is a 2 in the equation because the two persons are not identical. The possibility of 2 persons sitting next to each other = 2* (n-2)! / (n-1)! = 2/(n-1) -- by 会员 sdcar2010 (2010/12/26 23:21:42)
灰常灰常感谢~~ 但是我依然不能理解的是: 第一步 1)中为什么分母要除以n....... 貌似这是个基本知识。。。但一时半会儿实在是记不起为啥来了。。囧 |