# $10^{\text {th }}$ Annual Harvard-MIT Mathematics Tournament
Saturday 24 February 2007
Saturday 24 February 2007}
Team Round: A Division
$\Sigma, \tau$, and You: Fun at Fraternities? [270]
A number theoretic function is a function whose domain is the set of positive integers. A multiplicative number theoretic function is a number theoretic function $f$ such that $f(m n)=f(m) f(n)$ for all pairs of relatively prime positive integers $m$ and $n$. Examples of multiplicative number theoretic functions include $\sigma, \tau, \phi$, and $\mu$, defined as follows. For each positive integer $n$,
- The sum-of-divisors function, $\sigma(n)$, is the sum of all positive integer divisors of $n$. If $p_{1}, \ldots, p_{i}$ are distinct primes and $e_{1}, \ldots, e_{i}$ are positive integers,
$$
\sigma\left(p_{1}^{e_{1}} \cdots p_{i}^{e_{i}}\right)=\prod_{k=1}^{i}\left(1+p_{k}+\cdots+p_{k}^{e_{k}}\right)=\prod_{k=1}^{i} \frac{p_{k}^{e_{k}+1}-1}{p_{k}-1}
$$
- The divisor function, $\tau(n)$, is the number of positive integer divisors of $n$. It can be computed by the formula
$$
\tau\left(p_{1}^{e_{1}} \cdots p_{i}^{e_{i}}\right)=\left(e_{1}+1\right) \cdots\left(e_{i}+1\right)
$$
where $p_{1}, \ldots, p_{i}$ and $e_{1}, \ldots, e_{i}$ are as above.
- Euler's totient function, $\phi(n)$, is the number of positive integers $k \leq n$ such that $k$ and $n$ are relatively prime. For $p_{1}, \ldots, p_{i}$ and $e_{1}, \ldots, e_{i}$ as above, the phi function satisfies
$$
\phi\left(p_{1}^{e_{1}} \cdots p_{i}^{e_{i}}\right)=\prod_{k=1}^{i} p_{k}^{e_{k}-1}\left(p_{k}-1\right)
$$
- The Möbius function, $\mu(n)$, is equal to either $1,-1$, or 0 . An integer is called square-free if it is not divisible by the square of any prime. If $n$ is a square-free positive integer having an even number of distinct prime divisors, $\mu(n)=1$. If $n$ is a square-free positive integer having an odd number of distinct prime divisors, $\mu(n)=-1$. Otherwise, $\mu(n)=0$.
The Möbius function has a number of peculiar properties. For example, if $f$ and $g$ are number theoretic functions such that
$$
g(n)=\sum_{d \mid n} f(d)
$$
for all positive integers $n$, then
$$
f(n)=\sum_{d \mid n} g(d) \mu\left(\frac{n}{d}\right)
$$
This is known as Möbius inversion. In proving the following problems, you may use any of the preceding assertions without proving them. You may also cite the results of previous problems, even if you were unable to prove them.
1. [15] Evaluate the functions $\phi(n), \sigma(n)$, and $\tau(n)$ for $n=12, n=2007$, and $n=2^{2007}$.
Solution. For $n=12=2^{2} \cdot 3^{1}$,
$$
\phi(12)=2(2-1)(3-1)=4, \quad \sigma(12)=(1+2+4)(1+3)=28, \quad \tau(12)=(2+1)(1+1)=6
$$
for $n=2007=3^{2} \cdot 223$,
$\phi(2007)=3(3-1)(223-1)=1332, \quad \sigma(2007)=(1+3+9)(1+223)=2912, \quad \tau(2007)=(2+1)(1+1)=6 ;$
and for $n=2^{2007}$,
$$
\phi\left(2^{2007}\right)=2^{2006}, \quad \sigma\left(2^{2007}\right)=\left(1+2+\cdots+2^{2007}\right)=2^{2008}-1, \quad \tau\left(2^{2007}\right)=2007+1=2008
$$
2. [20] Solve for the positive integer(s) $n$ such that $\phi\left(n^{2}\right)=1000 \phi(n)$.
Answer: 1000.
Solution. The unique solution is $n=1000$. For, $\phi(p n)=p \phi(n)$ for every prime $p$ dividing $n$, so that $\phi\left(n^{2}\right)=n \phi(n)$ for all positive integers $n$.
3. [25] Prove that for every integer $n$ greater than 1 ,
$$
\sigma(n) \phi(n) \leq n^{2}-1
$$
When does equality hold?
Solution. Note that
$$
\sigma(m n) \phi(m n)=\sigma(m) \phi(m) \sigma(n) \phi(n) \leq\left(m^{2}-1\right)\left(n^{2}-1\right)=(m n)^{2}-\left(m^{2}+n^{2}-1\right)<(m n)^{2}-1
$$
for any pair of relatively prime positive integers $(m, n)$ other than $(1,1)$. Now, for $p$ a prime and $k$ a positive integer, $\sigma\left(p^{k}\right)=1+p+\cdots+p^{k}=\frac{p^{k+1}-1}{p-1}$ and $\phi\left(p^{k}\right)=p^{k}-\frac{1}{p} \cdot p^{k}=(p-1) p^{k-1}$. Thus,
$$
\sigma\left(p^{k}\right) \phi\left(p^{k}\right)=\frac{p^{k+1}-1}{p-1} \cdot(p-1) p^{k-1}=\left(p^{k+1}-1\right) p^{k-1}=p^{2 k}-p^{k-1} \leq p^{2 k}-1
$$
with equality where $k=1$. It follows that equality holds in the given inequality if and only if $n$ is prime.
4. [25] Let $F$ and $G$ be two multiplicative functions, and define for positive integers $n$,
$$
H(n)=\sum_{d \mid n} F(d) G\left(\frac{n}{d}\right)
$$
The number theoretic function $H$ is called the convolution of $F$ and $G$. Prove that $H$ is multiplicative. Solution. Let $m$ and $n$ be relatively prime positive integers. We have
$$
\begin{aligned}
& H(m) H(n)=\left(\sum_{d \mid m} F(d) G\left(\frac{m}{d}\right)\right)\left(\sum_{d^{\prime} \mid n} F\left(d^{\prime}\right) G\left(\frac{n}{d^{\prime}}\right)\right) \\
& \quad=\sum_{d\left|m, d^{\prime}\right| n} F(d) F\left(d^{\prime}\right) G\left(\frac{m}{d^{\prime}}\right) G\left(\frac{n}{d}\right)=\sum_{d\left|m, d^{\prime}\right| n} F\left(d d^{\prime}\right) G\left(\frac{m n}{d d^{\prime}}\right) \\
& \quad=\sum_{d \mid m n} F(d) G\left(\frac{m n}{d}\right)=H(m n)
\end{aligned}
$$
5. [30] Prove the identity
$$
\sum_{d \mid n} \tau(d)^{3}=\left(\sum_{d \mid n} \tau(d)\right)^{2}
$$
Solution. Note that $\tau^{3}$ is multiplicative; in light of the convolution property just shown, it follows that both sides of the posed equality are multiplicative. Thus, it would suffice to prove the claim for $n$ a power of a prime. So, write $n=p^{k}$ where $p$ is a prime and $k$ is a nonnegative integer. Then
$$
\begin{aligned}
& \sum_{d \mid n} \tau(d)^{3}=\sum_{i=0}^{k} \tau\left(p^{i}\right)^{3}=\sum_{i=0}^{k}(i+1)^{3} \\
& \quad=1^{3}+\cdots+(k+1)^{3}=\frac{(k+1)^{2}(k+2)^{2}}{4}=\left(\frac{(k+1)(k+2)}{2}\right)^{2} \\
& \quad=\left(\sum_{i=0}^{k} \tau\left(p^{i}\right)\right)^{2}=\left(\sum_{d \mid n} \tau(d)\right)^{2}
\end{aligned}
$$
as required.
6. [25] Show that for positive integers $n$,
$$
\sum_{d \mid n} \phi(d)=n
$$
Solution. Both sides are multiplicative functions of $n$, the right side trivially and the left because for relatively prime positive integers $n$ and $n^{\prime}$,
$$
\left(\sum_{d \mid n} \phi(d)\right)\left(\sum_{d^{\prime} \mid n^{\prime}} \phi\left(d^{\prime}\right)\right)=\sum_{d\left|n, d^{\prime}\right| n^{\prime}} \phi(d) \phi\left(d^{\prime}\right),
$$
and $\phi(d) \phi\left(d^{\prime}\right)=\phi\left(d d^{\prime}\right)$. The identity is then easy to check; since $\phi\left(p^{k}\right)=p^{k-1}(p-1)$ for positive integers $k$ and $\phi(1)=1$, we have $\phi(1)+\phi(p)+\cdots+\phi\left(p^{k}\right)=1+(p-1)+\left(p^{2}-p\right)+\cdots+\left(p^{k}-p^{k-1}\right)=p^{k}$, as desired.
7. [25] Show that for positive integers $n$,
$$
\sum_{d \mid n} \frac{\mu(d)}{d}=\frac{\phi(n)}{n}
$$
Solution. On the grounds of the previous problem, Möbius inversion with $f(k)=\phi(k)$ and $g(k)=k$ gives:
$$
\phi(n)=f(n)=\sum_{d \mid n} g(d) \mu\left(\frac{n}{d}\right)=\sum_{d^{\prime} \mid n} g\left(\frac{n}{d^{\prime}}\right) \mu\left(d^{\prime}\right)=\sum_{d^{\prime} \mid n} \frac{n}{d^{\prime}} \mu\left(d^{\prime}\right)
$$
Alternatively, one uses the convolution of the functions $f(k)=n$ and $g(k)=\frac{\mu(d)}{d}$. The strategy is the same as the previous convolution proof. For $n=p^{k}$ with $k$ a positive integer, we have $\phi(n)=p^{k}-p^{k-1}$, while the series reduces to $p^{k} \cdot \mu(1)+p^{k} \cdot \mu(p) / p=p^{k}-p^{k-1}$.
8. [30] Determine with proof, a simple closed form expression for
$$
\sum_{d \mid n} \phi(d) \tau\left(\frac{n}{d}\right)
$$
Solution. We claim the series reduces to $\sigma(n)$. The series counts the ordered triples $(d, x, y)$ with $d|n ; x| d ; 01$, problem 1 asserts that $\sigma(n) \phi(n) \leq n^{2}-1\frac{n^{2}}{\sigma(n) \phi(n)}$. Write $n=p_{1}^{e_{1}} \cdots p_{k}^{e_{k}}$, where the $p_{i}$ are distinct primes and $e_{i} \geq 1$ for all $i$, and let $q_{1}