Polynomial functions and factors