Tom K. answered 10/17/20
Knowledgeable and Friendly Math and Statistics Tutor
It turns out that there s a recursive formula
Let S(n) be the number of switches with n people
S(1) = 0
S(n) = n S(n-1) + (-1)^n
Thus, S(24) = 2.28250211305339E+23
As 24! = 6.20448401733239E+23
P(no one sits at the same table) = 0.367879441171442
It should be noted that the probability approaches 1/e
See http://libai.math.ncu.edu.tw/webclass/statistics/probability/notes/ch3_sec5_p3/index.html for a derivation.
Wout M.
Hi, I was actually looking for quite the opposite. The odds of no one sitting at the same place, which makes the problem a lot harder it seems...10/17/20