login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A369745
a(n) = Sum_{p|n, p prime} p * pi(n/p).
3
0, 0, 0, 2, 0, 7, 0, 4, 6, 11, 0, 12, 0, 15, 19, 8, 0, 17, 0, 18, 26, 21, 0, 22, 15, 25, 12, 26, 0, 39, 0, 12, 37, 31, 41, 29, 0, 35, 44, 36, 0, 55, 0, 38, 38, 41, 0, 36, 28, 38, 55, 44, 0, 39, 58, 46, 62, 49, 0, 69, 0, 53, 52, 22, 69, 79, 0, 56, 73, 80, 0, 49, 0, 61
OFFSET
1,4
FORMULA
a(p^k) = p * pi(p^(k-1)), for p prime and k >= 1. - Wesley Ivan Hurt, Jun 26 2024
MATHEMATICA
Table[DivisorSum[n, #*PrimePi[n/#] &, PrimeQ[#] &], {n, 100}]
CROSSREFS
Cf. A000720 (pi), A066328.
Sequence in context: A291373 A342700 A021487 * A197391 A340367 A340197
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jan 30 2024
STATUS
approved