OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..380
MAPLE
with(numtheory):
a:= n-> n^(n+1)*add(i[2]*pi(i[1])/i[1], i=ifactors(n)[2]):
seq(a(n), n=0..20);
MATHEMATICA
a[n_] := n^(n+1)*Sum[i[[2]]*PrimePi[i[[1]]]/i[[1]], {i, FactorInteger[n]}];
a[0] = 0; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Mar 24 2017, translated from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jun 12 2015
STATUS
approved