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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155457 a(n) = exp(Lambda(n)), where Lambda(n) is the von Mangoldt function for odd (!) primes. 1
1, 1, 3, 1, 5, 1, 7, 1, 3, 1, 11, 1, 13, 1, 1, 1, 17, 1, 19, 1, 1, 1, 23, 1, 5, 1, 3, 1, 29, 1, 31, 1, 1, 1, 1, 1, 37, 1, 1, 1, 41, 1, 43, 1, 1, 1, 47, 1, 7, 1, 1, 1, 53, 1, 1, 1, 1, 1, 59, 1, 61, 1, 1, 1, 1, 1, 67, 1, 1, 1, 71, 1, 73, 1, 1, 1, 1, 1, 79, 1, 3, 1, 83, 1, 1, 1, 1, 1, 89 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

a(n) = p if n = p^k and p odd prime, k >= 1, otherwise 1.

REFERENCES

Tom M. Apostol, Introduction to analytic number theory, Springer-Verlag, 1976.

LINKS

Wikipedia, Von Mangoldt function

EXAMPLE

a(8) = 1 because 8 = 2^3 is not the power of an odd prime, a(49) = 7 because 49 = 7^2.

MAPLE

a := proc(n) local lcm; lcm := n -> ilcm(seq(i, i = 1..n)); if type(n, even) then 1 else lcm(n)/lcm(n-1) fi end;

CROSSREFS

Cf. A014963.

Sequence in context: A087913 A090585 A147661 * A009001 A093178 A093411

Adjacent sequences:  A155454 A155455 A155456 * A155458 A155459 A155460

KEYWORD

nonn

AUTHOR

Peter Luschny (peter(AT)luschny.de), Jan 22 2009, Jan 25 2009

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 17 20:48 EST 2012. Contains 206085 sequences.