Advanced number properties, prime testing, factorization, and number theory operations
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. This calculator uses the Miller-Rabin primality test for large numbers.
Every integer greater than 1 can be uniquely represented as a product of prime numbers (up to the order of factors).
τ(n) = number of divisors, σ(n) = sum of divisors. Perfect numbers have σ(n) = 2n.
φ(n) counts the positive integers up to n that are relatively prime to n. Important in number theory and cryptography.