Number Theory

Check whether a number you enter is prime, or factor it into primes and calculate the list of its divisors along with their count and sum.