Prime Factorization

Factor a bounded integer into exact prime powers.

Scope: Input is capped so deterministic trial division remains responsive in the browser.

Workbench

Inputs stay on this page.

Returns a complete trial-division prime-power factorization for one bounded safe integer with absolute value at least two.

How to use Prime Factorization

  1. Enter the integer from -1,000,000,000,000 to 1,000,000,000,000.

  2. Press “Factor integer”.

  3. Copy the result, or download it as prime-factorization.json.

About this tool

Factor a bounded integer into exact prime powers.

Returns a complete trial-division prime-power factorization for one bounded safe integer with absolute value at least two.