OFFSET
1,5
COMMENTS
The real Mangoldt function Lambda(n) is equal to log(n) if n is prime else 0.
REFERENCES
T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1976, page 32.
P. Ribenboim, Algebraic Numbers, p. 44.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65539
MATHEMATICA
Table[If[PrimeQ[n], Round[Log[n]], 0], {n, 200}] (* Harvey P. Dale, Nov 25 2020 *)
PROG
(PARI) A029833(n) = if(!isprime(n), 0, round(log(n))); \\ Antti Karttunen, Feb 06 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Antti Karttunen, Feb 06 2019
STATUS
approved