Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


represents the sum of for all i that divide n.

includes only those divisors for which gives True.


  • n can be symbolic or a positive integer.
  • form and cond must be Function objects.
  • DivisorSum[n,form] is equivalent to Sum[form[d],{d,Divisors[n]}] for positive n.
  • DivisorSum[n,form,cond] is automatically simplified when n is a positive integer.
  • DivisorSum[n,form] is automatically simplified when form is a polynomial function.
Introduced in 2008