refactoring

private method divides_for_number replaces code duplicated in is_it?
and all_to_number