Composite number: n = 36
36 = 22 × 32, so τ(36) = (2 + 1)(2 + 1) = 9.
σ(36) = (1 + 2 + 4)(1 + 3 + 9) = 7 × 13 = 91
The proper-divisor sum is 91 − 36 = 55, so 36 is abundant.
Commas, spaces, or underscores may group digits in threes. Decimals, zero, and negative integers are not accepted.
Try 36 to see τ(36) = 9, σ(36) = 91, and every prime-power step.
Write a positive integer as a product of prime powers: n = p1a₁p2a₂⋯pkaₖ. A positive divisor chooses an exponent from 0 through ai for each prime independently.
Number of positive divisors: τ(n) = ∏(ai + 1)
Sum of positive divisors: σ(n) = ∏(1 + pi + pi2 + ⋯ + piaᵢ)
Geometric form: σ(n) = ∏[(piaᵢ+1 − 1) / (pi − 1)]
The sum of proper divisors is σ(n) − n because proper divisors exclude the number itself. If that sum is less than, equal to, or greater than n, the number is deficient, perfect, or abundant.
36 = 22 × 32, so τ(36) = (2 + 1)(2 + 1) = 9.
σ(36) = (1 + 2 + 4)(1 + 3 + 9) = 7 × 13 = 91
The proper-divisor sum is 91 − 36 = 55, so 36 is abundant.
28 = 22 × 7, giving τ(28) = 3 × 2 = 6.
σ(28) = (1 + 2 + 4)(1 + 7) = 7 × 8 = 56
The proper divisors sum to 56 − 28 = 28, so 28 is perfect.
13 = 131, so τ(13) = 1 + 1 = 2.
σ(13) = 1 + 13 = 14
Every prime has exactly two positive divisors and proper-divisor sum 1.
The prime factorization of 1 is an empty product.
τ(1) = 1 and σ(1) = 1
Its only positive divisor is 1, and it has no proper positive divisors.
| n | Prime factorization | τ(n) | σ(n) | Proper sum |
|---|---|---|---|---|
| 1 | Empty product | 1 | 1 | 0 |
| 6 | 2 × 3 | 4 | 12 | 6 |
| 12 | 22 × 3 | 6 | 28 | 16 |
| 16 | 24 | 5 | 31 | 15 |
| 28 | 22 × 7 | 6 | 56 | 28 |
| 100 | 22 × 52 | 9 | 217 | 117 |
Factor n into prime powers. Add 1 to each exponent and multiply: if n = p1a₁⋯pkaₖ, then τ(n) = (a₁ + 1)⋯(aₖ + 1). The added 1 includes choosing exponent zero.
For every prime power pa, form 1 + p + p2 + ⋯ + pa, then multiply those sums. This calculator uses exact BigInt arithmetic throughout, so the result has no floating-point rounding.
Yes. “Positive divisors” includes both 1 and n. “Proper divisors” includes 1 but excludes n, so their sum is σ(n) − n.
Compare the sum of proper divisors with the number. Equality means perfect, a larger sum means abundant, and a smaller sum means deficient. For example, 28 is perfect, 12 is abundant, and 16 is deficient.
Yes. A prime p has divisors 1 and p, so τ(p) = 2 and σ(p) = p + 1. Conversely, a positive integer greater than 1 with exactly two positive divisors is prime.
The accepted range is 1 through 1 trillion. Prime factorization runs in a background worker with a five-second limit so a difficult large prime or semiprime cannot leave the page unresponsive.
Yes. The input is factored and evaluated locally in your browser. This calculator does not upload, store, or add it to the page URL.