DivisorSum
DivisorSum[n,form] represents the sum of form[i] for all i that divide n.
DivisorSum[n,form,cond] includes only those divisors for which cond[i] gives True.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.