MangoldtLambda

MangoldtLambda[n]

gives the von Mangoldt function .

Details

  • 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.

Examples

open allclose all

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]=

Scope  (4)

Properties & Relations  (2)

See Also

FactorInteger  PrimePowerQ  DirichletTransform

Introduced in 2008
(7.0)