OFFSET
1,1
LINKS
FORMULA
PROG
(PARI)
up_to = 16384;
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.
v346477 = DirInverseCorrect(vector(up_to, n, A346476(n)));
A346477(n) = v346477[n];
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 30 2021
STATUS
approved