A378834 Number of ways to reverse a permutation of n elements by the minimum number of steps of rotate left or right 1 place (L,R), or exchange first two elements (E).
1, 3, 2, 2, 2, 6, 6, 32, 32, 240, 240, 2304, 2304
Offset: 1
Examples
For n=1, permutation {1} is already its own reversal so has a(1) = 1 way of no steps (A186752(1) = 0). For n=5, the a(5) = 2 ways to reverse {1,2,3,4,5} by A186752(5) = 8 steps are E, L, L, E, L, E, R, E E, L, E, R, E, R, R, E Notice these are inverses: reverse the order and flip L<->R in one makes the other.
Comments