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.

A346010 a(n) is the denominator of the average number of distinct prime factors of the divisors of n.

Original entry on oeis.org

1, 2, 2, 3, 2, 1, 2, 4, 3, 1, 2, 6, 2, 1, 1, 5, 2, 6, 2, 6, 1, 1, 2, 4, 3, 1, 4, 6, 2, 2, 2, 6, 1, 1, 1, 3, 2, 1, 1, 4, 2, 2, 2, 6, 6, 1, 2, 10, 3, 6, 1, 6, 2, 4, 1, 4, 1, 1, 2, 3, 2, 1, 6, 7, 1, 2, 2, 6, 1, 2, 2, 12, 2, 1, 6, 6, 1, 2, 2, 10, 5, 1, 2, 3, 1, 1
Offset: 1

Views

Author

Amiram Eldar, Jul 01 2021

Keywords

Comments

See A346009 for details.

Crossrefs

Cf. A346009 (numerators).

Programs

  • Mathematica
    a[n_] := Denominator[DivisorSum[n, PrimeNu[#] &]/DivisorSigma[0, n]]; Array[a, 100]
    (* or *)
    f[p_, e_] := e/(e+1); a[1] = 1; a[n_] := Denominator[Plus @@ f @@@ FactorInteger[n]]; Array[a, 100]