how to get the factor of a binomial ?