OFFSET
1,12
COMMENTS
Dirichlet inverse of A086436. - Antti Karttunen, Nov 29 2024
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
Eric Weisstein's World of Mathematics, Prime Factor
FORMULA
G.f. A(x) satisfies: A(x) = x - Sum_{k>=2} bigomega(k) * A(x^k).
Dirichlet g.f.: 1 / (1 + zeta(s) * Sum_{k>=1} primezeta(k*s)).
MATHEMATICA
a[n_] := If[n == 1, n, -Sum[If[d < n, PrimeOmega[n/d] a[d], 0], {d, Divisors[n]}]]; Table[a[n], {n, 92}]
PROG
(PARI)
memoA334744 = Map();
A334744(n) = if(1==n, 1, my(v); if(mapisdefined(memoA334744, n, &v), v, v = -sumdiv(n, d, if(d<n, bigomega(n/d)*A334744(d), 0)); mapput(memoA334744, n, v); (v))); \\ Antti Karttunen, Nov 29 2024
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, May 09 2020
STATUS
approved