OFFSET
1,3
COMMENTS
MAPLE
[seq(SiteSwap2ToDec(Perm2InversionVector(PermUnrank3R(j))), j=0..119)];
Perm2InversionVector := proc(p) local n, i, j, a, c; n := nops(p); a := []; for i from 2 to n do c := 0; for j from 1 to i-1 do if(p[j] > p[i] then c := c+1; fi; od; a := [op(a), c]; od; RETURN(a); end;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 23 2001
STATUS
approved