OFFSET
1,2
LINKS
Jodi Spitz, Table of n, a(n) for n = 1..5000
FORMULA
Equals row sums of triangle A140256. - Gary W. Adamson, May 16 2008
G.f.: Sum_{k>=1} M(k)*x^k/(1 - x^k), where M(k) is the exponential of Mangoldt function (A014963). - Ilya Gutkovskiy, Jan 16 2017
EXAMPLE
PROG
(PARI)
expmangoldt(n)=ispower(n, , &n); if(isprime(n), n, 1);
a(n) = sumdiv(n, d, expmangoldt(d)) \\ Jodi Spitz, Apr 11 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson and Mats Granvik, May 16 2008
EXTENSIONS
More terms from R. J. Mathar, Jan 19 2009
STATUS
approved