Prime Factorization, LCM & GCD

Enter one or more whole numbers. The ladder table divides them by primes step by step until every number becomes 1, then the LCM and GCD are read from the factors.

Numbers

2 to 8 numbers work best; each up to 12 digits.

Division ladder

Each row divides by the prime on the right. Bold numbers are divisible by that prime; the others are copied down unchanged.

Prime factorizations

LCM and GCD

Coprime pairs