|
Contribution from Miklos Bona (bona(AT)math.ufl.edu), Mar 04 2009: (Start)
This is the same as the total number of inversions in all 132-avoiding
permutations of length n by the well-known bijection between ordered trees
on n edges and such permutations.
For example there are five permutations of length three that avoid 132,
namely 123, 213, 231, 312, and 321. Their numbers of inversions are,
respectively, 0,1,2,2, and 3, for a total of eight inversions.
(End)
|