This reference page presents the complete prime factorization for every whole number from 2 through 200. For each number, the table shows its prime factors (using exponents for repeated primes), whether it is prime or composite, the total number of positive divisors, and the sum of those divisors. The data is arranged in two tables: one covering 2 to 100 and another covering 101 to 200.
Students learning number theory, teachers preparing lessons, and anyone working with fractions, ratios, or divisibility will find these tables useful. The factorization patterns help you recognize primes, understand composite structure, and apply formulas for divisor counts and sums. The page also explains the trial division method and shows how to use factorizations for GCD, LCM, simplifying fractions, and square roots.
Formula
Every whole number n ≥ 2 is a product of primes in exactly one way (fundamental theorem of arithmetic): n = p1a1 × p2a2 × …. Trial division: divide by 2, 3, 5, 7, … while the remainder is 0, and stop once p² > what is left. Number of divisors = (a1+1)(a2+1)….
Worked Example
Factor 84. The calculator checks one trial division at a time: with n = 84 and p = 2 the remainder is 0, so 2 is a factor.
| Step | Working | Result |
|---|---|---|
| 1 | 84 ÷ 2 | 42 |
| 2 | 42 ÷ 2 | 21 |
| 3 | 21 ÷ 3 | 7 |
| 4 | 7 is prime | stop |
| 5 | 84 = | 22 × 3 × 7 |
| 6 | number of divisors (2+1)(1+1)(1+1) | 12 |
Prime factorization of 2 to 100
| n | Prime factors | Type | Divisors | Sum of divisors |
|---|---|---|---|---|
| 2 | 2 | prime | 2 | 3 |
| 3 | 3 | prime | 2 | 4 |
| 4 | 22 | composite | 3 | 7 |
| 5 | 5 | prime | 2 | 6 |
| 6 | 2 × 3 | composite | 4 | 12 |
| 7 | 7 | prime | 2 | 8 |
| 8 | 23 | composite | 4 | 15 |
| 9 | 32 | composite | 3 | 13 |
| 10 | 2 × 5 | composite | 4 | 18 |
| 11 | 11 | prime | 2 | 12 |
| 12 | 22 × 3 | composite | 6 | 28 |
| 13 | 13 | prime | 2 | 14 |
| 14 | 2 × 7 | composite | 4 | 24 |
| 15 | 3 × 5 | composite | 4 | 24 |
| 16 | 24 | composite | 5 | 31 |
| 17 | 17 | prime | 2 | 18 |
| 18 | 2 × 32 | composite | 6 | 39 |
| 19 | 19 | prime | 2 | 20 |
| 20 | 22 × 5 | composite | 6 | 42 |
| 21 | 3 × 7 | composite | 4 | 32 |
| 22 | 2 × 11 | composite | 4 | 36 |
| 23 | 23 | prime | 2 | 24 |
| 24 | 23 × 3 | composite | 8 | 60 |
| 25 | 52 | composite | 3 | 31 |
| 26 | 2 × 13 | composite | 4 | 42 |
| 27 | 33 | composite | 4 | 40 |
| 28 | 22 × 7 | composite | 6 | 56 |
| 29 | 29 | prime | 2 | 30 |
| 30 | 2 × 3 × 5 | composite | 8 | 72 |
| 31 | 31 | prime | 2 | 32 |
| 32 | 25 | composite | 6 | 63 |
| 33 | 3 × 11 | composite | 4 | 48 |
| 34 | 2 × 17 | composite | 4 | 54 |
| 35 | 5 × 7 | composite | 4 | 48 |
| 36 | 22 × 32 | composite | 9 | 91 |
| 37 | 37 | prime | 2 | 38 |
| 38 | 2 × 19 | composite | 4 | 60 |
| 39 | 3 × 13 | composite | 4 | 56 |
| 40 | 23 × 5 | composite | 8 | 90 |
| 41 | 41 | prime | 2 | 42 |
| 42 | 2 × 3 × 7 | composite | 8 | 96 |
| 43 | 43 | prime | 2 | 44 |
| 44 | 22 × 11 | composite | 6 | 84 |
| 45 | 32 × 5 | composite | 6 | 78 |
| 46 | 2 × 23 | composite | 4 | 72 |
| 47 | 47 | prime | 2 | 48 |
| 48 | 24 × 3 | composite | 10 | 124 |
| 49 | 72 | composite | 3 | 57 |
| 50 | 2 × 52 | composite | 6 | 93 |
| 51 | 3 × 17 | composite | 4 | 72 |
| 52 | 22 × 13 | composite | 6 | 98 |
| 53 | 53 | prime | 2 | 54 |
| 54 | 2 × 33 | composite | 8 | 120 |
| 55 | 5 × 11 | composite | 4 | 72 |
| 56 | 23 × 7 | composite | 8 | 120 |
| 57 | 3 × 19 | composite | 4 | 80 |
| 58 | 2 × 29 | composite | 4 | 90 |
| 59 | 59 | prime | 2 | 60 |
| 60 | 22 × 3 × 5 | composite | 12 | 168 |
| 61 | 61 | prime | 2 | 62 |
| 62 | 2 × 31 | composite | 4 | 96 |
| 63 | 32 × 7 | composite | 6 | 104 |
| 64 | 26 | composite | 7 | 127 |
| 65 | 5 × 13 | composite | 4 | 84 |
| 66 | 2 × 3 × 11 | composite | 8 | 144 |
| 67 | 67 | prime | 2 | 68 |
| 68 | 22 × 17 | composite | 6 | 126 |
| 69 | 3 × 23 | composite | 4 | 96 |
| 70 | 2 × 5 × 7 | composite | 8 | 144 |
| 71 | 71 | prime | 2 | 72 |
| 72 | 23 × 32 | composite | 12 | 195 |
| 73 | 73 | prime | 2 | 74 |
| 74 | 2 × 37 | composite | 4 | 114 |
| 75 | 3 × 52 | composite | 6 | 124 |
| 76 | 22 × 19 | composite | 6 | 140 |
| 77 | 7 × 11 | composite | 4 | 96 |
| 78 | 2 × 3 × 13 | composite | 8 | 168 |
| 79 | 79 | prime | 2 | 80 |
| 80 | 24 × 5 | composite | 10 | 186 |
| 81 | 34 | composite | 5 | 121 |
| 82 | 2 × 41 | composite | 4 | 126 |
| 83 | 83 | prime | 2 | 84 |
| 84 | 22 × 3 × 7 | composite | 12 | 224 |
| 85 | 5 × 17 | composite | 4 | 108 |
| 86 | 2 × 43 | composite | 4 | 132 |
| 87 | 3 × 29 | composite | 4 | 120 |
| 88 | 23 × 11 | composite | 8 | 180 |
| 89 | 89 | prime | 2 | 90 |
| 90 | 2 × 32 × 5 | composite | 12 | 234 |
| 91 | 7 × 13 | composite | 4 | 112 |
| 92 | 22 × 23 | composite | 6 | 168 |
| 93 | 3 × 31 | composite | 4 | 128 |
| 94 | 2 × 47 | composite | 4 | 144 |
| 95 | 5 × 19 | composite | 4 | 120 |
| 96 | 25 × 3 | composite | 12 | 252 |
| 97 | 97 | prime | 2 | 98 |
| 98 | 2 × 72 | composite | 6 | 171 |
| 99 | 32 × 11 | composite | 6 | 156 |
| 100 | 22 × 52 | composite | 9 | 217 |
How to read this table
Each row lists a number n in the first column, followed by its prime factorization in the second column. For example, the row for 52 shows 22 × 13, meaning 52 = 2 × 2 × 13. When a prime appears more than once, an exponent indicates how many times it is multiplied. The row for 100 shows 22 × 52, so 100 = 2 × 2 × 5 × 5.
The third column labels the number as prime or composite. A prime has exactly two distinct positive divisors: 1 and itself. For instance, 97 is prime, while 96 is composite. The fourth column gives the total number of positive divisors. For example, 100 has 9 divisors (1, 2, 4, 5, 10, 20, 25, 50, 100).
To find the number of divisors without listing them, use the divisor-count formula: add 1 to each exponent in the prime factorization and multiply. For 100, the exponents are 2 and 2, so (2+1)(2+1) = 9. For 84, the factorization is 22 × 3 × 7, giving (2+1)(1+1)(1+1) = 12 divisors.
Prime factorization of 101 to 200
| n | Prime factors | Type | Divisors | Sum of divisors |
|---|---|---|---|---|
| 101 | 101 | prime | 2 | 102 |
| 102 | 2 × 3 × 17 | composite | 8 | 216 |
| 103 | 103 | prime | 2 | 104 |
| 104 | 23 × 13 | composite | 8 | 210 |
| 105 | 3 × 5 × 7 | composite | 8 | 192 |
| 106 | 2 × 53 | composite | 4 | 162 |
| 107 | 107 | prime | 2 | 108 |
| 108 | 22 × 33 | composite | 12 | 280 |
| 109 | 109 | prime | 2 | 110 |
| 110 | 2 × 5 × 11 | composite | 8 | 216 |
| 111 | 3 × 37 | composite | 4 | 152 |
| 112 | 24 × 7 | composite | 10 | 248 |
| 113 | 113 | prime | 2 | 114 |
| 114 | 2 × 3 × 19 | composite | 8 | 240 |
| 115 | 5 × 23 | composite | 4 | 144 |
| 116 | 22 × 29 | composite | 6 | 210 |
| 117 | 32 × 13 | composite | 6 | 182 |
| 118 | 2 × 59 | composite | 4 | 180 |
| 119 | 7 × 17 | composite | 4 | 144 |
| 120 | 23 × 3 × 5 | composite | 16 | 360 |
| 121 | 112 | composite | 3 | 133 |
| 122 | 2 × 61 | composite | 4 | 186 |
| 123 | 3 × 41 | composite | 4 | 168 |
| 124 | 22 × 31 | composite | 6 | 224 |
| 125 | 53 | composite | 4 | 156 |
| 126 | 2 × 32 × 7 | composite | 12 | 312 |
| 127 | 127 | prime | 2 | 128 |
| 128 | 27 | composite | 8 | 255 |
| 129 | 3 × 43 | composite | 4 | 176 |
| 130 | 2 × 5 × 13 | composite | 8 | 252 |
| 131 | 131 | prime | 2 | 132 |
| 132 | 22 × 3 × 11 | composite | 12 | 336 |
| 133 | 7 × 19 | composite | 4 | 160 |
| 134 | 2 × 67 | composite | 4 | 204 |
| 135 | 33 × 5 | composite | 8 | 240 |
| 136 | 23 × 17 | composite | 8 | 270 |
| 137 | 137 | prime | 2 | 138 |
| 138 | 2 × 3 × 23 | composite | 8 | 288 |
| 139 | 139 | prime | 2 | 140 |
| 140 | 22 × 5 × 7 | composite | 12 | 336 |
| 141 | 3 × 47 | composite | 4 | 192 |
| 142 | 2 × 71 | composite | 4 | 216 |
| 143 | 11 × 13 | composite | 4 | 168 |
| 144 | 24 × 32 | composite | 15 | 403 |
| 145 | 5 × 29 | composite | 4 | 180 |
| 146 | 2 × 73 | composite | 4 | 222 |
| 147 | 3 × 72 | composite | 6 | 228 |
| 148 | 22 × 37 | composite | 6 | 266 |
| 149 | 149 | prime | 2 | 150 |
| 150 | 2 × 3 × 52 | composite | 12 | 372 |
| 151 | 151 | prime | 2 | 152 |
| 152 | 23 × 19 | composite | 8 | 300 |
| 153 | 32 × 17 | composite | 6 | 234 |
| 154 | 2 × 7 × 11 | composite | 8 | 288 |
| 155 | 5 × 31 | composite | 4 | 192 |
| 156 | 22 × 3 × 13 | composite | 12 | 392 |
| 157 | 157 | prime | 2 | 158 |
| 158 | 2 × 79 | composite | 4 | 240 |
| 159 | 3 × 53 | composite | 4 | 216 |
| 160 | 25 × 5 | composite | 12 | 378 |
| 161 | 7 × 23 | composite | 4 | 192 |
| 162 | 2 × 34 | composite | 10 | 363 |
| 163 | 163 | prime | 2 | 164 |
| 164 | 22 × 41 | composite | 6 | 294 |
| 165 | 3 × 5 × 11 | composite | 8 | 288 |
| 166 | 2 × 83 | composite | 4 | 252 |
| 167 | 167 | prime | 2 | 168 |
| 168 | 23 × 3 × 7 | composite | 16 | 480 |
| 169 | 132 | composite | 3 | 183 |
| 170 | 2 × 5 × 17 | composite | 8 | 324 |
| 171 | 32 × 19 | composite | 6 | 260 |
| 172 | 22 × 43 | composite | 6 | 308 |
| 173 | 173 | prime | 2 | 174 |
| 174 | 2 × 3 × 29 | composite | 8 | 360 |
| 175 | 52 × 7 | composite | 6 | 248 |
| 176 | 24 × 11 | composite | 10 | 372 |
| 177 | 3 × 59 | composite | 4 | 240 |
| 178 | 2 × 89 | composite | 4 | 270 |
| 179 | 179 | prime | 2 | 180 |
| 180 | 22 × 32 × 5 | composite | 18 | 546 |
| 181 | 181 | prime | 2 | 182 |
| 182 | 2 × 7 × 13 | composite | 8 | 336 |
| 183 | 3 × 61 | composite | 4 | 248 |
| 184 | 23 × 23 | composite | 8 | 360 |
| 185 | 5 × 37 | composite | 4 | 228 |
| 186 | 2 × 3 × 31 | composite | 8 | 384 |
| 187 | 11 × 17 | composite | 4 | 216 |
| 188 | 22 × 47 | composite | 6 | 336 |
| 189 | 33 × 7 | composite | 8 | 320 |
| 190 | 2 × 5 × 19 | composite | 8 | 360 |
| 191 | 191 | prime | 2 | 192 |
| 192 | 26 × 3 | composite | 14 | 508 |
| 193 | 193 | prime | 2 | 194 |
| 194 | 2 × 97 | composite | 4 | 294 |
| 195 | 3 × 5 × 13 | composite | 8 | 336 |
| 196 | 22 × 72 | composite | 9 | 399 |
| 197 | 197 | prime | 2 | 198 |
| 198 | 2 × 32 × 11 | composite | 12 | 468 |
| 199 | 199 | prime | 2 | 200 |
| 200 | 23 × 52 | composite | 12 | 465 |
Patterns and Properties in the Table
Numbers ending in 5 (other than 5 itself) are composite because they are divisible by 5, such as 105 = 3 × 5 × 7.
Prime numbers appear frequently in the table. In the range 2 to 200, primes are those numbers that have no factors other than 1 and themselves. The table clearly marks them as ‘prime’ with exactly 2 divisors. For instance, 101, 103, 107, 151, 197, and 199 are all prime.
Some numbers are perfect squares of primes, like 4 = 22, 9 = 32, 25 = 52, 49 = 72, 121 = 112, and 169 = 132. These have exactly 3 divisors. Other numbers have repeated prime factors, such as 8 = 23 and 196 = 22 × 72. The divisor count grows with the exponents: 8 has (3+1) = 4 divisors, while 196 has (2+1)(2+1) = 9 divisors.
Notice that the sum of divisors for a prime is always one more than the number itself, because the only divisors are 1 and the number. For example, 97 has sum 98, and 199 has sum 200.
Finding Prime Factorization by Hand: Trial Division
To factor a number without a calculator, use trial division. Start with the smallest prime, 2, and divide the number by 2 as many times as possible. Then move to 3, then 5, then 7, and continue with successive primes. Stop when the square of the current prime is greater than the remaining quotient.
The worked example for 84 illustrates the process: divide 84 by 2 to get 42, divide 42 by 2 to get 21, then divide 21 by 3 to get 7. Since 7 is prime, the factorization is 22 × 3 × 7. The reason you can stop when p² > n is that if n has a factor larger than its square root, it must also have a smaller factor. For instance, if n = 97, you only need to test primes up to the square root of 97, which is less than 10. Since 2, 3, 5, and 7 do not divide 97, you can conclude 97 is prime.
For numbers like 200, trial division works quickly: 200 ÷ 2 = 100, 100 ÷ 2 = 50, 50 ÷ 2 = 25, then 25 ÷ 5 = 5, and 5 is prime. So 200 = 23 × 52. This method is reliable for numbers up to 200 and can be extended to larger numbers with patience.
Using Factorizations for GCD, LCM, and Simplifying Fractions
The prime factorization of a number is the key to finding the greatest common divisor (GCD) and least common multiple (LCM) of two or more numbers. To find the GCD, take the lowest exponent for each prime that appears in all numbers. For example, for 52 = 22 × 13 and 98 = 2 × 72, the common prime is 2, with lowest exponent 1, so GCD = 2. To find the LCM, take the highest exponent for each prime that appears in any number.
Simplifying fractions uses the GCD. To reduce a fraction like 52/98, divide both numerator and denominator by their GCD (2) to get 26/49. The factorization also helps simplify square roots: for a perfect square like 196 = 22 × 72, the square root is 2 × 7 = 14. For non-perfect squares, you can factor out perfect squares: for example, 72 = 23 × 32, so √72 = √(22 × 2 × 32) = 2 × 3 × √2 = 6√2.
These techniques are essential in algebra, number theory, and any field that uses fractions or ratios.
Common Mistakes to Avoid
One common mistake is forgetting to check all primes up to the square root. If you stop too early, you might incorrectly label a composite as prime.
Another error is misapplying the divisor-count formula. The formula uses the exponents, not the primes themselves. For 8 = 23, the divisor count is (3+1) = 4, not 3. For 96 = 25 × 3, the count is (5+1)(1+1) = 12, not 6.
When simplifying fractions, some people divide by a common factor but not the greatest one, leading to a fraction that is not fully reduced. Always find the GCD from the factorizations. Also, when simplifying square roots, remember that you can only take out pairs of identical primes.
Finally, do not confuse the sum of divisors with the number of divisors. The table lists both, and they serve different purposes.
Limits and Precision of the Tables
These tables cover every whole number from 2 to 200. For numbers beyond 200, the same principles apply, but you may need more trial divisions. The prime factorization of any integer is unique (fundamental theorem of arithmetic), so the method always works.
The divisor count and sum of divisors are exact for each number in the table. The divisor-count formula is exact for any positive integer. The sum of divisors can be computed by multiplying (pa+1 – 1)/(p – 1) for each prime factor, but the table provides the sums directly for numbers up to 200.
For very large numbers, trial division becomes impractical, and more advanced algorithms are used. However, for numbers up to 200, the table is complete and accurate. The type column (prime or composite) is correct for every entry, and the prime factors are listed in ascending order.
If you need factorizations for numbers larger than 200, you can extend the method using the same trial division technique, stopping at the square root of the number.
Frequently Asked Questions
Why do some numbers have exponents in their prime factorization?
Exponents indicate that a prime appears more than once as a factor. For example, 8 = 2 × 2 × 2, so it is written as 2³. Exponents make the factorization compact and are essential for the divisor-count formula, which uses the exponents to calculate the number of divisors.
How do I find the number of divisors for a number like 200?
First, get the prime factorization: 200 = 2³ × 5². Add 1 to each exponent: 3+1 = 4 and 2+1 = 3. Multiply these results: 4 × 3 = 12. So 200 has 12 positive divisors. The table confirms this.
What is the difference between prime and composite numbers?
A prime number has exactly two distinct positive divisors: 1 and itself. A composite number has more than two divisors. For example, 97 is prime because only 1 and 97 divide it, while 96 is composite because it has many divisors, including 2, 3, and 4.
Why do I only need to test primes up to the square root when factoring?
If a number n has a factor greater than its square root, then the corresponding quotient is less than the square root. So every composite number has a factor ≤ √n. Testing primes up to √n is sufficient.
How can I use prime factorization to simplify a fraction like 52/98?
Find the prime factorization of both numbers: 52 = 2² × 13 and 98 = 2 × 7². The GCD is the product of the lowest powers of common primes: here, 2¹ = 2. Divide both numerator and denominator by 2 to get 26/49. This fraction is in simplest form because the GCD of 26 and 49 is 1.
Calculators that go with this table
Method and sources
Trial division in exact integer arithmetic; divisor counts and sums by direct enumeration (exact).
Source formulas: the standard textbook definitions written out in the Formula section above. Every value in the tables was generated from those formulas in code and spot-checked against the worked example and the calculator on this page; nothing was copied from another table.
Related
Formula used
in n | Number n | - | 84 | 1 | - in p | Trial divisor p | - | 2 | 1 | - out r | Remainder n mod p | - | n - p * floor(n / p) | 0 out q | Quotient n / p | - | n / p | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- GCD and LCM Table for Numbers 1 to 2072
- Decimal, Binary and Hex Conversion Table 0 to 2558 bits
- Factorial Table 0 to 30 With Exact Values3,628,800
- How to Take Clothing Size Measurements
- Pounds per Clothing Size: What to Expect
- Far From What Clothing? Meaning & Origins100 %