Compile with cc -O3 -c MULMOD10.c cc -O3 -o facpoly MULMOD10.o facpoly.c Execute with ./facpoly n foo where foo is a text file with the polynomial in it (see fac4 for an exampls) and n is the number of variables which must be x1, x2, ..., xn. For example ./facpoly 7 fac4 outputs n=7 file=fac4 #f = 16 facpoly: x=1 facpoly: x=3 facpoly: x=5 time = 0.001s f1 := x2+x1; f2 := x3*x4+1; f3 := x5*x6*x7+x6+x5+1; If you want to put a comment in the input file preceed it with a # character. Michael Monagan May 2025