In number theory, the **sigma function** (not to be confused with summation) is the function that finds the sum of the positive divisors of a number, denoted by σ(*n*).

It is a multiplicative function. If *p* is a prime number, σ(*p*) is *p* + 1 because, by definition, the factors of a prime number are 1 and itself.