OFFSET
1,1
LINKS
PROG
(PARI)
up_to = 65537;
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.
A324198(n) = { my(m=1, p=2, orgn=n); while(n, m *= (p^min(n%p, valuation(orgn, p))); n = n\p; p = nextprime(1+p)); (m); };
v346242 = DirInverseCorrect(vector(up_to, n, A324198(n)));
A346242(n) = v346242[n];
CROSSREFS
KEYWORD
sign,base
AUTHOR
Antti Karttunen, Jul 13 2021
STATUS
approved