number of factors from 1 to 1000