The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A135323 a(1)=1, a(n) = Sum_{p=prime, p|n} a(n/p)*p. 2
 1, 2, 3, 4, 5, 12, 7, 8, 9, 20, 11, 36, 13, 28, 30, 16, 17, 54, 19, 60, 42, 44, 23, 96, 25, 52, 27, 84, 29, 180, 31, 32, 66, 68, 70, 216, 37, 76, 78, 160, 41, 252, 43, 132, 135, 92, 47, 240, 49, 150, 102, 156, 53, 216, 110, 224, 114, 116, 59, 720, 61, 124, 189, 64, 130, 396 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS If p^k is a power of a prime, then a(p^k) = p^k. LINKS Ivan Neretin, Table of n, a(n) for n = 1..10000 FORMULA a(n) = n * A008480(n). - Ivan Neretin, May 29 2016 EXAMPLE The primes that divide 12 are 2 and 3. So a(12) = a(12/2)*2 + a(12/3)*3 = 12*2 + 4*3 = 36. MATHEMATICA a = {1}; For[n = 2, n < 100, n++, b = Select[Divisors[n], PrimeQ[ # ] &]; AppendTo[a, Sum[a[[n/b[[j]]]]*b[[j]], {j, 1, Length[b]}]]]; a (* Stefan Steinerberger, Dec 07 2007 *) Fold[Append[#1, Plus @@ ((p = Select[Divisors[#2], PrimeQ])*#1[[#2/p]])] &, {1}, Range[2, 66]] (* Ivan Neretin, May 29 2016 *) CROSSREFS Sequence in context: A065636 A328260 A229347 * A052106 A064446 A225607 Adjacent sequences:  A135320 A135321 A135322 * A135324 A135325 A135326 KEYWORD nonn AUTHOR Leroy Quet, Dec 06 2007 EXTENSIONS More terms from Stefan Steinerberger, Dec 07 2007 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.

Last modified April 12 09:39 EDT 2021. Contains 342920 sequences. (Running on oeis4.)