read `Noga12.txt`:
gu:=SeqFg(p,q,22):
print(`The Joint Weight Enumerators of the Number of Inversions and Spearman's Footrule over permutations on {1,...,n} for n from 1 to`, nops(gu) ):
print(``):
print(`By Shalosh B. Ekhad `):
print(``):
print(` Let J[n](p,q) be the polynomial in the variables p and q whose coefficient of p^i*q^j (for each i,j) is the exact number of permutations of {1,...,n}, whose number of inversions is i and whose Spearman's footrule equals j`):
print(``):
print(`We have the following (in Maple notation)`):
print(``):
for n from 1 to nops(gu) do
print(J[n](p,q), `equals `):
print(``):
lprint(gu[n]):
print(``):
od:
print(``):
print(`--------------------------`):
print(``):
print(`This took`, time(), `seconds. `):
quit: