`div_factor` function