4 ms·
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
by dernett 4y ago
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.