Ramanujan's Papers
Download as PDF pdf icon
On certain trigonometrical sums and their applications in the theory of numbers
Transactions of the Cambridge Philosophical Society, XXII, No.13, 1918, 259 – 276

1. The trigonometrical sums with which this paper is concerned are of the type $$c_s (n) = \sum_\lambda \cos \frac{2 \pi \lambda n}{s},$$ where $\lambda$ is prime to $s$ and not greater than $s$. It is plain that $$c_s (n) = \sum \alpha^n,$$ where $\alpha$ is a primitive root of the equation $$x^s -1 = 0.$$ These sums are obviously of very great interest, and a few of their properties have been discussed already1. But, so far as I know, they have never been considered from the point of view which I adopt in this paper; and I believe that all the results which it contains are new.

My principal object is to obtain expressions for a variety of well-known arithmetical functions of $n$ in the form of a series $$ \sum_s a_s c_s (n).$$ A typical formula is $$\sigma (n) = \frac{\pi^2 n}{6} \left\{\frac{c_1(n)}{1^2} + \frac{c_2(n)}{2^2} + \frac{c_3(n)}{3^2} + \cdots \right\},$$ where $\sigma(n)$ is the sum of the divisors of $n$. I give two distinct methods for the proof of this and a large variety of similar formulæ. The majority of my formulæ are ``elementary'' in the technical sense of the word — they can (that is to say) be proved by a combination of processes involving only finite algebra and simple general theorems concerning infinite series. These are however some which are of a ``deeper'' character, and can only be proved by means of theorems which seem to depend essentially on the theory of analytic functions. A typical formula of this class is $$c_1(n) + \myfrac{1}{2} c_2 (n) + \myfrac{1}{3} c_3(n) + \cdots = 0,$$ a formula which depends upon, and is indeed substantially equivalent to, the ``Prime Number Theorem'' of Hadamard and de la Vallèe Poussin.

Many of my formulæ are intimately connected with those of my previous paper ``On certain arithmetical functions'', published in 1916 in these Transactions2. They are also connected (in a manner pointed out in $\S$ 15) with a joint paper by Mr Hardy and myself, ``Asymptotic Formulæ in Combinatory Analysis'', in course of publication in the Proceedings of the London Mathematical Society3.

2. Let $F(u,v)$ be any function of $u$ and $v$, and let

\begin{equation*} D(n) = \sum_\delta F(\delta, \delta'), \tag{2.1} \end{equation*}
where $\delta$ is a divisor of $n$ and $\delta \delta'=n$. For instance $$\begin{array}{ll} D(1) = F(1,1); & D(2) = F(1,2) + F(2,1); \\ D(3) = F(1,3) + F(3,1); & D(4) = F(1,4)+ F(2,2) + F(4,1);\\ D(5) = F(1,5) + F(5,1); & D(6) = F(1,6)+ F(2,3) + F(3,2) + F(6,1); \ldots\ldots \end{array}$$ It is clear that $D(n)$ may also be expressed in the form
\begin{equation*} D(n) = \sum_\delta F(\delta', \delta). \tag{2.2} \end{equation*}
Suppose now that
\begin{equation*} \eta_s(n) = \sum^{s-1}_{0} \cos \frac{2 \pi \nu n}{s}, \tag{2.3} \end{equation*}
so that $ \eta_s(n) = s$ if $s$ is a divisor of $n$ and $\eta_s (n) = 0$ otherwise. Then
\begin{equation*} D(n)=\sum_1^t \frac{1}{\nu}\eta_{\nu}(n)F\left (\nu,\frac{n}{\nu}\right ),\href{#p21_en4}{^4} \tag{2.4} \end{equation*}
where $t$ is any number not less than $n$. Now let
\begin{equation*} c_s (n) = \sum_\lambda \cos \frac{2 \pi \lambda n}{s}, \tag{2.5} \end{equation*}
where $\lambda$ is prime to $s$ and does not exceed $s$; e.g. \begin{eqnarray*} &&c_1(n)= 1;\quad c_2(n) = \cos n \pi;\quad c_3(n)= 2 \cos \myfrac{2}{3}n \pi;\\ &&c_4(n)= 2 \cos \myfrac{1}{2}n \pi;\quad c_5(n)= 2 \cos \myfrac{2}{5}n \pi + 2 \cos \myfrac{4}{5}n \pi; \\ &&c_6(n)= 2 \cos \myfrac{1}{3} n \pi;\quad c_7(n)= 2 \cos \myfrac{2}{7} n \pi + 2 \cos \myfrac{4}{7} n \pi + 2 \cos \myfrac{6}{7} n \pi; \\ &&c_8(n)=2 \cos \myfrac{1}{4} n \pi + 2 \cos \myfrac{3}{4} n \pi;\quad c_9(n)= 2 \cos \myfrac{2}{9} n \pi + 2 \cos \myfrac{4}{9} n \pi+ 2 \cos \myfrac{8}{9} n \pi; \\ &&c_{10}(n)= 2 \cos \myfrac{1}{5} n \pi + 2 \cos \myfrac{3}{5} n \pi; \ldots . \end{eqnarray*} It follows from (2.3) and (2.5) that
\begin{equation*} \eta_s(n) = \sum_{\delta}c_{\delta}(n),\tag{2.6} \end{equation*}
where $\delta$ is a divisor of $s$; and hence5 that
\begin{equation*} c_s(n) = \sum_{\delta} \mu (\delta') \eta_\delta (n), \tag{2.7} \end{equation*}
where $\delta$ is a divisor of $s, \delta \delta' = s$, and
\begin{equation*} \sum \frac{\mu(\nu)}{ \nu^s} = \frac{1}{\zeta(s)}, \tag{2.8} \end{equation*}
$\zeta(s)$ being the Riemann Zeta-function. In particular \begin{eqnarray*} c_1(n)= \eta_1 (n);\: c_2(n) = \eta_2 (n) - \eta_1(n);\: c_3(n) = \eta_3 (n) - \eta_1 (n); \\ c_4(n) = \eta_4(n) - \eta_2(n);\: c_5(n) = \eta_5 (n) - \eta_1(n); \ldots\ldots \end{eqnarray*} But from (2.3) we know that $\eta_\delta(n) = 0$ if $\delta$ is not a divisor of $n$; and so we can suppose that, in (2.7), $\delta$ is a common divisor of $n$ and $s$. It follows that $$| c_s (n) | \leq \sum \delta,$$ where $\delta$ is a divisor of $n$; so that
\begin{equation*} c_\nu (n) = O(1) \tag{2.9} \end{equation*}
if $n$ is fixed and $\nu \to \infty$. Since $$\eta_s(n) = \eta_s(n+s);\quad c_s(n) = c_s(n+s),$$ the values of $c_s(n)$ for $n=1,2,3,\ldots$ can be shewn conveniently by writing \begin{eqnarray*} &&c_1(n)= \overline{1};\quad c_2(n) = - \overline{1,1};\quad c_3(n) = \overline{-1, -1,2};\\ &&c_4(n)= \overline{0,-2,0,2};\quad c_5(n) = \overline{-1, -1, -1, -1, 4};\\ &&c_6(n)= \overline{1, -1, -2, -1,1,2}:\quad c_7(n) = \overline{-1, -1, -1, -1, -1, -1, 6};\\ &&c_8(n)=\overline{0,0,0,-4,0,0,0,4};\quad c_9(n)=\overline{0,0,-3,0,0,-3,0,0,6};\\ &&c_{10}(n) = \overline{1,-1,1,-1,-4,-1,1,-1,1,4}; \dots\dots \end{eqnarray*} the meaning of the third formula, for example, being that $c_3(1)=-1, c_3(2)$ $=-1, c_3(3)=2$, and that these values are then repeated periodically. It is plain that we have also
\begin{equation*} c_\nu(n) = O(1). \tag{2.91} \end{equation*}
when $\nu$ is fixed and $n \to \infty$.

3. Substituting (2.6) in (2.4) and collecting the coefficients of $c_1(n), $ $c_2(n),$ $ c_3(n) \ldots,$ we find that

\begin{equation*} D(n) = c_1(n) \sum^t_1 \frac{1}{\nu} F \left(\nu, \frac{n}{\nu}\right) + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{1}{2\nu} F\left(2\nu, \frac{n}{2\nu}\right) +c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{1}{3\nu} F\left(3\nu, \frac{n}{3\nu}\right)+ \cdots, \tag{3.1} \end{equation*}
where $t$ is any number not less than $n$. If we use (2.2) instead of (2.1) we obtain another expression, viz.
\begin{equation*} D(n) = c_1(n) \sum^t_1 \frac{1}{\nu} F \left(\frac{n}{\nu}, \nu\right) + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{1}{2\nu} F\left(\frac{n}{2\nu},2\nu \right), +c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{1}{3\nu} F\left(\frac{n}{3\nu},3\nu \right)+ \cdots,\tag{3.2} \end{equation*}
where $t$ is any number not less that $n$. Suppose now that $$F_1(u,v) = F(u,v) \log u,\:\: F_2(u,v) = F(u,v) \log v.$$ Then we have \begin{eqnarray*} D(n) \log n &=& \sum_\delta F(\delta, \delta') \log n = \sum_\delta F(\delta, \delta') \log(\delta \delta')\\ &=& \sum_\delta F_1(\delta,\delta') + \sum_\delta F_2(\delta,\delta'), \end{eqnarray*} where $\delta$ is a divisor of $n$ and $\delta \delta' =n$.

Now for $\sum_\delta F_1(\delta,\delta')$ we shall write the expression corresponding to (3.1) and for $\sum_\delta F_2(\delta, \delta')$ the expression corresponding to (3.2). Then we have

\begin{eqnarray*} D(n) \log n &= & c_1 (n) \sum^r_1 \frac{\log \nu}{\nu} F\left(\nu, \frac{n}{\nu}\right) + c_2(n) \sum^{\myfrac{1}{2} r}_1 \frac{\log 2 \nu}{2 \nu} F\left(2\nu, \frac{n}{2\nu}\right)\\ &+& c_3(n) \sum^{\myfrac{1}{3}r}_1 \frac{\log 3 \nu}{3 \nu} F\left(3\nu, \frac{n}{3\nu}\right) + \cdots + c_1(n)\sum^t_1 \frac{\log \nu}{\nu} F\left(\frac{n}{\nu}, \nu \right)\\ &+& c_2 (n) \sum^{\myfrac{1}{2}t}_1 \frac{\log 2 \nu}{2 \nu} F\left(\frac{n}{2\nu}, 2 \nu\right) + c_3 (n) \sum^{\myfrac{1}{3}t}_1 \frac{\log 3 \nu}{3 \nu} F\left(\frac{n}{3\nu}, 3 \nu \right)+ \cdots, \tag{3.3} \end{eqnarray*}
where $r$ and $t$ are any two numbers not less than $n$. If, in particular, $F(u,v) = F(v,u),$ then (3.3) reduces to
\begin{eqnarray*} \myfrac{1}{2} D(n) \log n &=& c_1 (n) \sum^t_1 \frac{\log \nu}{\nu} F\left(\nu,\frac{n}{\nu}\right)\\ &+& c_2 (n) \sum^{\myfrac{1}{2}t}_1 \frac{\log 2 \nu}{2 \nu} F\left(2\nu, \frac{n}{2\nu}\right) + c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{\log 3 \nu}{3\nu} F\left(3\nu, \frac{n}{3 \nu}\right) + \cdots, \tag{3.4} \end{eqnarray*}
where $t$ is any number not less than $n$.

4. We may also write $D(n)$ in the form

\begin{equation*} D(n) = \sum^u_{\delta=1} F(\delta, \delta') + \sum^r_{\delta=1} F(\delta', \delta), \tag{4.1} \end{equation*}
where $\delta$ is a divisor of $n, \delta\delta'=n,$ and $u,v$ are may two positive numbers such that $uv=n$, it being understood that, if $u$ and $v$ are both integral, a term $F(u,v)$ is to be subtracted from the right-hand side. Hence (with the same conventions) $$D(n) = \sum^u_1 \frac{1}{\nu} \eta_\nu (n) F\left(\nu, \frac{n}{\nu}\right) + \sum^v_1 \frac{1}{\nu}\eta_{\nu}(n) F\left(\frac{n}{\nu}, \nu \right),$$ Applying to this formula transformations similar to those of $\S$3, we obtain
\begin{eqnarray*} D(n) &=& c_1(n) \sum^u_1 \frac{1}{\nu} F\left(\nu, \frac{n}{\nu}\right) + c_2(n) \sum^{\myfrac{1}{2}u}_1 \frac{1}{2\nu} F\left(2\nu, \frac{n}{2\nu}\right)+ \cdots \\ &&\qquad + c_1(n) \sum^v_1 \frac{1}{\nu} F\left(\frac{n}{\nu}, \nu \right) + c_2(n) \sum^{\myfrac{1}{2} v}_1 \frac{1}{2\nu} F\left(\frac{n}{2\nu}, 2\nu\right) + \cdots ,\tag{4.2} \end{eqnarray*}
where $u$ and $v$ are positive numbers such that $uv=n$. If $u$ and $v$ are integers then a term $F(u,v)$ should be subtracted from the right-hand side. If we suppose that $0 \lt u \leq 1$ then (4.2) reduces to (3.2), and if $0 \lt v \leq1$ it reduces to (3.1). Another particular case of interest is that in which $u=v$. Then
\begin{eqnarray*} D(n) &=& c_1(n) \sum^{\sqrt{n}}_1 \frac{1}{\nu} \left\{F\left(\nu, \frac{n}{\nu}\right) + F\left(\frac{n}{\nu}, \nu \right)\right\}\\ &&\qquad + c_2(n) \sum^{\myfrac{1}{2}\sqrt{n}}_1 \frac{1}{2\nu} \left\{F\left(2\nu, \frac{n}{2\nu}\right)+ F\left(\frac{n}{2\nu}, 2 \nu\right)\right\}+ \cdots .\tag{4.3} \end{eqnarray*}
If $n$ is a perfect square then $F(\sqrt{n}, \sqrt{n})$ should be subtracted from the right hand side.

5. We shall now consider some special forms of these general equations. Suppose that $F(u,v)=v^s$, so that $D(n)$ is the sum $\sigma_s (n)$ of the $s$th powers of the divisors of $n$. Then from (3.1) and (3.2) we have

\begin{equation*} \frac{\sigma_s(n)}{n^s} = c_1 (n) \sum^t_1 \frac{1}{\nu^{s+1}} + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{1}{(2\nu)^{s+1}} + c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{1}{(3\nu)^{s+1}} + \cdots , \tag{5.1} \end{equation*}
\begin{equation*} \sigma_s(n) = c_1(n) \sum^t_1 \nu^{s-1} + c_2(n) \sum^{\myfrac{1}{2}t}_1(2\nu)^{s-1} + c_3(n) \sum^{\myfrac{1}{3}t}_1 (3\nu)^{s-1} + \cdots, \tag{5.2} \end{equation*}
where $t$ is any number not less than $n$: from (3.3)
\begin{eqnarray*} \sigma_s(n)\log n &=& c_1(n) \sum^r_1 \nu^{s-1} \log \nu + c_2(n) \sum^{\myfrac{1}{2}r}_1 (2\nu)^{s-1} \log 2 \nu + \cdots \\ &&+ n^s \left\{c_1(n)\sum^t_1 \frac{\log \nu}{\nu^{s+1}} + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{\log 2 \nu}{(2\nu)^{s+1}} + \cdots \right\},\tag{5.3} \end{eqnarray*}
where $r$ and $t$ are two numbers not less than $n$: and from (4.2)
\begin{eqnarray*} \sigma_s(n)& =& c_1(n) \sum^u_1 \nu^{s-1}+ c_2(n)\sum^{\myfrac{1}{2}u}_1 (2\nu)^{s-1} + c_3(n) \sum^{\myfrac{1}{3}u}_1 (3\nu)^{s-1} + \cdots \\ &&\qquad + n^s \left\{c_1(n)\sum^v_1 \frac{1}{\nu^{s+1}} + c_2(n) \sum^{\myfrac{1}{2}v}_1 \frac{1}{(2\nu)^{s+1}} + c_3(n) \sum^{\myfrac{1}{3}v}_1 \frac{1}{(3\nu)^{s+1}} + \cdots\right\},\tag{5.4} \end{eqnarray*}
where $uv=n$. If $u$ and $v$ are integers then $u^s$ should be subtracted from the right-hand side.

Let $d(n)=\sigma_0(n)$ denote the number of divisors of $n$ and $\sigma(n)=\sigma_1(n)$ the sum of the divisors of $n$. Then from (5.1)(5.4) we obtain

\begin{equation*} d(n) = c_1(n) \sum^t_1 \frac{1}{\nu} + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{1}{2\nu} + c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{1}{3\nu}+ \cdots, \tag{5.5} \end{equation*}
\begin{equation*} \sigma(n) = c_1(n)[t] + c_2(n)[\myfrac{1}{2}t] + c_3(n)[\myfrac{1}{3}t]+ \cdots, \tag{5.6} \end{equation*}
\begin{equation*} \myfrac{1}{2} d(n) \log n = c_1(n) \sum^t_1 \frac{\log \nu}{\nu} + c_2(n) \sum^{\myfrac{1}{2}t}_1 \frac{\log 2 \nu}{2\nu}+ c_3(n) \sum^{\myfrac{1}{3}t}_1 \frac{\log 3 \nu}{3\nu}+ \cdots, \tag{5.7} \end{equation*}
\begin{eqnarray*} d(n)&=& c_1(n)\left\{\sum^u_1 \frac{1}{\nu} + \sum^v_1 \frac{1}{\nu}\right\} + c_2(n)\left\{\sum^{\myfrac{1}{2}u}_1 \frac{1}{2\nu} + \sum^{\half v}_1 \frac{1}{2\nu}\right\} \\ &&\qquad\qquad\qquad + c_3(n) \left\{\sum^{\myfrac{1}{3} u}_1 \frac{1}{3\nu} + \sum^{\myfrac{1}{3} v}_1 \frac{1}{3\nu}\right\}+ \cdots\ \tag{5.8} \end{eqnarray*}
where $t \geq n$ and $uv=n$. If $u$ and $v$ are integers then 1 should be subtracted from the right-hand side of (5.8). Putting $u=v=\sqrt{n}$ in (5.8) we obtain
\begin{equation*} \half d(n) = c_1(n) \sum^{\sqrt{n}}_1 \frac{1}{\nu} + c_2(n) \sum^{\half \sqrt{n}}_1 \frac{1}{2\nu} + c_3(n) \sum^{\myfrac{1}{3} \sqrt{n}}_1 \frac{1}{3\nu} + \cdots, \tag{5.9} \end{equation*}
unless $n$ is a perfect square, when $\half $ should be subtracted from the right-hand side. It may be interesting to note that, if we replace the left-hand side in (5.9) by $$\left[\half + \half d (n) \right],$$ then the formula is true without exception.

6. So far our work has been based on elementary formal transformations, and no questions of convergence have arisen. We shall now consider the equation (5.1) more carefully. Let us suppose that $s>0$. Then $$\sum^{t/k}_1 \frac{1}{(k\nu)^{s+1}} = \sum^\infty_1 \frac{1}{(k\nu)^{s+1}} + O \left(\frac{1}{kt^s}\right)=\frac{1}{k^{s+1}} \zeta(s+1) + O\left(\frac{1}{kt^s}\right).$$ The number of terms in the right-hand side of (5.1) is $[t]$. Also we know that $c_\nu(n) = O(1)$ as $n \to \infty$. Hence $$\frac{\sigma_s(n)}{n^s} = \zeta(s+1) \sum^t_{\nu=1} \frac{c_\nu(n)}{\nu^{s+1}} + O \left\{\frac{1}{t^s} \sum^t_{\nu=1} \frac{1}{\nu}\right\} = \zeta(s+1) \sum^\infty_1 \frac{c_\nu(n)}{\nu^{s+1}} + O\left(\frac{\log t}{t^s}\right).$$ Making $t\to \infty$, we obtain

\begin{equation*} \sigma_s(n) = n^s \zeta(s+1) \left\{\frac{c_1(n)}{1^{s+1}} + \frac{c_2(n)}{2^{s+1}} + \frac{c_3(n)}{3^{s+1}} + \cdots \right\}, \tag{6.1} \end{equation*}
if $s > 0$. Similarly, if we make $t \to \infty$ in (5.3), we obtain \begin{eqnarray*} \sigma_s(n) \log n &=& c_1(n) \sum^r_1 \nu^{s-1} \log \nu + c_2(n) \sum^{\half r}_1 (2\nu)^{s-1} \log 2 \nu + \cdots \\ &&+ n^s \left\{c_1(n) \sum^\infty_1 \frac{\log \nu}{\nu^{s+1}} + c_2(n) \sum^\infty_1 \frac{\log 2 \nu}{(2 \nu)^{s+1}} + \cdots \right\}. \end{eqnarray*} But $$\sum^\infty_1 \frac{\log k \nu}{(k\nu)^{s+1}} = \frac{\log k}{k^{s+1}} \zeta(s+1) - \frac{1}{k^{s+1}} \zeta'(s+1).$$ It follows from this and (6.1) that
\begin{eqnarray*} && \hspace{-1cm}\sigma_s(n) \left\{\frac{\zeta'(s+1)}{\zeta(s+1)} + \log n\right\} = c_1(n) \sum^t_1 \nu^{s-1} \log \nu \\ &&+ c_2(n) \sum^{\half t}_1 (2\nu)^{s-1} \log 2\nu + \cdots \\ &&+ n^s \zeta(s+1) \left\{\frac{c_1(n)\log 1}{1^{s+1}} + \frac{c_2(n)\log 2}{2^{s+1}} + \frac{c_3(n)\log 3}{3^{s+1}} + \cdots \right\},\tag{6.2} \end{eqnarray*}
where $s>0$ and $t\geq n$. Putting $s=1$ in (6.1) and (6.2) we obtain
\begin{equation*} \sigma(n) = \frac{\pi^2}{6} n \left\{\frac{c_1(n)}{1^2} + \frac{c_2(n)}{2^2} + \frac{c_3(n)}{3^2} + \cdots\right\}, \tag{6.3} \end{equation*}
\begin{eqnarray*} \sigma(n) \left\{\frac{\zeta'(2)}{\zeta(2)} + \log n \right\} &=& \frac{\pi^2}{6} n \left\{\frac{c_1(n)}{1^2} \log 1 + \frac{c_2(n)}{2^2} \log 2 + \cdots \right\}\\ &&\qquad + c_1(n) [t] \log 1 + c_2(n) [\half t] \log 2 + \cdots \\ &&\qquad + c_1(n) \log [t] ! + c_2(n) \log [\half t]!+ \cdots, \tag{6.4} \end{eqnarray*}
where $t \geq n$.

7. Since

\begin{equation*} \sigma_s (n) = n^s \sigma_{-s} (n), \tag{7.1} \end{equation*}
we may write (6.1) in the form
\begin{equation*} \frac{\sigma_{-s}(n)}{\zeta(s+1)} = \frac{c_1(n)}{1^{s+1}} + \frac{c_2(n)}{2^{s+1}} + \frac{c_3(n)}{3^{s+1}} + \cdots, \tag{7.2} \end{equation*}
where $s \gt 0$. This result has been proved by purely elementary methods. But in order to know whether the right-hand side of (7.2) is convergent or not for values of $s$ less than or equal to zero we require the help of theorems which have only been established by transcendental methods. Now the right-hand side of (7.2) is an ordinary Dirichlet's series for $$\sigma_{-s} (n) \times \frac{1}{\zeta(s+1)}.$$ The first factor is a finite Dirichlet's series and so an absolutely convergent Dirichlet's series. It follows that the right-hand side of (7.2) is convergent whenever the Dirichlet's series for $1/\zeta (s+1)$, viz.
\begin{equation*} \sum \frac{\mu(n)}{n^{1+s}},\tag{7.3} \end{equation*}
is convergent. But it is known6 that the series (7.3) is convergent when $s=0$ and that its sum is 0.

It follows from this that

\begin{equation*} c_1(n) + \half c_2(n) + \myfrac{1}{3} c_3(n) + \cdots = 0.\tag{7.4} \end{equation*}
Nothing is known about the convergence of (7.3) when $-\half \lt s \lt 0$. But with the assumption of the truth of the hitherto unproved Riemann hypothesis it has been proved7 that (7.3) is convergent when $s\gt - \half $. With this assumption we see that (7.2) is true when $s \gt -\half $. In other words, if $-\half \lt s \lt \half $, then
\begin{eqnarray*} \sigma_s(n) &=& \zeta(1-s) \left\{\frac{c_1(n)}{1^{1-s}} + \frac{c_2(n)}{2^{1-s}} + \frac{c_3(n)}{3^{1-s}} + \cdots \right\}\\ &=& n^s \zeta (1+s) \left\{\frac{c_1(n)}{1^{1+s}} + \frac{c_2(n)}{2^{1+s}} + \frac {c_3(n)}{3^{1+s}} + \cdots \right\}. \tag{7.5} \end{eqnarray*}

8. It is known8 that all the series obtained from (7.3) by term-by-term differentiation with respect to $s$ are convergent when $s=0$, and it is obvious that the derivatives of $\sigma_{-s}(n)$ with respect to $s$ are all finite Dirichlet's series and so absolutely convergent. It follows that all the derivatives of the right-hand side of (7.2) are convergent when $s=0$; and so we can equate the coefficients of like powers of $s$ from the two sides of (7.2). Now

\begin{equation*} \frac{1}{\zeta(s+1)} = s- \gamma s^2 + \cdots, \tag{8.1} \end{equation*}
where $\gamma$ is Euler's constant. And $$\sigma_{-s} (n) = \sum_\delta \delta^{-s} = \sum_\delta 1 - s \sum_\delta \log \delta + \cdots, $$ where $\delta$ is a divisor of $n$. But $$\sum_\delta \log \delta = \sum_\delta \log \delta ' = \half \sum_\delta \log (\delta \delta') = \half d(n) \log n,$$ where $\delta \delta'=n$. Hence
\begin{equation*} \sigma_{-s} (n) = d(n) - \half sd(n) \log n + \cdots . \tag{8.2} \end{equation*}
Now equating the coefficients of $s$ and $s^2$ from the two sides of (7.2) and using (8.1) and (8.2), we obtain
\begin{equation*} c_1(n) \log 1 + \half c_2(n) \log 2 + \myfrac{1}{3} c_3(n) \log 3 + \cdots = -d(n), \tag{8.3} \end{equation*}
\begin{equation*} c_1(n) (\log 1)^2 + \half c_2(n)(\log 2)^2 + \myfrac{1}{3} c_3(n) (\log 3)^2 + \cdots = -d(n) (2 \gamma + \log n). \tag{8.4} \end{equation*}

9. I shall now find an expression of the same kind for $\phi(n)$, the number of numbers prime to and not exceeding $n$. Let $p_1, p_2, p_3, \ldots$ be the prime divisors of $n$, and let

\begin{equation*} \phi_s(n) = n^s (1-p_1^{-s})(1-p_2^{-s})(1-p_3^{-s}) \cdots, \tag{9.1} \end{equation*}
so that $\phi_1(n) = \phi(n)$. Suppose that $$F(u.v)= \mu(u) v^s.$$ Then it is easy to see that $$D(n) = \phi_s(n).$$ Hence, from (3.1), we have
\begin{equation*} \frac{\phi_s(n)}{n^s} = c_1 (n) \sum^t_1 \frac{\mu(\nu)}{\nu^{s+1}} + c_2(n) \sum^{\half t}_1 \frac{\mu(2\nu)}{(2\nu)^{s+1}} + \cdots, \tag{9.2} \end{equation*}
where $t$ is any number not less than $n$. If $s>0$ we can make $t \to \infty$, as in $\S$6. Then we have
\begin{equation*} \frac{\phi_s(n)}{n^s} = c_1(n) \sum^\infty_1 \frac{\mu(\nu)}{\nu^{s+1}} + c_2(n)\sum^\infty_1 \frac{\mu(2\nu)}{(2\nu)^{s+1}} + \cdots . \tag{9.3} \end{equation*}
But it can easily be shewn that
\begin{equation*} \sum^\infty_1 \frac{\mu(n\nu)}{\nu^s} = \frac{\mu(n)}{\zeta(s)(1-p_1^{-s})(1-p_2^{-s})(1-p_3^{-s})\cdots}, \tag{9.4} \end{equation*}
where $p_1, p_2, p_3, \ldots$ are the prime divisors of $n$. In other words
\begin{equation*} \sum^\infty_1 \frac{\mu (n \nu)}{\nu^s} = \frac{\mu(n)n^s}{\phi_s(n)\zeta(s)}. \tag{9.5} \end{equation*}
It follows from (9.3) and (9.5) that
\begin{equation*} \frac{\phi_s(n) \zeta(s+1)}{n^s} = \frac{\mu(1)c_1(n)}{\phi_{s+1}(1)} + \frac{\mu(2)c_2(n)}{\phi_{s+1}(2)} + \frac{\mu(3)c_3(n)}{\phi_{s+1}(3)} + \cdots. \tag{9.6} \end{equation*}
In particular
\begin{eqnarray*} \displaystyle{ \frac{\pi^2}{6n} \phi(n)}&=& \ds{c_1(n) - \frac{c_2(n)}{2^2-1} - \frac{c_3(n)}{3^2-1} - \frac{c_5(n)}{5^2-1}} \\ && \displaystyle{+ \frac{c_6(n)}{(2^2-1)(3^2-1)} - \frac{c_7(n)}{7^2-1} + \frac{c_{10}(n)}{(2^2-1)(5^2-1)} - \cdots.}\tag{9.7} \end{eqnarray*}

10. I shall now consider an application of the main formulæ to the problem of the number of representations of a number as the sum of 2, 4, 6, 8, $\ldots$ squares. We require the following preliminary results.

(1) Let

\begin{equation*} \sum D(n) x^n = X_1 = \frac{1^{s-1} x}{1+x} + \frac{2^{s-1} x^2}{1-x^2} + \frac{3^{s-1}x^3}{1+x^3} + \cdots . \tag{10.1} \end{equation*}
We shall choose $$\begin{array}{ll} F(u,v) = v^{s-1}, & u \equiv 1 (\:\mbox{mod}\: 2), \\ F(u,v) = - v^{s-1}, & u \equiv 2 (\:\mbox{mod}\: 4), \\ F(u, v) =(2^s-1)v^{s-1}, & u \equiv 0 (\:\mbox{mod}\: 4). \end{array}$$ Then from (3.1) we can shew, by arguments similar to those used in $\S 6$, that
$$ \left.\begin{array}{ll} && D(n) = n^{s-1} (1^{-s} + 3^{-s} + 5^{-s}+ \cdots) \{1^{-s} c_1(n) + 2^{-s} c_4(n) + 3^{-s}c_3(n) \\ && +4^{-s} c_8(n) 5^{-s} c_5(n)+ 6^{-s} c_{12}(n) + 7^{-s}c_7(n) + 8^{-s} c_{16}(n) + \cdots \}. \end{array}\right. \tag{10.11} $$
if $s>1$.

(2) Let

\begin{equation*} \sum D(n) x^n =X_2 = \frac{1^{s-1} x}{1-x} + \frac{2^{s-1} x^2}{1+x^2} + \frac{3^{s-1}x^3}{1-x^3} + \cdots . \tag{10.2} \end{equation*}
We shall choose $$\begin{array}{ll} F(u,v) = v^{s-1}, & u \equiv 1 (\:\mbox{mod}\: 2), \\ F(u,v) = v^{s-1}, & u \equiv 2 (\:\mbox{mod}\: 4), \\ F(u, v) =(1-2^s)v^{s-1}, & u \equiv 0 (\:\mbox{mod}\: 4). \end{array}$$ Then we obtain as before
$$\left.\begin{array}{ll} D(n) = n^{s-1} (1^{-s} + 3^{-s} + 5^{-s}+ \cdots) \{1^{-s} c_1(n) - 2^{-s} c_4(n) + 3^{-s}c_3(n) \\ -4^{-s} c_8(n) +5^{-s} c_5(n) - 6^{-s} c_{12}(n) + 7^{-s}c_7(n) - 8^{-s} c_{16}(n) + \cdots \}. \end{array}\right. \tag{10.21} $$

(3) Let

\begin{equation*} \sum D(n) x^n =X_3 = \frac{1^{s-1} x}{1+x^2} + \frac{2^{s-1} x^2}{1+x^4} + \frac{3^{s-1}x^3}{1+x^6} + \cdots . \tag{10.3} \end{equation*}
We shall choose $$\begin{array}{ll} F(u,v) = 0, & u \equiv 0(\:{\rm mod}\: 2), \\ F(u,v) = v^{s-1}, & u \equiv 1 (\:{\rm mod}\: 4), \\ F(u, v) =-v^{s-1}, & u \equiv 3 (\:{\rm mod}\: 4). \end{array}$$ Then we obtain as before
\begin{equation*} D(n)=n^{s-1}(1^{-s} - 3^{-s} + 5^{-s} - \cdots) \{1^{-s}c_1(n) - 3^{-s} c_3(n) + 5^{-s}c_5(n)-\cdots\}. \tag{10.31} \end{equation*}

(4) We shall also require a similar formula for the function $D(n)$ defined by

\begin{equation*} \sum D(n) x^n =X_4 = \frac{1^{s-1} x}{1-x} - \frac{3^{s-1} x^3}{1-x^3} + \frac{5^{s-1}x^5}{1-x^5} - \cdots . \tag{10.4} \end{equation*}
The formula required is not a direct consequence of the preceding analysis, but if, instead of starting with the function $$c_r (n) = \sum_\lambda \cos \frac{2 \pi n \lambda}{r},$$ we start with the function $$s_r (n) = \sum_\lambda (-1)^{\half (\lambda-1)} \sin \frac{2 \pi n \lambda}{r},$$ where $\lambda$ is prime to $r$ and does not exceed $r$, and proceed as in $\S\S$2 – 3, we can shew that
\begin{equation*} D(n) = \half n^{s-1}(1^{-s} - 3^{-s} + 5^{-s} - \cdots) \{1^{-s} s_4(n) + 2^{-s} s_8(n) + 3^{-s} s_{12}(n) + \cdots \}. \tag{10.41} \end{equation*}

It should be observed that there is a correspondence between $c_r(n)$ and the ordinary $\zeta$-function of the one hand and $s_r(n)$ and the function $$\eta(s) = 1^{-s} - 3^{-s} + 5^{-s} - \cdots$$ on the other. It is possible to define an infinity of systems of trigonometrical sums such as $c_r(n), s_r(n)$, each corresponding to one of the general class of ``$L$-functions9'' of which $\zeta(s)$ and $\eta(s)$ are the simplest members. We have shewn that (10.31) and (10.41) are true when $s>1$. But if we assume that the Dirichlet's series for $1/\eta(s)$ is convergent when $s=1$, a result which is precisely of the same depth as the prime number theorem and has only been established by transcendental methods, then we can shew by arguments similar to those of $\S$7 that (10.31) and (10.41) are true when $s=1$.

11. I have shewn elsewhere10 that if $s$ is a positive integer and $$1 + \sum r_s(n) x^n = (1+ 2x + 2x^4 + 2x^9 + \cdots)^s, $$ then $$r_{2s} (n) = \delta_{2s} (n) + e_{2s} (n),$$ where $e_{2s}(n) = 0$ when $s=1,2,3$ or 4 and is of lower order11 than $\delta_{2s}(n)$ in all cases; that if $s$ is a multiple of 4 then

\begin{equation*} (1^{-s} + 3^{-s} + 5^{-s} + \cdots) \sum \delta_{2s} (n) x^n = \frac{\pi^s}{(s-1)!} X_1; \tag{11.1} \end{equation*}
if $s$ is of the form $4k + 2$ then
\begin{equation*} (1^{-s} + 3^{-s} + 5^{-s} + \cdots) \sum \delta_{2s} (n) x^n = \frac{\pi^s}{(s-1)!} X_2; \tag{11.2} \end{equation*}
if $s$ is of the form $4k+1$ then
\begin{equation*} (1^{-s} - 3^{-s} + 5^{-s} - \cdots) \sum \delta_{2s} (n) x^n = \frac{\pi^s}{(s-1)!} (X_3 + 2^{1-s} X_4); \tag{11.3} \end{equation*}
except when $s=1$; and if $s$ is of the form $4k+3$ then
\begin{equation*} (1^{-s} - 3^{-s} + 5^{-s} - \cdots) \sum \delta_{2s} (n) x^n = \frac{\pi^s}{(s-1)!} (X_3 - 2^{1-s} X_4), \tag{11.4} \end{equation*}
$X_1, X_2, X_3,X_4$ being the same as in $\S$10.

In the case in which $s=1$ it is well known that $$

\begin{eqnarray*} \left.\begin{array}{lll} \sum \delta_2(n) x^n &=& \displaystyle{ 4 \left(\frac{x}{1-x} - \frac{x^3}{1-x^3} + \frac{x^5}{1-x^5} - \cdots \right)} \\ &=& \displaystyle{ 4 \left(\frac{x}{1+x^2} + \frac{x^2}{1+x^4} + \frac{x^3}{1+x^6} + \cdots \right)} \end{array}\right. \tag{11.5} \end{eqnarray*}
It follows from $\S$10 that, if $s$ is a multiple of 4 then
\begin{eqnarray*} \left.\begin{array}{ll} && \delta_{2s}(n) = \displaystyle{\frac{\pi^s n^{s-1}}{(s-1)!}} \{1^{-s} c_1(n) + 2^{-s} c_4(n) + 3^{-s} c_3(n) + 4^{-s} c_8(n) \\ && + 5^{-s} c_5(n) + 6^{-s} c_{12} (n) + 7^{-s} c_7(n) + 8^{-s} c_{16}(n) + \cdots \}; \end{array}\right. \tag{11.11} \end{eqnarray*}
if $s$ is of the form $4k+2$ then $$
\begin{eqnarray*} \left.\begin{array}{ll} && \delta_{2s}(n) = \displaystyle{\frac{\pi^s n^{s-1}}{(s-1)!}} \{1^{-s} c_1(n) - 2^{-s} c_4(n) + 3^{-s} c_3(n) - 4^{-s} c_8(n) \\ && + 5^{-s} c_5(n) - 6^{-s} c_{12} (n) + 7^{-s} c_7(n) - 8^{-s} c_{16}(n) + \cdots \}; \end{array}\right. \tag{11.21} \end{eqnarray*}
if $s$ is of the form $4k+1$ then
\begin{eqnarray*} \left.\begin{array}{ll} && \delta_{2s}(n) = \displaystyle{\frac{\pi^s n^{s-1}}{(s-1)!}} \{1^{-s} c_1(n) + 2^{-s} s_4(n) - 3^{-s} c_3(n) + 4^{-s} s_8(n) \\ && + 5^{-s} c_5(n) + 6^{-s} s_{12} (n) - 7^{-s} c_7(n) + 8^{-s} s_{16}(n) + \cdots \}; \end{array}\right. \tag{11.31} \end{eqnarray*}
except when $s=1$; and if $s$ is of the form $4k+3$ then $$
\begin{eqnarray*} \left.\begin{array}{ll} && \delta_{2s}(n) = \displaystyle{\frac{\pi^s n^{s-1}}{(s-1)!}} \{1^{-s} c_1(n) - 2^{-s} s_4(n) - 3^{-s} c_3(n) - 4^{-s} s_8(n) \\ && + 5^{-s} c_5(n) - 6^{-s} s_{12} (n) - 7^{-s} c_7(n) - 8^{-s} s_{16}(n) + \cdots \}; \end{array}\right. \tag{11.41} \end{eqnarray*}
From (11.5) and the remarks at the end of the previous section, it follows that $$
\begin{eqnarray*} \left.\begin{array}{lll} r_2(n) = \delta_2(n) &=& \pi \{c_1(n) - \myfrac{1}{3} c_3(n) + \myfrac{1}{5} c_5(n) -\cdots \}\\ &=& \pi \{\half s_4(n) + \myfrac{1}{4} s_8(n) + \myfrac{1}{6} s_{12}(n) + \cdots\}, \end{array}\right. \tag{11.51} \end{eqnarray*}
but this of course not such an elementary result as the preceding ones.

We can combine all the formulæ (11.11)(11.41) in one by writing

\begin{eqnarray*} \left.\begin{array}{ll} && \delta_{2s}(n) = \displaystyle{\frac{\pi^s n^{s-1}}{(s-1)!}} \{1^{-s} {\bf c_1}(n) + 2^{-s} {\bf c_4}(n) + 3^{-s} {\bf c_3}(n) + 4^{-s} {\bf c_8}(n) \\ && + 5^{-s} {\bf c_5}(n) + 6^{-s} {\bf c_{12}} (n) + 7^{-s} {\bf c_7}(n) + 8^{-s} {\bf c_{16}}(n) + \cdots \}, \end{array}\right. \tag{11.6} \end{eqnarray*}
where $s$ is an integer greater than 1 and $${\bf c_r}(n) =c_r(n) \cos \half \pi s(r-1) - s_r(n) \sin \half \pi s(r-1).$$

12. We can obtain analogous results concerning the number of representations of a number as the sum of 2, 4, 6, 8, $\ldots$ triangular numbers. Equation (147) of my former paper12 is equivalent to

\begin{eqnarray*} (1-2x + 2x^4 - 2x^9 + \cdots)^{2s} &=& \ds 1 + \sum^\infty_1 \delta_{2s} (n) (-x)^n \\ && +\displaystyle{\frac{f^{4s}(x)}{f^{2s}(x^2)}} \sum_{1\leq n \leq \myfrac{1}{4} (s-1)} K_n(-x)^n \displaystyle{\frac{f^{24n}(x^2)}{f^{24n}(x)}}, \tag{12.1} \end{eqnarray*}
where $K_n$ is a constant and $$f(x) = (1-x) (1-x^2)(1-x^3)\cdots.$$ Suppose now that $$x = e^{-\pi \alpha}, \:\: x' = e^{-2\pi/\alpha}.$$ Then we know that
$$ \sqrt{\alpha}(1-2x + 2x^4 -2x^9 + \cdots ) = 2x^{'\frac{1}{8}} (1+x' + x^{'3} + x^{'6} + \cdots), \tag{12.2} $$
$$ \sqrt{(\half \alpha)} x^{\frac{1}{24}} f(x) = x^{'\frac{1}{12}} f(x^{'2}), \:\:\sqrt{\alpha} x^{\frac{1}{12}} f(x^2) = x^{'\frac{1}{24}} f(x'). \tag{12.3} $$
Finally $1+ \sum^\infty_1 \delta_{2s} (n) (-x)^n$ can be expressed in powers of $x'$ by using the formula
\begin{eqnarray*} \left.\begin{array}{ll} && \alpha^s \left\{\half \zeta(1-2s) + \displaystyle{ \frac{1^{2s-1}}{e^{2\alpha}-1} + \frac{2^{2s-1}}{e^{4\alpha}-1} + \frac{3^{2s-1}}{e^{6\alpha}-1} + \cdots} \right\}\\ && = (-\beta)^s \left\{\half \zeta (1-2s) + \displaystyle{\frac{1^{2s-1}}{e^{2\beta}-1} + \frac{2^{2s-1}}{e^{4\beta}-1} + \frac{3^{2s-1}}{e^{6\beta}-1} + \cdots} \right\}, \end{array}\right. \tag{12.4} \end{eqnarray*}
where $\alpha \beta = \pi^2$ and $s$ is an integer greater than 1; and
\begin{eqnarray*} \left.\begin{array}{ll} && (2\alpha)^{s+\half }\left\{ \frac{1^{2s}}{e^{\alpha}+e^{-\alpha}} + \frac{2^{2s}}{e^{2\alpha}+e^{-2\alpha}} + \frac{3^{2s}}{e^{3\alpha} +e^{-3\alpha}} + \cdots \right\}\\ &&= (-\beta)^s \sqrt{(2 \beta)} \left\{\half \eta (-2s) + \displaystyle{\frac{1^{2s}}{e^{\beta}-1} - \frac{3^{2s}}{e^{3\beta}-1} + \frac{5^{2s}}{e^{5\beta}-1} - \cdots} \right\}, \end{array}\right.\tag{12.5} \end{eqnarray*}
where $\alpha \beta=\pi^2$, $s$ is any positive integer, and $\eta(s)$ is the function represented by the series $1^{-s} - 3^{-s} + 5^{-s} - \cdots$ and its analytical continuations.

It follows from all these formulæ that, if $s$ is a positive integer and

$$ (1+x + x^3 + x^6 + \cdots)^{2s} = \sum r'_{2s} (n) x^n = \sum \delta'_{2s} (n) x^n + \sum e'_{2s} (n) x^n, \tag{12.6} $$
then $$ \sum e'_{2s} (n) x^n = \frac{f^{4s}(x^2)}{f^{2s}(x)} \sum_{1 \leq n \leq \myfrac{1}{4} (s-1)} K_n (-x)^{-n} \frac{f^{24n}(x)}{f^{24n}(x^2)},$$ where $K_n$ is a constant, and $f(x)$ is the same as in (12.1);
\begin{eqnarray*} \left.\begin{array}{ll} (1^{-s} + 3^{-s} + 5^{-s} + \cdots) \sum \delta'_{2s} (n) x^n &=& \displaystyle{ \frac{(\half \pi)^s}{(s-1)!} x^{-\frac{1}{4}s}}\\ && \displaystyle{\left(\frac{1^{s-1}x}{1-x^2} + \frac{2^{s-1}x^2}{1-x^4} + \frac{3^{s-1}x^3}{1-x^6} + \cdots\right)} \end{array}\right. \tag{12.61} \end{eqnarray*}
if $s$ is a multiple of 4;
\begin{eqnarray*} \left.\begin{array}{ll} (1^{-s} + 3^{-s} + 5^{-s} + \cdots) \sum \delta'_{2s} (n) x^n &=& \displaystyle{ \frac{2(\myfrac{1}{4}\pi)^s}{(s-1)!} x^{-\frac{1}{4}s} }\\ && \displaystyle{\left(\frac{1^{s-1}x^{\half }}{1-x} + \frac{3^{s-1}x^{\frac{3}{2}}}{1-x^3} + \frac{5^{s-1}x^{\frac{5}{2}}}{1-x^5} + \cdots\right)} \end{array}\right.\tag{12.62} \end{eqnarray*}
if $s$ is of the form $4k+2$;
\begin{eqnarray*} && (1^{-s} - 3^{-s} + 5^{-s} - \cdots) \sum \delta'_{2s} (n) x^n =\displaystyle {\frac{2(\myfrac{1}{8}\pi)^s}{(s-1)!} x^{-\frac{1}{4}s} } \\ && \times \displaystyle{ \left(\frac{1^{s-1}x^{\frac{1}{4}}}{1+x^{\frac{1}{2} }} + \frac{3^{s-1}x^{\frac{3}{4}}}{1+x^{\frac{3}{2}}} + \frac{5^{-s}x^{\frac{5}{4}}}{1+x^{\frac{5}{2}}} + \cdots +\frac{1^{s-1}x^{\frac{1}{4}}}{1-x^{\frac{1}{2} }} - \frac{3^{s-1}x^{\frac{3}{4}}}{1-x^{\frac{3}{2}}} + \frac{5^{s-1}x^{\frac{5}{4}}}{1-x^{\frac{5}{2}}}- \cdots \right)} \tag{12.63} \end{eqnarray*}
if $s$ is of the form $4k+1$ (except when $s=1$); and
\begin{eqnarray*} && (1^{-s} - 3^{-s} + 5^{-s} - \cdots) \sum \delta'_{2s} (n) x^n = \displaystyle {\frac{2(\myfrac{1}{8}\pi)^s}{(s-1)!} x^{-\frac{1}{4}s} }\\ && \times\displaystyle{ \left(\frac{1^{s-1}x^{\frac{1}{4}}}{1+x^{\frac{1}{2} }} + \frac{3^{s-1}x^{\frac{3}{4}}}{1+x^{\frac{3}{2}}} + \frac{5^{-s}x^{\frac{5}{4}}}{1+x^{\frac{5}{2}}} + \cdots - \frac{1^{s-1}x^{\frac{1}{4}}}{1-x^{\frac{1}{2} }} + \frac{3^{s-1}x^{\frac{3}{4}}}{1-x^{\frac{3}{2}}} - \frac{5^{-s}x^{\frac{5}{4}}}{1-x^{\frac{5}{2}}} + \cdots \right)}\tag{12.64} \end{eqnarray*}

if $s$ is of the form $4k+3$. In the case in which $s=1$ we have

\begin{eqnarray*} \left.\begin{array}{lll} \sum \delta'_{2} (n) x^n &=& x^{-\frac{1}{4}} \displaystyle{ \left(\frac{x^\frac{1}{4}} {1+x^{\frac{1}{2} }} + \frac{x^\frac{3}{4}}{1+x^{\frac{3}{2}}} + \frac{x^\frac{5}{4}}{1+x^{\frac{5}{2}}} + \cdots \right)} \\ &=& x^{-\frac{1}{4}} \displaystyle{ \left(\frac{x^\frac{1}{4}}{1+x^{\frac{1}{2}}} - \frac{x^\frac{3}{4}}{1+x^{\frac{3}{2}}} + \frac{x^\frac{5}{4}}{1+x^{\frac{5}{2}}} - \cdots \right)}. \end{array}\right. \tag{12.65} \end{eqnarray*}
It is easy to see that the principal results proved about $e_{2s}(n)$ in my former paper are also true of $e'_{2s}(n)$, and in particular that $$e'_{2s} (n) = 0$$ when $s=1,2,3$ or 4, and $$r'_{2s}(n) \sim \delta'_{2s}(n)$$ for all values of $s$.

13. It follows from (12.62) that, if $s$ is of the form $4k+2$, then $$ (1^{-s} + 3^{-s} + 5^{-s} + \cdots) \delta'_{2s} (n)$$ is the coefficient of $x^n$ in

$$ \frac{2(\myfrac{1}{4}\pi)^s}{(s-1)!} x^{-\frac{1}{4}s} \left(\frac{1^{s-1}x^{\frac{1}{2}}}{1-x} + \frac{2^{s-1}x}{1-x^2} + \frac{3^{s-1}x^{\frac{3}{2}}}{1-x^3} + \cdots\right). \tag{13.1} $$
Similarly from (12.63) and (12.64) it follows that, if $s$ is an odd integer greater than 1, then $(1^{-s} - 3^{-s} + 5^{-s} - \cdots)\delta'_{2s}(n)$ is the coefficient of $x^n$ in
$$ \frac{4(\myfrac{1}{8}\pi)^s}{(s-1)!} x^{-\frac{1}{4}s} \left(\frac{1^{s-1}x^{\frac{1}{4}}}{1+x^{\frac{1}{2}}} + \frac{2^{s-1}x^{\frac{1}{2}}}{1+x} + \frac{3^{s-1}x^{\frac{3}{4}}}{1+x^{\frac{3}{2}}} + \cdots\right). \tag{13.2} $$
Now by applying our main formulæ to (12.61) and (13.1) and (13.2) we obtain:
\begin{eqnarray*} \left.\begin{array}{ll} \delta'_{2s} (n) &=& \ds{\frac{(\half \pi)^s}{(s-1)!}} (n + \myfrac{1}{4} s)^{s-1}\\ && \ds{\{1^{-s} c_1(n+\myfrac{1}{4}s) + 3^{-s} c_3(n+ \myfrac{1}{4}s) + 5^{-s} c_5(n+\myfrac{1}{4}s)+\cdots\}}\end{array}\right.\tag{13.3} \end{eqnarray*}
if $s$ is a multiple of 4;
\begin{eqnarray*} \left.\begin{array}{ll} \delta'_{2s} (n) &=& \ds{\frac{(\half \pi)^s}{(s-1)!}} (n + \myfrac{1}{4} s)^{s-1}\\ && \ds{\{1^{-s} c_1(2n+\half s) + 3^{-s} c_3(2n+ \half s) + 5^{-s} c_5(2n+\half s)+\cdots\}}\end{array}\right.\tag{13.4} \end{eqnarray*}
if $s$ is twice an odd number; and
\begin{eqnarray*} \left.\begin{array}{ll} && \ds{\delta'_{2s} (n) = \frac{(\half \pi)^s}{(s-1)!} (n + \myfrac{1}{4} s)^{s-1}}\\ && \ds{\{1^{-s} c_1(4n+s) - 3^{-s} c_3(4n+ s) + 5^{-s} c_5(4n+s)-\cdots\}}\end{array}\right.\tag{13.5} \end{eqnarray*}
if $s$ is an odd number greater than 1.

Since the coefficient of $x^n$ in $(1+x+x^3+ \cdots)^2$ is that of $x^{4n+1}$ in $$\left(\half + x + x^4 + \cdots\right)^2,$$ it follows from (11.51) that

$$ r'_2(n) = \delta'_2(n) = \frac{\pi}{4} \{c_1 (4n+1) - \myfrac{1}{3}c_3(4n+1) + \myfrac{1}{5}c_5(4n+1)-\cdots\}. \tag{13.6} $$
This result however depends on the fact that the Dirichlet's series for $1/\eta(s)$ is convergent when $s=1$.

14. The preceding formulæ for $\sigma_s(n), \delta_{2s}(n), \delta'_{2s}(n)$ may be arrived at by another method. We understand by

$$ \frac{\sin n \pi}{k \sin(n \pi/k)}\tag{14.1} $$
the limit of $$\frac{\sin x \pi}{k \sin(x \pi/k)} $$ when $x \to n$. It is easy to see that, if $n$ and $k$ are positive integers, and $k$ odd, then (14.1) is equal to 1 if $k$ is a divisor of $n$ and to 0 otherwise.

When $k$ is even we have (with similar conventions)

$$ \frac{\sin n \pi}{k \tan (n \pi/k)} = 1 \:\:{\rm or}\:\: 0\tag{14.2} $$
according as $k$ is a divisor of $n$ or not. It follows that
\begin{eqnarray*} \left.\begin{array}{ll} \sigma_{s-1} (n) &=& n^{s-1} \left\{1^{-s} \displaystyle{ \left(\frac{\sin n \pi}{\sin n \pi}\right) + 2^{-s} \left(\frac{\sin n \pi} {\tan \half n \pi}\right) }\right.\\ && + 3^{-s} \left.\displaystyle{ \left(\frac{\sin n \pi}{\sin \frac{1}{3} n \pi}\right) + 4^{-s} \left(\frac{\sin n \pi}{\tan \myfrac{1}{4} n \pi}\right)} + \cdots \right\}. \end{array}\right. \tag{14.3} \end{eqnarray*}
Similarly from the definitions of $\delta_{2s}(n)$ and $\delta'_{2s}(n)$ we find that
\begin{eqnarray*} && \{1^{-s} + (-3)^{-s} + 5^{-s} + (-7)^{-s} + \cdots \} \delta_{2s}(n) = \displaystyle{\frac{\pi^sn^{s-1}}{(s-1)!} \left\{1^{-s} \left(\frac{\sin n \pi}{\sin n \pi}\right)\right.}\\ && \displaystyle{ + 2^{-s}\left(\frac{\sin n \pi}{\sin(\half n \pi + \half s \pi)}\right) \left.+ 3^{-s} \left(\frac{\sin n \pi}{\sin(\myfrac{1}{3} n \pi + s \pi)}\right) + 4^{-s} \left(\frac{\sin n \pi}{\sin(\myfrac{1}{4} n \pi + \myfrac{3}{2} s\pi)}\right) +\cdots\right\}}\tag{14.4} \end{eqnarray*}
if $s$ is an integer greater than 1;
\begin{eqnarray*} \left.\begin{array}{ll} && r_2(n) = \delta_2 (n) = 4 \left\{\displaystyle{ \left(\frac{\sin n \pi}{\sin n \pi}\right) - \myfrac{1}{3} \left(\frac{\sin n \pi}{\sin \myfrac{1}{3} n \pi}\right) + \myfrac{1}{5} \left(\frac{\sin n \pi}{\sin \myfrac{1}{5} n \pi}\right)- \cdots} \right\}\\ && = 4 \left\{\half \displaystyle{ \left(\frac{\sin n \pi}{\cos \half n \pi}\right) -\myfrac{1}{4} \left(\frac{\sin n \pi}{\cos \myfrac{1}{4} n \pi}\right) +\myfrac{1}{6} \left(\frac{\sin n \pi}{\cos \myfrac{1}{6} n \pi}\right)-\cdots} \right\};\end{array}\right. \tag{14.5} \end{eqnarray*}
\begin{eqnarray*} \left.\begin{array}{ll} && (1^{-s} + 3^{-s} + 5^{-s}+\cdots)\delta'_{2s}(n) = \displaystyle{ \frac{(\half \pi)^s}{(s-1)!} (n+\myfrac{1}{4} s)^{s-1}}\\ && \displaystyle{ \left\{1^{-s} \left(\frac{\sin(n+\myfrac{1}{4} s)\pi}{\sin(n+\myfrac{1}{4}s)\pi}\right)+ 3^{-s} \left(\frac{\sin(n+\myfrac{1}{4}s)\pi}{\sin \myfrac{1}{3}(n+\myfrac{1}{4}s)\pi}\right)\right.}\\ && \displaystyle{\left. + 5^{-s} \left(\frac{\sin(n+\myfrac{1}{4}s)\pi}{\sin\myfrac{1}{5}(n+\myfrac{1}{4}s)\pi} \right)+\cdots \right\}}\end{array}\right. \tag{14.6} \end{eqnarray*}
if $s$ is a multiple of 4;
\begin{eqnarray*} \left.\begin{array}{ll} && (1^{-s} + 3^{-s} + 5^{-s}+\cdots)\delta'_{2s}(n) = \displaystyle{ \frac{(\half \pi)^s}{(s-1)!} (n+\myfrac{1}{4} s)^{s-1}}\\ && \displaystyle{ \left\{1^{-s} \left(\frac{\sin(2n+\half s)\pi}{\sin(2n+\half s)\pi}\right)+ 3^{-s} \left(\frac{\sin(2n+\half s)\pi}{\sin \myfrac{1}{3}(2n+\half s)\pi}\right)\right.}\\ && \displaystyle{\left. + 5^{-s} \left(\frac{\sin(2n+\half s)\pi}{\sin\myfrac{1}{5}(2n+\half s)\pi} \right)+\cdots \right\}}\end{array}\right. \tag{14.7} \end{eqnarray*}
if $s$ is twice an odd number;
\begin{eqnarray*} \left.\begin{array}{ll} (1^{-s} - 3^{-s} + 5^{-s}-\cdots)\delta'_{2s}(n) &=& \displaystyle{ \frac{(\half \pi)^s}{(s-1)!} (n+\myfrac{1}{4} s)^{s-1}}\\ && \displaystyle{ \left\{1^{-s} \left(\frac{\sin(4n+s)\pi}{\sin(4n+s)\pi}\right)- 3^{-s} \left(\frac{\sin (4n+s)\pi}{\sin \myfrac{1}{3}(4n+s)\pi}\right)\right.}\\ && \displaystyle{\left. + 5^{-s} \left(\frac{\sin(4n+s)\pi}{\sin\myfrac{1}{5}(4n+s)\pi} \right)-\cdots \right\}}\end{array}\right.\tag{14.8} \end{eqnarray*}
if $s$ is an odd number greater than 1; and
\begin{eqnarray*} \left.\begin{array}{ll} && r'_2(n) = \delta'_2 (n) = \displaystyle{ \left(\frac{\sin (4n+1) \pi}{\sin (4n+1) \pi}\right) - \myfrac{1}{3} \left(\frac{\sin (4n+1) \pi}{\sin \myfrac{1}{3} (4n+1) \pi}\right)} \\ && \displaystyle{\left. + \myfrac{1}{5} \left(\frac{\sin (4n+1) \pi}{\sin \myfrac{1}{5} (4n+1) \pi}\right)- \cdots \right\}.} \end{array}\right. \tag{14.9} \end{eqnarray*}
In all these equations the series on the right hand are finite Dirichlet's series and therefore absolutely convergent.

But the series (14.3) is (as easily shewn by actual multiplication) the product of the two series $$1^{-s} c_1 (n) + 2^{-s} c_2(n) + \cdots $$ and $$n^{s-1} (1^{-s} + 2^{-s} + 3^{-s} + \cdots).$$ We thus obtain an alternative proof of the formulæ (7.5). Similarly taking the previous expression of $\delta_{2s}(n)$. viz. the right-hand side of (11.6), and multiplying it by the series $$1^{-s} + (-3)^{-s} + 5^{-s} + (-7)^{-s} + \cdots$$ we can shew that the product is actually the right-hand side of (14.4). The formulæ for $\delta'_{2s}(n)$ can be disposed off similarly.

15. The formulæ which I have found are closely connected with a method used for another purpose by Mr. Hardy and myself13. The function

$$ (1+ 2x + 2x^4 + 2x^9 + \cdots)^{2s} = \sum r_{2s} (n) x^n \tag{15.1} $$
has every point of the unit circle as a singular point. If $x$ approaches a ``rational point'' $\exp (-2 p \pi i/q)$ on the circle, the function behaves roughly like
$$ \frac{\pi^s (\omega_{p,q})^s}{\{-(2 p \pi i/q)-\log x\}^s}, \tag{15.2} $$
where $\omega_{p,q} = 1,0,$ or $-1$ according as $q$ is of the form $4k+1, 4k+2$ or $4k+3$, while if $q$ is of the form $4k$ then $\omega_{p,q} = - 2 i$ or $2i$ according as $p$ is of the form $4k + 1$ or $4k+3$.

Following the argument of our paper referred to, we can construct simple functions of $x$ which are regular except at one point of the circle of convergence, and there behave in a manner very similar to that of the function (15.1); for example at the point $\exp(-2 p \pi i/q)$ such a function is

$$ \frac{\pi^s(\omega_{p,q})^s}{(s-1)!} \sum^\infty_1 n^{s-1} e^{2n p \pi i/q} x^n.\tag{15.3} $$
The method which we used, with particular reference to the function
$$ \frac{1}{(1-x)(1-x^2)(1-x^3)\cdots} = \sum p(n) x^n, \tag{15.4} $$
was to approximate to the coefficients by means of a sum of a large number of the coefficients of these auxiliary functions. This method leads, in the present problem, to formulæ of the type $$r_{2s} (n) =\delta_{2s} (n) + O(n^{\half s}),$$ the first term on the right-hand side presenting itself precisely in the form of the series (11.11) etc.

It is a very interesting problem to determine in such cases whether the approximate formula gives an exact representation of such an arithmetical function. The results proved here shew that, in the case of $r_{2s}(n)$, this is in general not so. The formula represents not $r_{2s}(n)$ but (except when $s=1$) its dominant term $\delta _{2s}(n)$, which is equal to $r_{2s}(n)$ only when $s=1,2,3$ or 4. When $s=1$ the formula gives $2\delta_2(n)$14.

16. We shall now consider the sum

$$ \sigma_s (1) + \sigma_s(2) + \cdots + \sigma_s(n). \tag{16.1} $$
Suppose that
\begin{eqnarray*} \left.\begin{array}{ll} T_r(n) &=& \sf{\half } \sum_\lambda \left(\frac{\sin\{(2n+1)\pi \lambda/r\}}{\sin(\pi \lambda/r)} - 1 \right),\\ U_r(n) &=& \sf{\half } \sum_\lambda\frac{\sin\{(2n+1)\pi \lambda/r\}}{\sin(\pi \lambda/r)},\end{array}\right. \tag{16.2} \end{eqnarray*}
where $\lambda$ is prime to $r$ and does not exceed $r$, so that $$T_r (n) =c_r (1) + c_r(2) + \cdots + c_r(n)$$ and $$U_r(n) = T_r (n) + \half \phi(r),$$ where $\phi(n)$ is the same as in $\S$9. Since $c_r(n) = O(1)$ as $r \to \infty$, it follows that
$$ T_r(n) = O(1), \:\:\:U_r(n) = O(r), \tag{16.21} $$
as $r \to \infty$. It follows from (7.5) that, if $s > 0$, then
\begin{eqnarray*} \left.\begin{array}{ll} \sigma_{-s}(1) + \sigma_{-s}(2) + \cdots + \sigma_{-s} (n) &=& \zeta(s+1) \\ && \displaystyle{ \left\{n + \frac{T_2(n)}{2^{s+1}} + \frac{T_3(n)}{3^{s+1}} + \frac{T_4(n)}{4^{s+1}} + \cdots \right\} }. \end{array}\right. \tag{16.3} \end{eqnarray*}
Since $$ \sum^\infty_1 \frac{\phi(n)}{\nu^{s+1}} = \frac{\zeta(s)}{\zeta(s+1)}$$ if $s>1$, (16.3) can be written as
\begin{eqnarray*} \left.\begin{array}{ll} \sigma_{-s}(1) \sigma_{-s}(2) + \cdots + \sigma_{-s} (n) &=& \zeta(s+1) \\ && \displaystyle{ \left\{n + \half + \frac{U_2(n)}{2^{s+1}} + \frac{U_3(n)}{3^{s+1}} + \frac{U_4(n)}{4^{s+1}} + \cdots \right\} } - \half \zeta(s), \end{array}\right.\tag{16.31} \end{eqnarray*}
if $s>1$. Similarly from (8.3), (8.4) and (11.51) we obtain
\begin{eqnarray*} \left.\begin{array}{ll} && d(1) + d(2) + \cdots +d(n) \\ && = - \half T_2 (n) \log 2 - \myfrac{1}{3} T_3 (n) \log 3 - \myfrac{1}{4} T_4(n) \log 4 - \cdots, \end{array}\right. \tag{16.4} \end{eqnarray*}
\begin{eqnarray*} \left.\begin{array}{ll} && d(1) \log 1 + d(2) \log 2 + \cdots + d(n) \log n \\ && = \half T_2(n) \{2 \gamma \log 2 - (\log 2)^2 \} + \myfrac{1}{3} T_3(n) \{2 \gamma \log 3 - (\log 3)^2\} + \cdots, \end{array}\right. \tag{16.5} \end{eqnarray*}
$$ r_2(1) + r_2(2) + \cdots + r_2(n) = \pi \{ n - \myfrac{1}{3} T_3(n) + \myfrac{1}{5} T_5(n) -\myfrac{1}{7}T_7(n)+ \cdots \}.\tag{16.6} $$
Suppose now that $$T_{r,s} (n) = \sum_\lambda \left(1^s \cos \frac{2 \pi \lambda}{r} + 2^s \cos \frac{4 \pi \lambda}{r} + \cdots + n^s \cos \frac{2 n \pi \lambda}{r}\right),$$ where $\lambda$ is prime to $r$ and does not exceed $r$, so that $$T_{r,s} (n) = 1^s c_r(1) + 2^s c_r(2) + \cdots + n^s c_r(n).$$ Then it follows from (7.5) that
\begin{eqnarray*} \left.\begin{array}{ll} && \sigma_s(1) + \sigma_s(2) + \cdots + \sigma_s (n) \\ && = \zeta(s+1) \displaystyle{ \left\{(1^s + 2^s + \cdots + n^s) + \frac{T_{2,s}(n)}{2^{s+1}} + \frac{T_{3,s}(n)}{3^{s+1}} + \frac{T_{4,s}(n)}{4^{s+1}} + \cdots \right\} } \end{array}\right. \tag{16.7} \end{eqnarray*}
if $s > 0$. Putting $s=1$ in (16.3) and (16.7), we find that
\begin{eqnarray*} \left.\begin{array}{ll} && (n-1) \sigma_{-1} (1) + (n-2) \sigma_{-1} (2) + \cdots + (n-n) \sigma_{-1} (n) \\ && = \frac{\pi^2}{6} \left\{\frac{n(n-1)}{2} + \frac{\nu_2(n)}{2^2} + \frac{\nu_3(n)}{3^2} + \frac{\nu_4(n)}{4^2} + \cdots \right\},\tag{16.8} \end{array}\right. \end{eqnarray*}
where $$ \nu_r (n) = \half \sum_\lambda \left\{\frac{\sin^2(\pi n \lambda/r)}{\sin^2(\pi \lambda/r)} - n \right\},$$ $\lambda$ being prime to $r$ and not exceeding $r$.

It has been proved by Wigert15, by less elementary methods, that the left-hand side of (16.8) is equal to

$$ \frac{\pi^2}{12} n^2 - \half n (\gamma - 1 + \log 2 n \pi) - \myfrac{1}{24} +\frac{\sqrt{n}}{2 \pi} \sum^\infty_1 \frac{\sigma_{-1}(\nu)}{\sqrt{\nu}} J_1 \{4 \pi \sqrt{(\nu n)}\}, \tag{16.9} $$
where $J_1$ is the ordinary Bessel's function.

17. We shall now find a relation between the functions (16.1) and (16.3) which enables us to determine the behaviour of the former for large values of $n$. It is easily shewn that this function is equal to

$$ \sum^{\sqrt{n}}_{\nu=1} \left(1^s + 2^s + 3^s + \cdots + \left[\frac{n}{\nu}\right]^s\right) + \sum^{\sqrt{n}}_{\nu=1} \nu^s\left[\frac{n}{\nu}\right] - [\sqrt{n}] \sum^{\sqrt{n}}_{\nu=1} \nu^s. \tag{17.1} $$
Now $$ 1^s + 2^s + \cdots + k^s = \zeta (-s) + \frac{(k + \half )^{s+1}}{s+1}+ O(k^{s-1}) $$ for all values of $s$, it being understood that $$\zeta (-s) + \frac{(k + \half )^{s+1}}{s+1}$$ denotes $\gamma + \log (k + \half )$ when $s=-1$. Let $$\left[\frac{n}{\nu}\right] = \frac{n}{\nu} - \half +\epsilon_\nu, \quad [\sqrt{n}] = t = \sqrt{n} - \half + \epsilon.$$ Then we have $$ 1^s + 2^s + \cdots + \left[\frac{n}{\nu}\right]^s = \zeta(-s) + \frac{1}{s+1} \left(\frac{n}{\nu}\right)^{s+1} + \epsilon_\nu \left(\frac{n}{\nu}\right)^s + O \left(\frac{n^{s-1}}{\nu^{s-1}}\right)$$ and $$\nu^s \left[\frac{n}{\nu}\right] = n\nu^{s-1} - \half \nu^s + \epsilon_\nu \nu^s.$$ It follows from these equations and (17.1) that
\begin{eqnarray*} \left.\begin{array}{ll} \sigma_s(1) + \sigma_s(2) + \cdots + \sigma_s(n) &=& \ds{ \sum^t_{\nu=1} \left\{\zeta(-s) + \frac{1}{s+1} \left(\frac{n}{\nu}\right)^{s+1} + n \nu^{s-1} \right.}\\ && \left.+ \epsilon_\nu \left(\frac{n}{\nu}\right)^s + \epsilon_\nu \nu^s - (\sqrt{n} + \epsilon) \nu^s+O\left(\frac{n^{s-1}}{\nu^{s-1}}\right)\right\}. \end{array}\right.\tag{17.2} \end{eqnarray*}
Changing $s$ to $-s$ in (17.2) we have
\begin{eqnarray*} && n^s\{\sigma_{-s}(1) + \sigma_{-s}(2) + \cdots + \sigma_{-s}(n)\} \\ &=& \sum^t_{\nu=1} \left\{n^s\zeta(s) + \frac{n\nu^{s-1}}{1-s} + \left(\frac{n} {\nu}\right)^{s+1} +\epsilon_{\nu}\nu ^s + \epsilon_\nu \left(\frac{n}{\nu}\right)^s\right. \\ && \qquad\quad - \left.(\sqrt{n} + \epsilon) \left(\frac{n}{\nu}\right)^s + O \left(\frac{\nu^{s+1}}{n}\right)\right\}.\tag{17.21} \end{eqnarray*}
It follows that
\begin{eqnarray*} && n^s \{\sigma_{-s}(1) + \sigma_{-s}(2) + \cdots + \sigma_{-s}(n)\} - \{\sigma_s(1) +\sigma_s(2) + \cdots + \sigma_s(n)\} \\ &&= \ds{\sum^t_{\nu=1} \left\{n^s \zeta(s) - \zeta(-s) + \frac{s}{1+s} \left(\frac{n}{\nu}\right)^{s+1} + \frac{s}{1-s} n\nu^{s-1} + (\sqrt{n + \epsilon}) \nu^{s}\right.}\\ && \ds{\left. - (\sqrt{n} + \epsilon) \left(\frac{n}{\nu}\right)^s + O \left(\frac{n^{s-1}}{\nu^{s-1}} + \frac{\nu^{s+1}}{n}\right)\right\}.} \tag{17.3} \end{eqnarray*}
Suppose now that $s \gt 0$. Then, since $\nu$ varies from 1 to $t$, it is obvious that $$\frac{\nu^{s+1}}{n} \lt \frac{n^{s-1}}{\nu^{s-1}} $$ and so $$ O\left(\frac{\nu^{s+1}}{n}\right) = O\left(\frac{n^{s+1}}{\nu^{s-1}}\right).$$. Also \begin{eqnarray*} && \sum^t_{\nu=1} \{n^s \zeta(s) - \zeta(-s)\} = (\sqrt{n} - \half + \epsilon) \{n^s \zeta(s) - \zeta(-s)\}; \\ \sum^t_{\nu=1} \frac{s}{1+s} && \left(\frac{n}{\nu}\right)^{s+1} = \frac{sn^{s+1}}{1+s} \zeta(1+s) -\frac{n^{s+1}}{s+1} (\sqrt{n} + \epsilon)^{-s} + O(n^{\half s}); \\ && \sum^t_{\nu=1} \frac{s}{1-s} n\nu^{s-1} = \frac{ns}{1-s} \zeta(1-s) + \frac{n}{1-s} (\sqrt{n }+ \epsilon)^s + O (n^{\half s});\\ && \sum^t_{\nu=1} (\sqrt{n }+ \epsilon) \nu^s = (\sqrt{n} + \epsilon) \zeta(-s) + \frac{(\sqrt{n}+\epsilon)^{2+s}}{1+s} + O(n^{\half s}); \\ && \sum^t_{\nu=1} (\sqrt{n} +\epsilon) \left(\frac{n}{\nu}\right)^s = n^s (\sqrt{n} + \epsilon) \zeta(s) + \frac{n^s}{1-s} (\sqrt{n} + \epsilon)^{2-s} + O(n^{\half s}); \end{eqnarray*} and $$ \sum^t_{\nu=1} O\left(\frac{n^{s-1}}{\nu^{s-1}}\right) = O(m), $$ where
$$ m = n^{\frac{1}{2}s}\: (s \lt 2), \: m = n \log n (s=2), \: m = n^{s-1}\: (s \gt 2). \tag{17.4} $$
It follows that the right-hand side of (17.3) is equal to \begin{eqnarray*} \frac{sn^{1+s}}{1+s} \zeta(1+s) + \frac{sn}{1-s} \zeta(1-s) &-& \half n^s \zeta(s) + \frac{(\sqrt{n}+\epsilon)^{2+s} - n^{s+1} (\sqrt{n}+\epsilon)^{-s}} {1+s} \\ && + \frac{n(\sqrt{n} + \epsilon)^s - n^s(\sqrt{n} + \epsilon)^{2-s}}{1-s} + O(m). \end{eqnarray*} But \begin{eqnarray*} \frac{(\sqrt{n}+\epsilon)^{2+s} - n^{s+1} (\sqrt{n}+\epsilon)^{-s}}{1+s} &=& 2 \epsilon n^{\half (1+s)} + O(n^{\frac{1}{2}s});\\ \frac{n(\sqrt{n} + \epsilon)^s - n^s(\sqrt{n} + \epsilon)^{2-s}}{1-s} &=& - 2 \epsilon n^{\half (1+s)} + O (n^{\frac{1}{2}s}). \end{eqnarray*} It follows that
\begin{eqnarray*} \left.\begin{array}{ll} && \sigma_s(1) + \sigma_s(2) + \cdots + \sigma_s(n) = n^s \{\sigma_{-s}(1) + \sigma_{-s}(2) + \cdots + \sigma_{-s}(n) \}\\ && \ds{- \frac{sn^{1+s}}{1+s} \zeta(1+s) + \half n^s \zeta(s) - \frac{sn}{1-s}\zeta(1-s) + O(m)} \end{array}\right. \tag{17.5} \end{eqnarray*}
if $s > 0,m$ being the same as in (17.4). If $s=1$, (17.5) reduces to
\begin{eqnarray*} \left.\begin{array}{ll} && (n-1) \sigma_{-1} (1) + (n-2) \sigma_{-1}(2) + \cdots + (n-n) \sigma_{-1}(n) \\ && =\frac{\pi^2}{12} n^2 - \half n (\gamma - 1 + \log 2 n \pi) + O(\sqrt{n}) \end{array}\right.\href{#p21_en16}{^{16}} \tag{17.6} \end{eqnarray*}
From (16.2) and (17.5) it follows that
\begin{eqnarray*} && \sigma_s(1) + \sigma_s(2) + \cdots + \sigma_s(n) = \ds{\frac{n^{1+s}}{1+s} \zeta(1+s) + \half n^s \zeta(s)} \\ && \ds{+ \frac{sn}{s-1} \zeta(1-s) + n^s \zeta(1+s)} \left\{\frac{T_2(n)}{2^{s+1}} + \frac{T_3(n)}{3^{s+1}} + \frac{T_4(n)}{4^{s+1}} + \cdots \right\} + O(m) , \tag{17.7} \end{eqnarray*}
for all positive values of $s$. If $s>1$, the right-hand side can be written as
\begin{eqnarray*} \left.\begin{array}{ll} && \ds{\frac{ns}{s-1} \zeta(1-s) + n^s \zeta(1+s)} \\ && \left\{\frac{n}{1+s} + \frac{1}{2} + \frac{U_2(n)}{2^{s+1}} + \frac{U_3(n)}{3^{s+1}} + \frac{U_4(n)}{4^{s+1}} + \cdots \right\} + O(m). \end{array}\right. \tag{17.8} \end{eqnarray*}
Putting $s=1$ in (17.7) we obtain
\begin{eqnarray*} \left.\begin{array}{ll} && \sigma_1(1) + \sigma_1(2) + \cdots + \sigma_1(n) = \ds{\frac{\pi^2}{12} n^2 + \half n (\gamma - 1+\log 2 n \pi)}\\ &&+\frac{\pi^2n}{6}\left\{\frac{T_2(n)}{2^2} + \frac{T_3(n)}{3^2} + \frac{T_4(n)}{4^2} + \cdots \right\} + O(\sqrt{n}). \end{array}\right. \tag{17.9} \end{eqnarray*}


Additional note to $\S$ 7 (May 1, 1918).

From (7.2) it follows that $$ \frac{1}{\zeta(r)} \{1^{-s}\sigma_{1-r}(1) + 2^{-s} \sigma_{1-r}(2) + \cdots \} = 1^{-s} \sum^\infty_1 m^{-r} c_m(1) + 2^{-s} \sum^\infty_1 m^{-r} c_m(2) + \cdots,$$ or $$ \frac{\zeta(s)\zeta(r+s-1)}{\zeta(r)} = \sum^\infty_1 \sum^\infty_1 \frac{c_m(n)}{m^rn^s},$$ from which we deduce $$ \zeta(s) \sum_\delta \mu (\delta) \delta'^{1-s} = \frac{c_m(1)}{1^s} + \frac{c_m(2)}{2^s} + \frac{c_m(3)}{3^s} + \cdots, $$ $\delta$ being a divisor of $m$ and $\delta'$ its conjugate. The series on the right-hand side is convergent for $s>0$ (except when $m=1$, when it reduces to the ordinary series for $\zeta(s)$).

When $s=1, m>1$ we have to replace the left-hand side by its limit as $s\to 1$. We find that

$$ c_m(1) + \half c_m(2) + \myfrac{1}{3} c_m(3) + \cdots = - \Lambda(m), \tag{18} $$
$\Lambda(m)$ being the well-known arithmetical function which is equal to $\log p$ if $m$ is a power of a prime $p$ and to zero otherwise.

Endnotes

1See, e.g., Dirichlet-Dedekind, Vorlesungenüber Zahlentheorie, ed. 4, Supplement VII, pp. 360 – 370.

2[No.18 of this volume].

3[No. 36 of this volume].

4$\ds\sum_1^t$ is to be understood as meaning $\ds\sum_1^{[t]}$, where $[t]$ denotes as usual the greatest integer in $t$.

5See Landau, Handbuch der Lehre von der Verteilung der Primzahlen, p. 577.

6Landau, Handbuch, p. 591.

7Littlewood, Comptes Rendus, 29 Jan. 1912.

8Landau, Handbuch, p.594

9See Landau, Handbuch, pp. 414 et seq.

10Transactions of the Cambridge Philosophical Society Vol.XXII, 1916, pp. 159 – 184. [No.18 of this volume; see in particular$\S\S$ 24 – 28, pp. 202 – 208].

11For a more precise result concerning the order of $e_{2s} (n)$ see $\S$ 15.

12Loc. cit., p.181 [p. 204 of this volume].

13``Asymptotic formulæ in Combinatory Analysis'', Proc. London Math. Soc., Ser.2, Vol. XVII, 1918, pp. 75 -- 115 [No.36 of this volume].

14The method is also applicable to the problem of the representation of a number by the sum of an odd number of squares, and gives an exact result when the number of squares is 3, 5, or 7. See G.H. Hardy, ``On the representation of a number as the sum of any number of squares, and in particular of five or seven,'' Proc. London Math. Soc. (Records of proceedings at meetings, March 1918). A fuller account of this paper will appear shortly in the Proceedings of the National Academy of Sciences (Washington, D.C.) [loc. cit., Vol.IV, 1918, 189-193].

15Acta Mathematica, Vol.XXXVII, 1914, pp. 113 – 140(p.140).

16This result has been proved by Landau. See his report on Wigert's memoir in the Göttingische gelehrte Anzeigen, 1915, pp. 377 – 414 (p.402). Landau has also, by a more transcendental method, replaced $O(\sqrt{n})$ by $O(n^{\frac{2}{5}})$ (loc.cit., p.414).