numtheory(deprecated)
sigma
sum of divisors
Calling Sequence
Parameters
Description
Examples
sigma(n)
sigma[k](n)
k
-
integer
n
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[SumOfDivisors] instead.
The function sigma(n) will compute the sum of the positive divisors of n.
The function sigma[k](n) will compute the sum of the kth power of positive divisors of n.
This function is part of the numtheory package, and so can be used in the form sigma[..](..) only after performing the command with(numtheory) or with(numtheory, sigma). The function sigma(..) can always be accessed in the above form or the long form numtheory[sigma](..).
with⁡numtheory:
σ⁡9
13
divisors⁡100
1,2,4,5,10,20,25,50,100
σ⁡100
217
σ0⁡100
9
τ⁡100
See Also
ifactor
ifactors
NumberTheory[SumOfDivisors]
numtheory(deprecated)[divisors]
numtheory(deprecated)[factorset]
numtheory(deprecated)[tau]
Download Help Document