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.

A368980 The number of exponential divisors of n that are squares (A000290).

Original entry on oeis.org

1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Amiram Eldar, Jan 11 2024

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[OddQ[e], 0, DivisorSigma[0, e/2]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> if(x%2, 0, numdiv(x/2)), factor(n)[, 2]));

Formula

a(n^2) = A049419(n). [corrected by Ridouane Oudra, Nov 19 2024]
Multiplicative with a(p^e) = A183063(e), or equivalently, a(p^e) = 0 if e is odd, and A000005(e/2) if e is even.
a(n) >= 0, with equality if and only if n is not a square number (A000037).
a(n) <= A049419(n), with equality if and only if n = 1.
Sum_{k=1..n} a(k) ~ c * sqrt(n), where c = 1.602317... (A327837).