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.

A049419 a(1) = 1; for n > 1, a(n) = number of exponential divisors of n.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

The exponential divisors of a number x = Product p(i)^r(i) are all numbers of the form Product p(i)^s(i) where s(i) divides r(i) for all i.
Wu gives a complicated Dirichlet g.f.
a(1) = 1 by convention. This is also required for a function to be multiplicative. - N. J. A. Sloane, Mar 03 2009
The inverse Moebius transform seems to be in A124315. The Dirichlet inverse appears to be related to A166234. - R. J. Mathar, Jul 14 2014

Examples

			a(8)=2 because 2 and 2^3 are e-divisors of 8.
The sets of e-divisors start as:
  1:{1}
  2:{2}
  3:{3}
  4:{2, 4}
  5:{5}
  6:{6}
  7:{7}
  8:{2, 8}
  9:{3, 9}
  10:{10}
  11:{11}
  12:{6, 12}
  13:{13}
  14:{14}
  15:{15}
  16:{2, 4, 16}
  17:{17}
  18:{6, 18}
  19:{19}
  20:{10, 20}
  21:{21}
  22:{22}
  23:{23}
  24:{6, 24}
		

Crossrefs

Row lengths of A322791.
Cf. A049599, A061389, A051377 (sum of e-divisors).
Partial sums are in A099593.

Programs

  • GAP
    A049419:=n->Product(List(Collected(Factors(n)), p -> Tau(p[2]))); List([1..10^4], n -> A049419(n)); # Muniru A Asiru, Oct 29 2017
    
  • Haskell
    a049419 = product . map (a000005 . fromIntegral) . a124010_row
    -- Reinhard Zumkeller, Mar 13 2012
    
  • Maple
    A049419 := proc(n)
        local a;
        a := 1 ;
        for pf in ifactors(n)[2] do
            a := a*numtheory[tau](op(2,pf)) ;
        end do:
        a ;
    end proc:
    seq(A049419(n),n=1..20) ; # R. J. Mathar, Jul 14 2014
  • Mathematica
    a[1] = 1; a[p_?PrimeQ] = 1; a[p_?PrimeQ, e_] := DivisorSigma[0, e]; a[n_] := Times @@ (a[#[[1]], #[[2]]] & ) /@ FactorInteger[n]; Table[a[n], {n, 1, 102}] (* Jean-François Alcover, Jan 30 2012, after Vladeta Jovovic *)
  • PARI
    a(n) = vecprod(apply(numdiv, factor(n)[,2])); \\ Amiram Eldar, Mar 27 2023

Formula

Multiplicative with a(p^e) = tau(e). - Vladeta Jovovic, Jul 23 2001
Sum_{k=1..n} a(k) ~ A327837 * n. - Vaclav Kotesovec, Feb 27 2023

Extensions

More terms from Jud McCranie, May 29 2000