Prime factorization

Split a positive integer into its prime factors.

Numbers Stateless

The input must be an unsigned decimal integer from 2 to 10000000000.

How it works and examples

The input must be an unsigned decimal integer from 2 to 10000000000. Repeated factors are shown individually. Example: 360 = 2 × 2 × 2 × 3 × 3 × 5. A prime input is returned unchanged.