# Difference between revisions of "1986 AIME Problems/Problem 8"

## Problem

Let $S$ be the sum of the base $10$ logarithms of all the proper divisors (all divisors of a number excluding itself) of $1000000$. What is the integer nearest to $S$?

## Solution 1

The prime factorization of $1000000 = 2^65^6$, so there are $(6 + 1)(6 + 1) = 49$ divisors, of which $48$ are proper. The sum of multiple logarithms of the same base is equal to the logarithm of the products of the numbers.

Writing out the first few terms, we see that the answer is equal to $$\log 1 + \log 2 + \log 4 + \log 5 +\ldots + \log 1000000 = \log (2^05^0)(2^15^0)(2^25^0)\cdots (2^65^6).$$ Each power of $2$ appears $7$ times; and the same goes for $5$. So the overall power of $2$ and $5$ is $7(1+2+3+4+5+6) = 7 \cdot 21 = 147$. However, since the question asks for proper divisors, we exclude $2^65^6$, so each power is actually $141$ times. The answer is thus $S = \log 2^{141}5^{141} = \log 10^{141} = \boxed{141}$.

### Simplification

The formula for the product of the divisors of $n$ is $n^{(d(n))/2}$, where $d(n)$ is the number of divisor of $n$. We know that $\log_{10} a + \log_{10} b + \log_{10} c + \log_{10} d...$ and so on equals $\log_{10} (abcd...)$ by sum-product rule of logs, so the problem is reduced to finding the logarithm base 10 of the product of the proper divisors of $10^6$. The product of the divisors, by the earlier formula, is ${(10^6)}^{49/2} = 10^{49*3}$, and since we need the product of only the proper divisors, which means the divisors NOT including the number, $10^6$, itself, we divide $10^{(49*3)}$ by $10^6$ to get $10^{(49*3-6)} = 10^{(141)}$. The base-10 logarithm of this value, in base 10, is clearly $\boxed{141}$

## Solution 2

Since the prime factorization of $10^6$ is $2^6 \cdot 5^6$, the number of factors in $10^6$ is $7 \cdot 7=49$. You can pair them up into groups of two so each group multiplies to $10^6$. Note that $\log n+\log{(10^6/n)}=\log{n}+\log{10^6}-\log{n}=6$. Thus, the sum of the logs of the divisors is half the number of divisors of $10^6 \cdot 6 -6$ (since they are asking only for proper divisors), and the answer is $(49/2)\cdot 6-6=\boxed{141}$.

## Solution 3

Note that we can just pair terms up such that the product is $10^{6}.$ Now, however, note that $10^{3}$ is not included. Therefore we first exclude. We have $\displaystyle\frac{49-1}{2} = 24$ pairs that all multiply to $10^{6}.$ Now we include $10^{3}$ so our current product is $24 \cdot 6 - 3.$ However we dont want to include $10^6$ since we are considering proper factors only so the final answer is $144 + 3 - 6 = \boxed{141}.$