OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MATHEMATICA
f[1] = 1; f[n_] := f[n] = -DivisorSum[n, f[#] * DivisorSigma[1, n/#] * #/n &, # < n &]; Denominator @ Array[f, 100] (* Amiram Eldar, Nov 28 2021 *)
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, correctly!
Abi(n) = (sigma(n)/n);
vDirInv_of_Abi = DirInverseCorrect(vector(up_to, n, Abi(n)));
A349630(n) = denominator(vDirInv_of_Abi[n]);
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Antti Karttunen, Nov 27 2021
STATUS
approved