read WordInv: for i from 1 to 10 do print(`The`, 2*i, `-th moment (about the mean) of the r.v.`): print(`number of inversions for words with 1 a's and 2 b's is`): print(ithMomW2(2*i,a,b)): od: print(`This took`, time(), `seconds`): quit: