Determine the Number of Divisors of an Integer
A divisor, or factor, is a number that divides evenly into a larger integer.
It is easy to determine how many divisors a small integer (such as 6) has by simply listing out all the different ways you can multiply two numbers together to get to that integer. When working with larger integers, finding the number of divisors is more difficult. However, once you have factored the integer into prime factors, you can use a simple formula to reach your answer.Contents
Steps
Factoring the Integer
- Write the integer at the top of the page. You need to leave enough room so that you can set up a factor tree below it. You can use other methods to factor a number. Read Factor a Number for more instructions.
- For example, if you want to know many divisors, or factors, the number 24 has, write <math>24</math> at the top of the page.
- Find two numbers you can multiply together to get the number, not including 1. These are two divisors, or factors, of the number. Draw a split branch coming down from the original number, and write the two factors below it.
- For example, 12 and 2 are factors of 24, so draw a split branch coming down from <math>24</math>, and write the numbers <math>12</math> and <math> 2</math> below it.
- Look for prime factors. A prime factor is a number that is only evenly divisible by 1 and itself.
- For example, 2 is a prime number, so you would circle the <math> 2</math> on your factor tree.
For example, 7 is a prime number, because the only numbers that evenly divide into 7 are 1 and 7. Circle any prime factors so that you can keep track of them.
- Continue to factor non-prime numbers. Keep drawing branches down from the non-prime factors until all of your factors are prime. Circle the prime numbers to keep track of them.
- For example, 12 can be factored into <math>6</math> and <math> 2</math>. Since <math> 2</math> is a prime number, you would circle it. Next, <math>6</math> can be factored into <math>3</math> and <math> 2</math>. Since <math>3</math> and <math> 2</math> are prime numbers, you would circle them.
- Write an exponential expression for each prime factor. To do this, look for multiples of each prime factor in your factor tree. The number of times the factor appears equals the exponent of the factor in your exponential expression.
- For example, the prime factor <math> 2</math> appears three times in your factor tree, so the exponential expression is <math>2^{3}</math>. The prime factor <math>3</math> appears 1 time in your factor tree, so the exponential expression is <math>3^{1}</math>.
- Write the equation for the prime factorization of the number. The original number you are working with is equal to the product of the exponential expressions.
- For example <math>24 = 2^{3} \times 3^{1}</math>.
Determining the Number of Factors
- Set up the equation for determining the number of divisors, or factors, in a number. The equation is <math>d(n) = (a + 1)(b+ 1)(c+ 1)</math>, where <math>d(n)</math> is equal to the number of divisors in the number <math>n</math>, and <math>a</math>, <math>b</math>, and <math>c</math> are the exponents in the prime factorization equation for the number.
- You might have less than three or more than three exponents. The formula simply states to multiply together whatever number of exponents you are working with.
- Plug in the value of each exponent into the formula. Be careful to use the exponents, not the prime factors.
- For example, since <math>24 = 2^{3} \times 3^{1}</math>, you would plug in the exponents <math>3</math> and <math>1</math> into the equation. Thus the equation will look like this: <math>d(24) = (3 + 1)(1 + 1)</math>.
- Add the values in parentheses. You are simply adding 1 to each exponent.
- For example:
<math>d(24) = (3 + 1)(1 + 1)</math>
<math>d(24) = (4)(2)</math>
- For example:
- Multiply the values in parentheses. The product will equal the number of divisors, or factors, in the number <math>n</math>.
- For example:
<math>d(24) = (4)(2)</math>
<math>d(24) = 8</math>
So, the number of divisors, or factors, in the number 24 is 8.
- For example:
Tips
- When the number is a perfect square (such as 36), the number of divisors will be odd. When it's not a square, the number of divisors will be even.