login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 14:37 EST 2012. Contains 205822 sequences.