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-5 of 5 results.

A361013 Decimal expansion of a constant related to the asymptotics of A361012.

Original entry on oeis.org

2, 9, 6, 0, 0, 8, 0, 3, 0, 2, 0, 2, 4, 9, 4, 1, 4, 1, 0, 4, 8, 1, 8, 2, 0, 4, 7, 8, 1, 1, 0, 8, 9, 4, 6, 9, 3, 9, 2, 8, 4, 3, 9, 0, 9, 5, 9, 2, 5, 1, 6, 3, 4, 1, 1, 9, 6, 7, 5, 0, 4, 4, 8, 0, 8, 6, 6, 3, 3, 9, 3, 5, 7, 8, 7, 3, 7, 3, 8, 2, 4, 9, 5, 8, 4, 6, 2, 6, 7, 3, 8, 5, 0, 1, 0, 8, 0, 5, 1, 7, 8, 6, 0, 6, 6
Offset: 1

Views

Author

Vaclav Kotesovec, Feb 28 2023

Keywords

Examples

			2.960080302024941410481820478110894693928439095925163411967504480866339...
		

Crossrefs

Programs

  • Mathematica
    $MaxExtraPrecision = 1000; smax = 500; Do[Clear[f]; f[p_] := 1 + Sum[(DivisorSigma[1, e] - DivisorSigma[1, e-1])/p^e, {e, 2, emax}]; cc = Rest[CoefficientList[Series[Log[f[1/x]], {x, 0, smax}], x, smax + 1]]; Print[f[2] * f[3] * f[5] * f[7] * Exp[N[Sum[cc[[n]]*(PrimeZetaP[n] - 1/2^n - 1/3^n - 1/5^n - 1/7^n), {n, 2, smax}], 120]]], {emax, 100, 1000, 100}]

Formula

Equals limit_{n->oo} A361012(n) / n.
Equals Product_{p prime} (1 + Sum_{e>=2} (sigma(e) - sigma(e-1)) / p^e), where sigma = A000203.

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

A072911 Number of "phi-divisors" of n.

Original entry on oeis.org

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

Views

Author

Yasutoshi Kohmoto, Aug 21 2002

Keywords

Comments

If n = Product p(i)^r(i), d = Product p(i)^s(i), = s(i)<=r(i) and gcd(s(i), r(i)) = 1, then d is a phi-divisor of n.
The integers n = Product_{i=1..r} p_i^{a_i} and m = Product_{i=1..r} p_i^{b_i}, a_i, b_i >= 1 (1 <= i <= r) having the same prime factors are called exponentially coprime, if gcd(a_i, b_i) = 1 for every 1 <= i <= r, i.e., the only common exponential divisor of n and m is Product_{i=1..r} p_i = the common squarefree kernel of n and m, cf. A049419, A007947. The terms of this sequence count the divisors d of n such that d and n are exponentially coprime. - Laszlo Toth, Oct 06 2008

References

  • József Sándor, On an exponential totient function, Studia Univ. Babes-Bolyai, Math., 41 (1996), 91-94. [Laszlo Toth, Oct 06 2008]

Crossrefs

Programs

  • Haskell
    a072911 = product . map (a000010 . fromIntegral) . a124010_row
    -- Reinhard Zumkeller, Mar 13 2012
  • Maple
    A072911 := proc(n)
        local a, p;
        a := 1 ;
        for p in ifactors(n)[2] do
            a := a*numtheory[phi](op(2, p)) ;
        od:
        a ;
    end:
    seq(A072911(n),n=1..100) ; # R. J. Mathar, Sep 25 2008
  • Mathematica
    a[n_] := Times @@ EulerPhi[FactorInteger[n][[All, 2]]];
    Array[a, 105] (* Jean-François Alcover, Nov 16 2017 *)

Formula

If n = Product p(i)^r(i) then a(n) = Product (phi(r(i))), where phi(k) is the Euler totient function of k, cf. A000010.
Sum_{k=1..n} a(k) ~ c_1 * n + c_2 * n^(1/3) + O(n^(1/5+eps)), where c_1 = A327838 (Tóth, 2004). - Amiram Eldar, Oct 30 2022

Extensions

More terms from R. J. Mathar, Sep 25 2008

A361063 Multiplicative with a(p^e) = sigma_2(e), where sigma_2 = A001157.

Original entry on oeis.org

1, 1, 1, 5, 1, 1, 1, 10, 5, 1, 1, 5, 1, 1, 1, 21, 1, 5, 1, 5, 1, 1, 1, 10, 5, 1, 10, 5, 1, 1, 1, 26, 1, 1, 1, 25, 1, 1, 1, 10, 1, 1, 1, 5, 5, 1, 1, 21, 5, 5, 1, 5, 1, 10, 1, 10, 1, 1, 1, 5, 1, 1, 5, 50, 1, 1, 1, 5, 1, 1, 1, 50, 1, 1, 5, 5, 1, 1, 1, 21, 21, 1, 1, 5
Offset: 1

Views

Author

Vaclav Kotesovec, Mar 01 2023

Keywords

Crossrefs

Programs

  • Mathematica
    g[p_, e_] := DivisorSigma[2, e]; a[1] = 1; a[n_] := Times @@ g @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> sigma(x, 2), factor(n)[, 2])); \\ Amiram Eldar, Jan 07 2025
  • Python
    from math import prod
    from sympy import factorint, divisor_sigma
    def A361063(n): return prod(divisor_sigma(e,2) for e in factorint(n).values()) # Chai Wah Wu, Mar 01 2023
    

Formula

Dirichlet g.f.: Product_{primes p} (1 + Sum_{e>=1} sigma_2(e) / p^(e*s)).
Sum_{k=1..n} a(k) ~ c * n, where c = Product_{p prime} (1 + Sum_{e>=2} (sigma_2(e) - sigma_2(e-1)) / p^e) = 11.343154585178523783556367128387762286267199879648613456124659589127638983...

A361064 Multiplicative with a(p^e) = sigma_3(e), where sigma_3 = A001158.

Original entry on oeis.org

1, 1, 1, 9, 1, 1, 1, 28, 9, 1, 1, 9, 1, 1, 1, 73, 1, 9, 1, 9, 1, 1, 1, 28, 9, 1, 28, 9, 1, 1, 1, 126, 1, 1, 1, 81, 1, 1, 1, 28, 1, 1, 1, 9, 9, 1, 1, 73, 9, 9, 1, 9, 1, 28, 1, 28, 1, 1, 1, 9, 1, 1, 9, 252, 1, 1, 1, 9, 1, 1, 1, 252, 1, 1, 9, 9, 1, 1, 1, 73, 73, 1, 1, 9
Offset: 1

Views

Author

Vaclav Kotesovec, Mar 01 2023

Keywords

Crossrefs

Programs

  • Mathematica
    g[p_, e_] := DivisorSigma[3, e]; a[1] = 1; a[n_] := Times @@ g @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> sigma(x, 3), factor(n)[, 2])); \\ Amiram Eldar, Jan 07 2025
  • Python
    from math import prod
    from sympy import factorint, divisor_sigma
    def A361064(n): return prod(divisor_sigma(e,3) for e in factorint(n).values()) # Chai Wah Wu, Mar 01 2023
    

Formula

Dirichlet g.f.: Product_{primes p} (1 + Sum_{e>=1} sigma_3(e) / p^(e*s)).
Sum_{k=1..n} a(k) ~ c * n, where c = Product_{p prime} (1 + Sum_{e>=2} (sigma_3(e) - sigma_3(e-1)) / p^e) = 136.775196585091127831467103699999450735835551529525277016916082455332230986...
Showing 1-5 of 5 results.