Evaluating $\sum_{n=1}^{\infty} \frac{\phi(n)}{7^n + 1}$, where $\phi(n)$ is Euler’s totient function

sequences-and-seriessummationtotient-function

Evaluate $$\sum_{n=1}^{\infty} \frac{\phi(n)}{7^n + 1}$$
where $\phi(n)$ is Euler's totient function.

I found this problem on a Discord server I just joined. The first time I saw this sum, I was daunted. After gathering courage, I started my work on this problem.

I tried various things, like using the definition
$$\phi(n) = n\left(1 – \frac{1}{p_1}\right)\cdots\left(1-\frac{1}{p_m}\right)$$ (where the $p_i$ are the prime factors of $n$) and what not, but it lead to nothing.

Then I started thinking about the $7$ in the denominator; why only $7$? What is so special about $7$? What is the difference between
$$\sum_{n=1}^{\infty}\frac{\phi(n)}{6^n + 1}$$ and
$$\sum_{n=1}^{\infty}\frac{\phi(n)}{7^n + 1}$$.
To answer that question, I took the literal difference of the two sums, but the denominator blew up so I started to think again. Because of that, I defined the two sequences and their sum:
$$a_n = \frac{\phi(n)}{7^n + 1} \textrm{ and }b_n= \frac{\phi(n)}{7^n – 1}$$
$$S_1 = \sum_{n=1}^{\infty} a_n\textrm{ and }S_2 = \sum_{n=1}^{\infty} b_n$$
and took THEIR difference, which lead to

$$\sum_{n=1}^{\infty}(b_n – a_n) = 2\sum_{n=1}^{\infty}\frac{a_nb_n}{\phi(n)}$$

Now I can say that I'm genuinely stuck. Can someone provide a hint as to what to do next?

Best Answer

7 is not special at all. We can replace it with any $a>1$ (even real numbers). \begin{align*} \sum_{n=1}^{\infty} \frac{\phi(n)}{a^{n}+1} &= \sum_{n=1}^{\infty}\phi(n) \frac{a^{-n}}{1+a^{-n}} = \sum_{n=1}^{\infty} \phi(n)a^{-n}(1-a^{-n}+a^{-2n}-\cdots) \\ &= \sum_{n=1}^{\infty}\sum_{k=1}^{\infty} \phi(n)(-1)^{k+1}a^{-kn} \\ &= \sum_{m=1}^{\infty} \sum_{d|m} (-1)^{\frac{m}{d}+1}\phi(d)a^{-m} \\ &= -\sum_{m=1}^{\infty} a^{-m}\left(\sum_{d|m} (-1)^{\frac{m}{d}}\phi(d)\right) \end{align*} Now we will show the following: $$ \sum_{d|m}(-1)^{\frac{m}{d}}\phi(d) = \begin{cases} 0 & m\text{ is even} \\ -m & m\text{ is odd} \end{cases} $$ If $m$ is odd, then $\sum_{d|m}(-1)^{\frac{m}{d}}\phi(d) = -\sum_{d|m}\phi(d) = -m$. If $m$ is even, let $m = 2^{k}t$ for odd $t$ and $k\geq 1$. Then $$ \sum_{d|m}(-1)^{\frac{m}{d}}\phi(d) = \sum_{d|t}\phi(d) + \sum_{d|t}\phi(2d) + \cdots + \sum_{d|t}\phi(2^{k-1}d) - \sum_{d|t}\phi(2^{k}d) = (1+\phi(2)+\cdots + \phi(2^{k-1})-\phi(2^{k}))\sum_{d|t}\phi(d) = 0 $$ (Here we use the multiplicativity of $\phi$.)

Hence the sum equals to $$ \sum_{k=0}^{\infty} \frac{2k+1}{a^{2k+1}} = \frac{a(a^{2}+1)}{(a^{2}-1)^{2}} $$