Template:3-el perm inversions

Compare: Template:4-el perm inversions, v:Template:3-el perm inversions, Inversion (discrete mathematics)