|
| |
|
|
A029834
|
|
A discrete version of the Mangoldt function: if n is prime then floor(log(n)) else 0.
|
|
4
| |
|
|
0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 0, 2, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 4, 0, 4, 0, 0, 0, 0, 0, 4, 0, 0, 0, 4, 0, 4, 0, 0, 0, 0, 0, 4, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,11
|
|
|
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.
|
|
|
PROG
| (PARI) v=[]; for(n=1, 150, v=concat(v, if(isprime(n), floor(log(n)), ))); v
|
|
|
CROSSREFS
| Cf. A029832, A029833, A053821, A062950.
Sequence in context: A069851 A197629 A198255 * A202385 A029833 A050948
Adjacent sequences: A029831 A029832 A029833 * A029835 A029836 A029837
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|