OFFSET
1,2
COMMENTS
Dirichlet inverse of A069097.
FORMULA
MATHEMATICA
PROG
(PARI)
up_to = 20000;
DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(d<n, v[n/d]*u[d], 0)))); (u) }; \\ Compute the Dirichlet inverse of the sequence given in input vector v.
A069097(n) = sumdiv(n, d, moebius(n/d)*d*sigma(d));
v351654 = DirInverseCorrect(vector(up_to, n, A069097(n)));
A351654(n) = v351654[n]; \\ Antti Karttunen, Feb 16 2022
(PARI) for(n=1, 100, print1(direuler(p=2, n, (1 - p*X)*(1 - p^2*X)/(1 - X))[n], ", ")) \\ Vaclav Kotesovec, Feb 16 2022
CROSSREFS
KEYWORD
sign,mult
AUTHOR
Ilya Gutkovskiy, Feb 16 2022
STATUS
approved