MangoldtLambda

MangoldtLambda[n]
gives the von Mangoldt function .

DetailsDetails

  • Integer mathematical function, suitable for both symbolic and numerical manipulation.
  • MangoldtLambda[n] gives zero unless n is a prime power, in which case it gives the logarithm of the prime.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

The Mangoldt function returns the log of prime power base or zero when composite:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Plot the sequence:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)