Decimal representation of permutations of lengths 1, 2, 3, ... arranged first by number of inversions and then lexicographically.

A268532

Decimal representation of permutations of lengths 1, 2, 3, ... arranged first by number of inversions and then lexicographically.

Terms

    a(0) =1a(1) =12a(2) =21a(3) =123a(4) =132a(5) =213a(6) =231a(7) =312a(8) =321a(9) =1234a(10) =1243a(11) =1324a(12) =2134a(13) =1342a(14) =1423a(15) =2143a(16) =2314a(17) =3124a(18) =1432a(19) =2341a(20) =2413a(21) =3142a(22) =3214a(23) =4123a(24) =2431a(25) =3241a(26) =3412a(27) =4132a(28) =4213a(29) =3421

External references