So I have just taken a course on elementary number theory and started playing around with Eulers totient function $\phi (n)$ and $\tau (n):= \#\{\text{divisors of } n\}$. I read about Gauss theorem which states that for positive integers $n\geq 1$ $$\sum_{d|n} \phi (d)=n$$ and then thought of a "similar" question which is stated in the title, that is $$\boxed {\sum_{d|n} \phi (\tau (d))=?}$$
I tried out some case that would be simpler than finding a general formula for this sum, which is when $n=p^{k}$ where $p$ is prime and $k$ is a positive integer. Reason being that there are simpler indentities to work with regarding $\phi (n)$ and $\tau (n)$ when $n$ is a power of a prime.
I will present what I found to be true on a more heuristic/evidential basis. Meaning that I have not yet proven the results. Here are my results:
Let $p$ be a prime and $k$ a positive integer. Then we have that:
- $\boxed{\sum_{d|p^{k}} \phi (\tau (d))=\sum\limits_ {i=1}^ {k+1} \phi (i)=\sum\limits_ {i=1}^ {k} \phi (i)+\phi (k+1)}.$
- $\boxed{\sum_{d|p^{k}} \phi (\tau (d))\stackrel{?}{\equiv} 0 \pmod 2}$, if $k\geq 1$.
Proving the first identity is rather simple. Simply note that the divisors of $p^{k}$ are the following list of integers: $\underbrace{p^{0}, p^{1}, \ldots , p^{k-1}, p^{k}}_{k+1}$. Meaning in particular that $p^{k}$ has exactly $k+1$ divisors. Thus $$\sum_{d|p^{k}} \phi (\tau (d))= \phi (\tau (p^{0}))+\phi (\tau (p^{1}))+\ldots +\phi (\tau (p^{k})) = \phi (1)+\phi (2)+\ldots +\phi(k)+\phi (k+1)=\sum\limits_ {i=1}^ {k+1} \phi (i)$$ which follow from the fact that $\tau (p^{k})=k+1$. Thus $$\sum_{d|p^{k}} \phi (\tau (d))=\sum\limits_ {i=1}^ {k+1} \phi (i)=\sum\limits_ {i=1}^ {k} \phi (i)+\phi (k+1).$$
That $\boxed{\sum_{d|p^{k}} \phi (\tau (d))\equiv 0 \pmod 2}$ I found by experimentation but I dont know exactly how to prove this, given that I have not made any mistakes, that is...
Since $\sum_{d|p^{k}} \phi (\tau (d))=\sum\limits_ {i=1}^ {k+1} \phi (i)$ one finds that:
- If $n=p^{1}$, then $\sum\limits_ {i=1}^ {1+1} \phi (i)=\phi (1)+\phi (2)=1+1=2$.
- If $n=p^{2}$, then $\sum\limits_ {i=1}^ {2+1} \phi (i)=\phi (1)+\phi (2) + \phi (3)=2+2=4$.
- If $n=p^{3}$, then $\sum\limits_ {i=1}^ {3+1} \phi (i)=\phi (1)+\phi (2)+\phi (3)+\phi (4)=4+2=6$
- If $n=p^{4}$, then $\sum\limits_ {i=1}^ {4+1} \phi (i)=\sum\limits_ {i=1}^ {4} \phi (i)+\phi (5)=6+4=10$,
so on and so forth. I made calculations up to $n=p^{6}$ which gives $\sum\limits_ {i=1}^ {6+1} \phi (i)=18$, which suggests that $$\sum_{d|p^{k}} \phi (\tau (d))\stackrel{?}{\equiv} 0 \pmod 2$$ if $k\geq 1$. How would one go about proving this?
Since $ \phi(n)$ is even for any $n>2$ and $\phi(1) + \phi(2) = 2$ implies that $\sum_{i = 1} ^{k+1} \phi(i)$ is even.
In general if $ x_i> 2,\text{for } i = 1,2,\cdots ,n$ are natural numbers then $$ \sum_{i = 1}^{n} \phi(x_i) = 0 \mod 2$$