How it works
Every whole number above 1 can be written as a product of prime numbers in exactly one way, apart from order. The calculator finds the primes by trial division up to the square root of the number, which is quick for any number up to one million million. From the exponents it works out how many divisors the number has and their total.