# Von Mangoldt function

In mathematics, the von Mangoldt function is an arithmetic function named after German mathematician Hans von Mangoldt. It is an example of an important arithmetic function that is neither multiplicative nor additive.

## Definition

The von Mangoldt function, denoted by Λ(n), is defined as

${\displaystyle \Lambda (n)={\begin{cases}\log p&{\text{if }}n=p^{k}{\text{ for some prime }}p{\text{ and integer }}k\geq 1,\\0&{\text{otherwise.}}\end{cases}}}$

The values of Λ(n) for the first nine positive integers (i.e. natural numbers) are

${\displaystyle 0,\log 2,\log 3,\log 2,\log 5,0,\log 7,\log 2,\log 3,}$

which is related to (sequence A014963 in the OEIS).

## Properties

The von Mangoldt function satisfies the identity[1][2]

${\displaystyle \log(n)=\sum _{d\mid n}\Lambda (d).}$

The sum is taken over all integers d that divide n. This is proved by the fundamental theorem of arithmetic, since the terms that are not powers of primes are equal to 0. For example, consider the case n = 12 = 22 × 3. Then

{\displaystyle {\begin{aligned}\sum _{d\mid 12}\Lambda (d)&=\Lambda (1)+\Lambda (2)+\Lambda (3)+\Lambda (4)+\Lambda (6)+\Lambda (12)\\&=\Lambda (1)+\Lambda (2)+\Lambda (3)+\Lambda \left(2^{2}\right)+\Lambda (2\times 3)+\Lambda \left(2^{2}\times 3\right)\\&=0+\log(2)+\log(3)+\log(2)+0+0\\&=\log(2\times 3\times 2)\\&=\log(12).\end{aligned}}}

By Möbius inversion, we have

${\displaystyle \Lambda (n)=\sum _{d\mid n}\mu (d)\log \left({\frac {n}{d}}\right)}$

and using the product rule for the logarithm we get[2][3][4]

${\displaystyle \Lambda (n)=-\sum _{d\mid n}\mu (d)\log(d)\ .}$

For all ${\displaystyle x\geq 1}$, we have[5]

${\displaystyle \sum _{n\leq x}{\frac {\Lambda (n)}{n}}=\log x+O(1).}$

Also, there exist positive constants c1 and c2 such that

${\displaystyle \psi (x)\leq c_{1}x,}$

for all ${\displaystyle x\geq 1}$, and

${\displaystyle \psi (x)\geq c_{2}x,}$

for all sufficiently large x.

## Dirichlet series

The von Mangoldt function plays an important role in the theory of Dirichlet series, and in particular, the Riemann zeta function. For example, one has

${\displaystyle \log \zeta (s)=\sum _{n=2}^{\infty }{\frac {\Lambda (n)}{\log(n)}}\,{\frac {1}{n^{s}}},\qquad {\text{Re}}(s)>1.}$

The logarithmic derivative is then[6]

${\displaystyle {\frac {\zeta ^{\prime }(s)}{\zeta (s)}}=-\sum _{n=1}^{\infty }{\frac {\Lambda (n)}{n^{s}}}.}$

These are special cases of a more general relation on Dirichlet series. If one has

${\displaystyle F(s)=\sum _{n=1}^{\infty }{\frac {f(n)}{n^{s}}}}$

for a completely multiplicative function f (n), and the series converges for Re(s) > σ0, then

${\displaystyle {\frac {F^{\prime }(s)}{F(s)}}=-\sum _{n=1}^{\infty }{\frac {f(n)\Lambda (n)}{n^{s}}}}$

converges for Re(s) > σ0.

## Chebyshev function

The second Chebyshev function ψ(x) is the summatory function of the von Mangoldt function:[7]

${\displaystyle \psi (x)=\sum _{p^{k}\leq x}\log p=\sum _{n\leq x}\Lambda (n)\ .}$

It was introduced by Pafnuty Chebyshev who used it to show that the true order of the prime counting function ${\displaystyle \pi (x)}$ is ${\displaystyle x/\log x}$. Von Mangoldt provided a rigorous proof of an explicit formula for ψ(x) involving a sum over the non-trivial zeros of the Riemann zeta function. This was an important part of the first proof of the prime number theorem.

The Mellin transform of the Chebyshev function can be found by applying Perron's formula:

${\displaystyle {\frac {\zeta ^{\prime }(s)}{\zeta (s)}}=-s\int _{1}^{\infty }{\frac {\psi (x)}{x^{s+1}}}\,dx}$

which holds for Re(s) > 1.

## Exponential series

Hardy and Littlewood examined the series[8]

${\displaystyle F(y)=\sum _{n=2}^{\infty }\left(\Lambda (n)-1\right)e^{-ny}}$

in the limit y → 0+. Assuming the Riemann hypothesis, they demonstrate that

${\displaystyle F(y)=O\left({\frac {1}{\sqrt {y}}}\right)\quad {\text{and}}\quad F(y)=\Omega _{\pm }\left({\frac {1}{\sqrt {y}}}\right)}$

In particular this function is oscillatory with diverging oscillations: there exists a value K > 0 such that both inequalities

${\displaystyle F(y)<-{\frac {K}{\sqrt {y}}},\quad {\text{ and }}\quad F(z)>{\frac {K}{\sqrt {z}}}}$

hold infinitely often in any neighbourhood of 0. The graphic to the right indicates that this behaviour is not at first numerically obvious: the oscillations are not clearly seen until the series is summed in excess of 100 million terms, and are only readily visible when y < 10−5.

## Riesz mean

The Riesz mean of the von Mangoldt function is given by

{\displaystyle {\begin{aligned}\sum _{n\leq \lambda }\left(1-{\frac {n}{\lambda }}\right)^{\delta }\Lambda (n)&=-{\frac {1}{2\pi i}}\int _{c-i\infty }^{c+i\infty }{\frac {\Gamma (1+\delta )\Gamma (s)}{\Gamma (1+\delta +s)}}{\frac {\zeta ^{\prime }(s)}{\zeta (s)}}\lambda ^{s}ds\\&={\frac {\lambda }{1+\delta }}+\sum _{\rho }{\frac {\Gamma (1+\delta )\Gamma (\rho )}{\Gamma (1+\delta +\rho )}}+\sum _{n}c_{n}\lambda ^{-n}.\end{aligned}}}

Here, λ and δ are numbers characterizing the Riesz mean. One must take c > 1. The sum over ρ is the sum over the zeroes of the Riemann zeta function, and

${\displaystyle \sum _{n}c_{n}\lambda ^{-n}\,}$

can be shown to be a convergent series for λ > 1.

## Approximation by Riemann zeta zeros

The first Riemann zeta zero wave in the sum that approximates the von Mangoldt function

There is an explicit formula for the summatory Mangoldt function ${\displaystyle \psi (x)}$ given by[9]

${\displaystyle \psi (x)=x-\sum _{\zeta (\rho )=0}{\frac {x^{\rho }}{\rho }}-\log(2\pi ).}$

If we separate out the trivial zeros of the zeta function, which are the negative even integers, we obtain

${\displaystyle \psi (x)=x-\sum _{\zeta (\rho )=0,\ \Re (\rho )>0}{\frac {x^{\rho }}{\rho }}-\log(2\pi )-{\frac {1}{2}}\log(1-x^{-2}).}$

Taking the derivative of both sides, ignoring convergence issues, we get an "equality" of distributions

${\displaystyle \sum _{q=p^{r}}\Lambda (q)\delta (x-q)=1-\sum _{\zeta (\rho )=0,\ \Re (\rho )>0}{\frac {x^{\rho }}{x}}+{\frac {1}{x-x^{3}}}.}$
(Left) The von Mangoldt function, approximated by zeta zero waves.(Right) The Fourier transform of the von Mangoldt function gives a spectrum with imaginary parts of Riemann zeta zeros as spikes at the x-axis ordinates.

Therefore, we should expect that the sum over nontrivial zeta zeros

${\displaystyle -\sum _{\zeta (\rho )=0,\ \Re (\rho )>0}{\frac {x^{\rho }}{x}}}$

peaks at primes. In fact, this is the case, as can be seen in the adjoining graph, and can also be verified through numerical computation.

The Fourier transform of the von Mangoldt function gives a spectrum with spikes at ordinates equal to the imaginary parts of the Riemann zeta function zeros. This is sometimes called a duality.

## Generalized von Mangoldt function

The functions

${\displaystyle \Lambda _{k}(n)=\sum \limits _{d\mid n}\mu (d)\log ^{k}(n/d),}$

where ${\displaystyle \mu }$ denotes the Möbius function and ${\displaystyle k}$ denotes a positive integer, generalize the von Mangoldt function.[10] The function ${\displaystyle \Lambda _{1}}$ is the ordinary von Mangoldt function ${\displaystyle \Lambda }$.