#The list below are exact polynomial expression for #(i) the expectation (ii) variance, and 3-rd through 12-th moments (about the mean) #of the random variable, defined on the set of words #with exactly n occurrences of each of the letters 1,2,3, #of Doron Gepner's statistics: #"total number of subwords that form an odd permutation of S_3" #i.e. #132(w)+ #213(w)+ #321(w) L:= [1/2*n^3, 1/4*n^4, 0, 1/80*n^7*(-16+21*n), 0, 1/448*n^9*(-128+512*n-656*n^2+279 *n^3), 0, 1/1280*n^11*(-3328+16384*n-32512*n^2+32512*n^3-16480*n^4+3429*n^5), 0, 1/11264*n^13*(3*n-4)*(68985*n^6-469716*n^5+1391760*n^4-2251584*n^3+2072832*n^2-1022208*n+209920 ), 0, n^15*(343717911/1863680*n^9-265635477/116480*n^8+93771627/7280*n^7-45012561/1040*n^6+43093563 /455*n^5-77940021/560*n^4+62196357/455*n^3-39213532/455*n^2+14354176/455*n-463661/91) ]: