[math-fun] Help with polynomial calculations in Mathematica or Maple