How to Use
Enter a positive integer:
- Input: Any integer ≥ 2
- Output: Prime factorization
- Extra: Divisor count and sum
Algorithm
Trial division: divide by 2, then odd numbers 3, 5, 7, ... up to √n. Each time a factor is found, divide repeatedly until it no longer divides. Any remainder > 1 is a prime factor.
Fundamental Theorem
Every integer > 1 is either prime or a unique product of primes (up to ordering). This is why primes are the 'atoms' of number theory.
Step-by-Step Instructions
- 1Enter a positive integer.
- 2View prime factorization.
- 3Check exponent form.
- 4See divisor count.
- 5Review divisor sum.