[f,g] v hilbReduce p output of hilbert [f,g]; string v; poly p p is (g/(f!))*deg(g)! [(x) (y^3)] (x,y,z) hilbert (h) hilbReduce