How it works
Divide by trial divisors in increasing order until the divisor squared exceeds the remaining number. The remaining factor, if greater than one, is prime.
Try an example
Integer (2–1 trillion): 756. The form starts with these values; change them to explore your own case.
Example result: 2^2 × 3^3 × 7
- Divide out 2, then odd trial divisors while d² ≤ remaining value.
- A remaining factor above 1 is prime.
Learn more in Exact arithmetic and number theory tools.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.