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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162578 Partial sums of the Carmichael lambda function A002322. 3
1, 2, 4, 6, 10, 12, 18, 20, 26, 30, 40, 42, 54, 60, 64, 68, 84, 90, 108, 112, 118, 128, 150, 152, 172, 184, 202, 208, 236, 240, 270, 278, 288, 304, 316, 322, 358, 376, 388, 392, 432, 438, 480, 490, 502, 524, 570, 574, 616, 636, 652, 664, 716, 734, 754, 760, 778 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = Sum_{k=1..n} A002322(k).

MAPLE

read("transforms3") ; a002322 := BFILETOLIST("b002322.txt") : A162578 :=proc(n) global a002322 ; local i; add(op(i, a002322), i=1..n) ; end: seq(A162578(n), n=1..120) ; # R. J. Mathar, Jul 16 2009

MATHEMATICA

f[n_]:=CarmichaelLambda[n]; s=0; lst={}; Do[AppendTo[lst, s+=f[n]], {n, 1, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, May 14 2010 *)

Accumulate[CarmichaelLambda[Range[60]]] (* Harvey P. Dale, Sep 21 2011 *)

PROG

(PARI) a(n) = sum(i=1, n, lcm(znstar(i)[2])) \\ Felix Fröhlich, Jul 04 2018

CROSSREFS

Cf. A002322.

Sequence in context: A072542 A167856 A293750 * A152919 A002088 A092249

Adjacent sequences:  A162575 A162576 A162577 * A162579 A162580 A162581

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post, Jul 06 2009

EXTENSIONS

a(13) corrected and more terms added by R. J. Mathar, Jul 16 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 10:24 EST 2019. Contains 320310 sequences. (Running on oeis4.)