integers and polynomials algorithms 6024403