cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A379364 Denominators of the partial sums of the reciprocals of Pillai's arithmetical function (A018804).

Original entry on oeis.org

1, 3, 15, 120, 360, 360, 4680, 4680, 32760, 98280, 98280, 12285, 61425, 61425, 61425, 982800, 10810800, 1544400, 57142800, 57142800, 57142800, 399999600, 399999600, 79999920, 1230768, 30769200, 92307600, 1199998800, 22799977200, 22799977200, 1390798609200, 695399304600
Offset: 1

Views

Author

Amiram Eldar, Dec 21 2024

Keywords

Crossrefs

Cf. A018804, A272718, A370895, A379363 (numerators), A379366.

Programs

  • Mathematica
    f[p_, e_] := (e*(p-1)/p + 1)*p^e; pillai[n_] := Times @@ f @@@ FactorInteger[n]; Denominator[Accumulate[Table[1/pillai[n], {n, 1, 50}]]]
  • PARI
    pillai(n) = {my(f=factor(n)); prod(i=1, #f~, (f[i,2]*(f[i,1]-1)/f[i,1] + 1)*f[i,1]^f[i,2]);}
    list(nmax) = {my(s = 0); for(k = 1, nmax, s += 1 / pillai(k); print1(denominator(s), ", "))};

Formula

a(n) = denominator(Sum_{k=1..n} 1/A018804(k)).