A348986 Denominator of ratio sigma(n) / A325973(n), where A325973 is the arithmetic mean of {sum of squarefree divisors} and {sum of unitary divisors}.
1, 1, 1, 4, 1, 1, 1, 2, 7, 1, 1, 4, 1, 1, 1, 10, 1, 7, 1, 4, 1, 1, 1, 2, 16, 1, 2, 4, 1, 1, 1, 2, 1, 1, 1, 31, 1, 1, 1, 2, 1, 1, 1, 4, 7, 1, 1, 10, 29, 16, 1, 4, 1, 2, 1, 2, 1, 1, 1, 4, 1, 1, 7, 34, 1, 1, 1, 4, 1, 1, 1, 17, 1, 1, 16, 4, 1, 1, 1, 10, 43, 1, 1, 4, 1, 1, 1, 2, 1, 7, 1, 4, 1, 1, 1, 2, 1, 29, 7, 74, 1, 1, 1, 2, 1
Offset: 1
Links
Crossrefs
Programs
-
Mathematica
f1[p_, e_] := p + 1; f2[p_, e_] := p^e + 1; s[1] = 1; s[n_] := (Times @@ f1 @@@ (f = FactorInteger[n]) + Times @@ f2 @@@ f)/2; a[n_] := Denominator[DivisorSigma[1, n]/s[n]]; Array[a, 100] (* Amiram Eldar, Nov 06 2021 *)
-
PARI
A325973(n) = (1/2)*sumdiv(n, d, d*(issquarefree(d) + (1==gcd(d, n/d)))); A348986(n) = { my(am=A325973(n)); (am/gcd(sigma(n),am)); };
Comments