In analytic number theory, a Dirichlet series, or Dirichlet generating function (DGF), of a sequence is a common way of understanding and summing arithmetic functions in a meaningful way. A little known, or at least often forgotten about, way of expressing formulas for arithmetic functions and their summatory functions is to perform an integral transform that inverts the operation of forming the DGF of a sequence. This inversion is analogous to performing an inverse Z-transform to the generating function of a sequence to express formulas for the series coefficients of a given ordinary generating function.
For now, we will use this page as a compendia of "oddities" and oft-forgotten facts about transforming and inverting Dirichlet series, DGFs, and relating the inversion of a DGF of a sequence to the sequence's summatory function. We also use the notation for coefficient extraction usually applied to formal generating functions in some complex variable, by denoting
[n-s]Df(s)=:f(n)
n\geq1
Df(s):=\sumn
f(n) | |
ns |
, \Re(s)>\sigma0,f,
denotes the DGF (or Dirichlet series) of f which is taken to be absolutely convergent whenever the real part of s is greater than the abscissa of absolute convergence,
\sigma0,f\inR
The relation of the Mellin transformation of the summatory function of a sequence to the DGF of a sequence provides us with a way of expressing arithmetic functions
f(n)
f(1) ≠ 0
f-1(n)
Sf(x):={\sumn
In particular, provided that the DGF of some arithmetic function f has an analytic continuation to
s\mapsto-s
l{M}[Sf](s)=-
Df(-s) | |
s |
.
It is often also convenient to express formulas for the summatory functions over the Dirichlet inverse function of f using this construction of a Mellin inversion type problem.
Recall that an arithmetic function is Dirichlet invertible, or has an inverse
f-1(n)
(f\astf-1)(n)=\deltan,1
f\astf-1=\mu\ast1\equiv\varepsilon
f(1) ≠ 0
Df(s)
\Re(s)>\sigma0,f
D | |
f-1 |
(s)=1/Df(s)
\Re(s)>\sigma0,f
\sigma0,f
We also see the following identities related to the Dirichlet inverse of some function g that does not vanish at one:
\begin{align}(g-1\ast\mu)(n)&=[n-s]\left(
1 | |
\zeta(s)Dg(s) |
\right)\ (g-1\ast1)(n)&=[n-s]\left(
\zeta(s) | |
Dg(s) |
\right).\end{align}
Using the same convention in expressing the result of Perron's formula, we assume that the summatory function of a (Dirichlet invertible) arithmetic function
f
x\geq0
Sf(x):={\sumn
We know the following relation between the Mellin transform of the summatory function of f and the DGF of f whenever
\Re(s)>\sigma0,f
Df(s)=s ⋅
infty | |
\int | |
1 |
Sf(x) | |
xs+1 |
dx.
Some examples of this relation include the following identities involving the Mertens function, or summatory function of the Moebius function, the prime zeta function and the prime-counting function, and the Riemann prime-counting function:
\begin{align} | 1 |
\zeta(s) |
&=s ⋅
infty | |
\int | |
1 |
M(x) | |
xs+1 |
dx\ P(s)&=s ⋅
infty | |
\int | |
1 |
\pi(x) | |
xs+1 |
dx\ log\zeta(s)&=s ⋅
infty | |
\int | |
0 |
\Pi0(x) | |
xs+1 |
dx.\end{align}
For any s such that
\sigma:=\Re(s)>\sigma0,f
f(x)\equiv[x-s]Df(s)=\limT
1 | |
2T |
T | |
\int | |
-T |
x\sigma+\imathDf(\sigma+\imatht)dt.
If we write the DGF of f according to the Mellin transform formula of the summatory function of f, then the stated integral formula simply corresponds to a special case of Perron's formula. Another variant of the previous formula stated in Apostol's book provides an integral formula for an alternate sum in the following form for
c,x>0
\sigma>\sigma0,f-c
\Re(s):=\sigma
{\sumn
This proof shows that the function can be recovered from its associated Dirichlet series by means of an integral, which is known as the classical integral formula for Dirichlet inversion.
If we are interested in expressing formulas for the Dirichlet inverse of f, denoted by
f-1(n)
f(1) ≠ 0
Df(s)=1+s ⋅ Af(s)
\Re(s)>\sigma0,f
\begin{align}\int
x\imath | |
Df(\sigma+\imatht) |
dt&=\int\left(\sumj(\sigma+\imatht)j x
j | |
\sum | |
k=0 |
(-1)kDf(\sigma+\imatht)k
logj-k(x) | |
(j-k)! |
\right)dt.\end{align}
Now we can call on integration by parts to see that if we denote by
F(-m)(x)=\sumn
F(n)(0) | |
n! |
xn+m x
n! | |
(n+m)! |
mth
k\geq0
\int(ax+b)k ⋅ F(ax+b)dx=
k | |
\sum | |
j=0 |
k! | |
a ⋅ j! |
(-1)k-jtjF(j+1-k)(ax+b).
Thus we obtain that
T | |
\begin{align}\int | |
-T |
x\imath | |
Df(\sigma+\imatht) |
dt&=
1 | |
\imath |
\left(\sumj
j | |
\sum | |
k=0 |
k | |
\sum | |
m=0 |
k! | |
m! |
(-1)m(\sigma+\imatht)m
k\right] | |
\left[D | |
f |
(j+1-k)(\sigma+\imatht)
logj-k(x) | |
(j-k)! |
\right)
t=+T | |
r| | |
t=-T |
.\end{align}
We also can relate the iterated integrals for the
kth
F(-k)(x)=
k-1 | |
\sum | |
i=0 |
\binom{k-1}{i}
(-1)i | |
(k-1)! |
\int
F(x) | |
xi |
dx.
In light of this expansion, we can then write the partially limiting T-truncated Dirichlet series inversion integrals at hand in the form of
\begin{align} | 1 |
2T |
T | |
\int | |
-T |
x\imath | |
Df(\sigma+\imatht) |
dt&=
1 | |
2T ⋅ \imath |
\left(\sumj
j | |
\sum | |
k=0 |
k | |
\sum | |
m=0 |
j-k | |
\sum | |
n=0 |
\binom{j-k}{n}
(-1)k+n+m ⋅ k! | |
(j-k)! ⋅ m! |
(\sigma+\imatht)m
logj-k(x) | |
(j-k)! |
\sigma+\imatht | |
\int | |
0 |
k\right](v) | |
\left[A | |
f |
dv | |
vn |
\right)
t=+T | |
r| | |
t=-T |
\ &=
1 | |
2T ⋅ \imath |
\left(\sumj
j | |
\sum | |
k=0 |
k | |
\sum | |
m=0 |
(-1)j-k ⋅ (-s)m | |
m! |
logk(x) | |
k! |
1 | |
\int | |
0 |
s ⋅
j-k | |
D | |
f |
(rs)\left(1-
1 | |
rs |
\right)kdv\right)
s=\sigma+\imathT | |
r| | |
s=\sigma-\imathT |
\ &=
s\left(e-s+Os(1)\right) | |
2T ⋅ \imath |
1 | |
\int | |
0 |
| ||||||||
1+Df(rs) |
dr
s=\sigma+\imathT | |
r| | |
s=\sigma-\imathT |
\ &=
\left(e-s+Os(1)\right) | |
2T ⋅ \imath |
s | |
\int | |
0 |
| ||||||||
1+Df(v) |
dv
s=\sigma+\imathT | |
r| | |
s=\sigma-\imathT |
.\end{align}
a(n)
s=1
a(n)
c
a(n)
b(n)
a(n)
f(x)
s
f(x)
Suppose that we wish to treat the integrand integral formula for Dirichlet coefficient inversion in powers of
(\imatht)k
[(\imatht)k]F(\sigma+\imatht)=F(k))(\sigma)/k!
\begin{align}\hat{D}f(x;\sigma,T)&:=
T | |
\int | |
-T |
x\sigma+\imathDf(\sigma+\imatht)dt\ &=\summ
T | |
\int | |
-T |
x\sigma+\imath(\imatht)m
| ||||||||||
m! |
\ &=\summ
T | |
\int | |
-T |
t2mx\sigma+\imath
| |||||||||||||
(2m)! |
dt+\imath x \summ
T | |
\int | |
-T |
t2m+1x\sigma+\imath
(-1)mA(2m+1)(\sigma) | |
(2m+1)! |
dt.\end{align}
We require the result given by the following formula, which is proved rigorously by an application of integration by parts, for any non-negative integer
m\geq0
\begin{align}\hat{I}m(T)&:=
T | |
\int | |
-T |
(\imatht)m | |
m! |
x\imathdt\ &=
m | |
\sum | |
r=0 |
\left(x\imath+(-1)r+1x-\imath\right)(-\imath)r+1 | |
logk+1-r(x) |
⋅
Tr | |
r! |
\ &=
\cos(Tlogx) | |
Tlogx |
x
\lfloork/2\rfloor | |
\sum | |
r=0 |
(-1)r+1T2r | |
logk-2r(x)(2r)! |
+
\sin(Tlogx) | |
Tlogx |
x
\lfloork/2\rfloor | |
\sum | |
r=0 |
(-1)r+1T2r+1 | |
logk-2r-1(x)(2r+1)! |
.\end{align}
So the respective real and imaginary parts of our arithmetic function coefficients f at positive integers x satisfy:
\begin{align}\operatorname{Re}(f(x))&=x\sigma x \limT\summ
(2m) | |
D | |
f |
(\sigma) ⋅
\hat{I | |
2m |
(T)}{2T}\ \operatorname{Im}(f(x))&=x\sigma x \limT\summ
(2m+1) | |
D | |
f |
(\sigma) ⋅
\hat{I | |
2m+1 |
(T)}{2T}.\end{align}
The last identities suggest an application of the Hadamard product formula for generating functions. In particular, we can work out the following identities which express the real and imaginary parts of our function f at x in the following forms:[1]
\begin{align}\operatorname{Re}(f(x))&=\limT\left[
x\sigma | |
2T |
x
1 | |
2\pi |
\pi | |
\int | |
-\pi |
\left(Df(\sigma+\imathT ⋅ e\imath)+Df(\sigma-\imathTe\imath)\right)\left(FUNC(e-\imath)\right)ds\right]\ \operatorname{Im}(f(x))&=\limT\left[
x\sigma | |
2T |
x
1 | |
2\pi |
\pi | |
\int | |
-\pi |
\left(Df(\sigma+\imathT ⋅ e\imath)-Df(\sigma-\imathTe\imath\right)ds\right].\end{align}
Notice that in the special case where the arithmetic function f is strictly real-valued, we expect that the inner terms in the previous limit formula are always zero (i.e., for any T).
\lfloork/2\rfloor | |
\begin{align}\sum | |
r=0 |
(-1)r+1T2r | |
logk-2r(x)(2r)! |
&=-
1 | |
2 |
| ||||
[z |
From this observation, the formula stated below is now a standard application of the cited integral formula to compute the Hadamard product of two generating functions.