Read · 1 min

The number of (positive integer) factors of a positive integer nn is denoted by d(n)d(n). It is one of the most important arithmetic functions.

There exists a simple formula determining the number of factors of an integer. Or rather, as we usually consider positive factors of positive integers, let's restrain ourselves to positive integers.

To understand the formula, let's consider an example. Suppose we wish to find the number of positive divisors of 8484. To do this, a fast method would be to factorize it and then try to find all possible ways to meld its prime factors into a divisor. Let's carry this out - 84=22⋅3⋅784=2^2\cdot 3\cdot 7. This means the divisors are 1,3,7,211,3,7,21 and their doubles, 2,6,14,422,6,14,42 and their quadruples, 4,12,28,844,12,28,84.

More generally, suppose we have a positive integer n>1n>1 with the prime factorization* n=p1k1p2k2…prkr.n=p_1^{k_1}p_2^{k_2}\dots p_r^{k_r}. (Here, the pip_i represent different primes and the kik_i are some positive integer exponents.)

Any divisor of nn has the form

p1ℓ1p2ℓ2…prℓrp_1^{\ell_1}p_2^{\ell_2}\dots p_r^{\ell_r}

where 0≤ℓi≤ki0\le \ell_i\le k_i for each k=1,2,...,rk=1,2,...,r. Note that some of the ℓi\ell_i may be 00. In fact, every number of this form is a divisor of nn, and such a representation of a divisor is unique*.

Clearly, we may choose these ℓ1,ℓ2,...,ℓr\ell_1,\ell_2,...,\ell_r independently of each other, and for each ii, we may choose ℓi\ell_i to be any of the numbers 0,1,...,ki0,1,...,k_i, hence by the multiplication principle, the number of positive divisors of nn is precisely

d(n)=(k1+1)(k2+1)…(kr+1).d(n)=(k_1+1)(k_2+1)\dots(k_r+1).

Based on this formula, we may say that the divisor function is multiplicative.

By generalizing this method, we may find a formula for the sum of factors of a positive integer.

*These claims may appear to be intuitively obvious, but it in fact follow from the Fundamental Theorem of Arithmetic (proven here), which asserts that every integer larger than 11 has a unique prime factorization.

Learn a clever approach

Every problem comes with a worked solution, so even one you cannot crack shows you a new way to think. These are real problems from the AMC 8, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Interactive · 4 questions

An important concept in understanding numbers is determining the number of positive factors of an integer. It is not only important to know the techniques that can accomplish this goal, but also why they work. The simplest method for finding the number of factors is to simply list the factors. The easiest way to accomplish this is by looking at factor pairs. A factor pair is two numbers that multiply together to get the integer in question. Consider 30 for example. The following are the factor pairs of 30: 1⋅30=301\cdot30=30 2⋅15=302\cdot15=30 3⋅10=303\cdot10=30 5⋅6=305\cdot6=30 There are 4 factor pairs for 30 and thus there are 8 total factors. Note that we were done looking for factor pairs once we found 5⋅65\cdot6. This is because any other factor pair will include a number less than 5, but we have already considered all possible factors less than 5, so we are done. Try a couple of these on your own:

How many factors does 42 have?

Choose one answer

Read · 1 min

Prove that for any real number t>0t>0, there exists a large constant C(t)>0C(t)>0 which satisfies

d(n)≤C(t)ntd(n)\le C(t)n^t

for all positive integers nn.

Read · 1 min

For any positive integer dd, let f(d)f(d) denote the smallest positive integer with exactly dd divisors.

Let kk be a natural number. Prove that f(2k)f(2^k) divides f(2k+1)f(2^{k+1}).

(Source: IMO Shortlist 2011, problem N1)

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems