OFFSET
1,3
LINKS
PROG
(PARI)
up_to = 65537;
A003961(n) = my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); \\ From A003961
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.
AuxA354827(n) = (A003961(n)/sigma(n));
vDirInv = DirInverseCorrect(vector(up_to, n, AuxA354827(n)));
A354828(n) = denominator(vDirInv[n]);
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Antti Karttunen, Jun 07 2022
STATUS
approved