Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions >

DivisorSigma

DivisorSigma[k, n]
gives the divisor function sigma_k(n).
  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • sigma_k(n) is the sum of the k^(th) powers of the divisors of n.
Sum of divisors:
Sum of squares of divisors:
Plot the number of divisors:
Sums of divisors:
Sums of squared divisors:
DivisorSigma threads element-wise over lists:
TraditionalForm formatting:
The first argument can be symbolic:
Include complex divisors:
By default, only integer divisors are included for integer input:
This also includes complex divisors:
Plot the running average of the number of divisors with its asymptotic value:
Compute an iterated aliquot sum:
Compare the number of divisors with the totient:
Generate values using the definition:
Compute using DivisorSigma:
Use FullSimplify to simplify expressions containing DivisorSigma:
DivisorSigma is a multiplicative function:
Generating function:
With GaussianIntegers->True, the naive definition does not give the correct result:
To make DivisorSigma a multiplicative function, a definition involving factors is used:
Show the evolution of the limit :
Fourier transform of the divisor function in the complex plane:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team