Determine the Number of Divisors of an Integer

A divisor, or factor, is a number that divides evenly into a larger integer.[1] 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.

Steps

Factoring the Integer

  1. 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.
  2. 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.
  3. Look for prime factors. A prime factor is a number that is only evenly divisible by 1 and itself.[2] 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.
    • For example, 2 is a prime number, so you would circle the <math> 2</math> on your factor tree.
  4. 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.
  5. 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.[3]
    • 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>.
  6. 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

  1. 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.[4]
    • 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.
  2. 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>.
  3. 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>
  4. 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.

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.



Sources and Citations

You may like