Re:Ménage Problem
by dernett on Monday December 26, 2022 @08:28PM
(#34143904)
I don't believe so. I worked out the permutations for n = 3 and, accounting for rotations, you only get 2:
[0, 3, 4, 1, 2, 5]
[0, 5, 2, 1, 4, 3].
Of course, you get the expected answer of 12 if you multiply by 6.
[ Parent
| on HN ]
There are no comments on this comment yet.