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.

Showing 1-1 of 1 results.

A383959 The number of prime powers p^e having the property that e is a unitary divisor of the p-adic valuation of n.

Original entry on oeis.org

0, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 3, 2, 2, 1, 3, 2, 2, 2, 3, 1, 3, 1, 2, 2, 2, 2, 4, 1, 2, 2, 3, 1, 3, 1, 3, 3, 2, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 2, 2, 1, 4, 1, 2, 3, 4, 2, 3, 1, 3, 2, 3, 1, 4, 1, 2, 3, 3, 2, 3, 1, 3, 2, 2, 1, 4, 2, 2, 2
Offset: 1

Views

Author

Amiram Eldar, May 16 2025

Keywords

Comments

First differs from A238949 at n = 64.
First differs from A383960 at n = 256.
Also, the number of prime powers p^e having the property that e is a squarefree divisor of the p-adic valuation of n.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := 2^PrimeNu[e]; a[1] = 0; a[n_] := Plus @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecsum(apply(x -> 1 << omega(x), factor(n)[, 2]));

Formula

Additive with a(p^e) = A034444(e) = 2^A001221(e).
Sum_{k=1..n} a(k) ~ n*(log(log(n)) + B - C + D), where B is Mertens's constant (A077761), C = Sum_{p prime} 1/p^2 (A085548), and D = Sum_{p prime, e>=2} (1-1/p)*A034444(e)/p^e = 0.92341081050532387352... .
Showing 1-1 of 1 results.