Factors and primes

Exact integers with absolute value at most 4294967295.

Use a bounded integer route

Choose prime factorization, positive divisors, a prime test, or the strictly next or previous prime. These tasks accept exact integers with absolute value at most 4294967295.

Factorization records the tested divisions and the complete factor product. Prime tests use the documented bounded route, rather than claiming an unbounded proof service. Zero has no prime factorization, and there is no previous prime before 2.

Worked example: factor 360

Repeated exact divisions give 360=2×180=2×2×90=2×2×2×45. Then 45=3×15=3×3×5. The product is 2³×3²×5=360.

A prime has exactly two positive divisors. For example, 341=11×31 is composite even though some weaker tests can mistake it for a prime.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.