login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A379520
Denominators of the partial alternating sums of the reciprocals of the unitary totient function (A047994).
0
1, 1, 2, 6, 12, 12, 12, 84, 168, 168, 840, 840, 280, 840, 105, 105, 1680, 1680, 5040, 5040, 5040, 5040, 55440, 55440, 55440, 55440, 720720, 80080, 80080, 80080, 240240, 7447440, 7447440, 3723720, 620620, 3723720, 11171160, 11171160, 1396395, 5585580, 2234232, 2234232
OFFSET
1,3
LINKS
László Tóth, Alternating Sums Concerning Multiplicative Arithmetic Functions, Journal of Integer Sequences, Vol. 20 (2017), Article 17.2.1. See section 4.10, pp. 30-31.
FORMULA
a(n) = denominator(Sum_{k=1..n} (-1)^(k+1)/A047994(k)).
MATHEMATICA
uphi[n_] := Times @@ (-1 + Power @@@ FactorInteger[n]); uphi[1] = 1; Denominator[Accumulate[Table[(-1)^(n+1)/uphi[n], {n, 1, 50}]]]
PROG
(PARI) uphi(n) = {my(f = factor(n)); prod(i = 1, #f~, -1 + f[i, 1]^f[i, 2]); }
list(nmax) = {my(s = 0); for(k = 1, nmax, s += (-1)^(k+1) / uphi(k); print1(denominator(s), ", "))};
CROSSREFS
Cf. A047994, A177754, A370899, A379518, A379519 (numerators).
Sequence in context: A074385 A057340 A092427 * A058198 A096075 A278256
KEYWORD
nonn,easy,frac,new
AUTHOR
Amiram Eldar, Dec 24 2024
STATUS
approved