Enter a positive integer to list its factors and factor pairs, see the prime factorization, and walk a factor tree. For a prime, the result simply says so and shows the pair (1, n).
Formula
An integer a is a factor of n when n ÷ a has remainder 0. The positive factors come in pairs (a, n/a) found by testing a = 1, 2, … up to √n.
Prime factorization. Divide out the smallest prime repeatedly:
120 = 2 × 2 × 2 × 3 × 5
Factor tree (same splits, quotient on the left, prime on the right):
120
| \
60 2
| \
30 2
| \
15 2
| \
5 3
1 is neither prime nor composite; its only pair is (1, 1). A prime has exactly two positive factors, 1 and itself.
Simplifying a fraction a/b uses GCF(a, b), not the full factor list. Open the GCF calculator when you want the greatest common factor of several numbers, or the LCM calculator for the least common multiple.
Examples
Default 120
Factors are 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120. Pairs run (1, 120) through (10, 12). Prime factorization is 2 × 2 × 2 × 3 × 5.
Page example 20
Factors 1, 2, 4, 5, 10, 20, pairs (1, 20) (2, 10) (4, 5), and 20 = 2 × 2 × 5.
Prime 7
7 is a prime number. Its only factor pair is (1, 7).