Von Mangoldt Function Calculator

Λ(n) = log p or 0

CalculatorsFreeNo Signup
4.6(439 reviews)
All Tools

Loading tool...

About Von Mangoldt Function Calculator

A von Mangoldt function calculator computing Λ(n) = log(p) if n=p^k for some prime p and k≥1, else 0. The Chebyshev function ψ(x) = ΣΛ(n) for n≤x satisfies ψ(x)~x (prime number theorem). Client-side.

Von Mangoldt Function Calculator Features

  • Λ(n) computation
  • Prime power check
  • Chebyshev ψ(x)
  • PNT connection
  • Sequence
Von Mangoldt Λ(n): log(p) if n=p^k (prime power), 0 otherwise. Λ(2)=log2, Λ(3)=log3, Λ(4)=log2, Λ(5)=log5, Λ(6)=0. The Chebyshev function ψ(x)=ΣΛ(n)≈x encodes the Prime Number Theorem. Deep connections to Riemann zeta: −ζ'/ζ = Σ Λ(n)/n^s.

How to Use

Enter n:

  • Λ(n): log(p) or 0
  • Prime power: p^k detection
  • ψ(n): Summatory function

Prime Number Theorem

ψ(x) = Σ_{n≤x} Λ(n) ~ x. This is equivalent to π(x) ~ x/ln(x). The von Mangoldt function 'weights' prime powers by log(prime), smoothing the prime counting function. This makes analytic arguments cleaner.

Zeta Connection

−ζ'(s)/ζ(s) = Σ Λ(n)·n^{−s}. This Dirichlet series encodes all zeros of ζ. The explicit formula for ψ(x) involves a sum over ALL zeta zeros. This is why Λ is central to analytic number theory.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Check prime power.
  3. 3Compute Λ(n).
  4. 4Sum ψ(n).
  5. 5Compare to n.

Von Mangoldt Function Calculator — Frequently Asked Questions

Why use log(p) instead of just 1?+

The logarithmic weight makes the summatory function ψ(x) behave like x (PNT). Without it, π(x) ~ x/log(x) has the pesky log. With Λ, we get the cleaner ψ(x) ~ x. This simplifies proofs enormously — Λ is the 'right' way to count primes analytically.

Why include prime POWERS?+

The identity log(n) = Σ_{d|n} Λ(d) requires prime powers. This Möbius-inversion relationship: Λ = μ * log (Dirichlet convolution) needs all prime powers. Excluding them would break the clean algebraic structure.

What about Λ(1)?+

Λ(1) = 0 because 1 is not a prime power. This is a convention, but it's the only consistent choice: 1 has no prime base, so Λ(1)=log(?) has no meaningful answer. Setting it to 0 preserves all the identities.

Share this tool: