def factor(n): return factor_given_pfactor(n, pfactor)
def factor(n): return sum(factor_given_pfactor(n, pfactor))
def factor(n): return sorted(factor_given_pfactor(n, pfactors))