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

A366439 The sum of divisors of the exponentially odd numbers (A268335).

Original entry on oeis.org

1, 3, 4, 6, 12, 8, 15, 18, 12, 14, 24, 24, 18, 20, 32, 36, 24, 60, 42, 40, 30, 72, 32, 63, 48, 54, 48, 38, 60, 56, 90, 42, 96, 44, 72, 48, 72, 54, 120, 72, 120, 80, 90, 60, 62, 96, 84, 144, 68, 96, 144, 72, 74, 114, 96, 168, 80, 126, 84, 108, 132, 120, 180, 90
Offset: 1

Views

Author

Amiram Eldar, Oct 10 2023

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := (p^(e+1)-1)/(p-1); s[n_] := Module[{fct = FactorInteger[n]}, If[AllTrue[fct[[;;, 2]], OddQ], Times @@ f @@@ fct, Nothing]]; s[1] = 1; Array[s, 100]
  • PARI
    lista(max) = for(k = 1, max, my(f = factor(k), isexpodd = 1); for(i = 1, #f~, if(!(f[i, 2] % 2), isexpodd = 0; break)); if(isexpodd, print1(sigma(f), ", ")));
    
  • Python
    from math import prod
    from itertools import count, islice
    from sympy import factorint
    def A366439_gen(): # generator of terms
        for n in count(1):
            f = factorint(n)
            if all(e&1 for e in f.values()):
                yield prod((p**(e+1)-1)//(p-1) for p,e in f.items())
    A366439_list = list(islice(A366439_gen(),30)) # Chai Wah Wu, Oct 11 2023

Formula

a(n) = A000203(A268335(n)).
Sum_{k=1..n} a(k) ~ c * n^2, where c = (1/(2*d^2)) * Product_{p prime} (1 + 1/(p^5-p)) = 1.045911669131479732932..., where d = 0.7044422... (A065463) is the asymptotic density of the exponentially odd numbers.
The asymptotic mean of the abundancy index of the exponentially odd numbers: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k)/A268335(k) = (1/d) * Product_{p prime} (1 + 1/(p^5-p)) = 2 * c * d = 1.4735686365073812503199... .

A366440 The sum of divisors of the cubefree numbers (A004709).

Original entry on oeis.org

1, 3, 4, 7, 6, 12, 8, 13, 18, 12, 28, 14, 24, 24, 18, 39, 20, 42, 32, 36, 24, 31, 42, 56, 30, 72, 32, 48, 54, 48, 91, 38, 60, 56, 42, 96, 44, 84, 78, 72, 48, 57, 93, 72, 98, 54, 72, 80, 90, 60, 168, 62, 96, 104, 84, 144, 68, 126, 96, 144, 72, 74, 114, 124, 140
Offset: 1

Views

Author

Amiram Eldar, Oct 10 2023

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := (p^(e+1)-1)/(p-1); s[n_] := Module[{fct = FactorInteger[n]}, If[AllTrue[fct[[;;, 2]], # < 3 &], Times @@ f @@@ fct, Nothing]]; s[1] = 1; Array[s, 100]
  • PARI
    lista(max) = for(k = 1, max, my(f = factor(k), iscubefree = 1); for(i = 1, #f~, if(f[i, 2] > 2, iscubefree = 0; break)); if(iscubefree, print1(sigma(f), ", ")));
    
  • Python
    from sympy import mobius, integer_nthroot, divisor_sigma
    def A366440(n):
        def f(x): return n+x-sum(mobius(k)*(x//k**3) for k in range(1, integer_nthroot(x,3)[0]+1))
        m, k = n, f(n)
        while m != k:
            m, k = k, f(k)
        return divisor_sigma(m) # Chai Wah Wu, Aug 06 2024

Formula

a(n) = A000203(A004709(n)).
Sum_{k=1..n} a(k) ~ c * n^2, where c = 15*zeta(3)/(2*Pi^2) = A082020 * A002117 / 2 = 0.913453711751... .
The asymptotic mean of the abundancy index of the cubefree numbers: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k)/A004709(k) = 15/Pi^2 = 1.519817... (A082020).

A363169 Powerful abundant numbers: numbers that are both powerful (A001694) and abundant (A005101).

Original entry on oeis.org

36, 72, 100, 108, 144, 196, 200, 216, 288, 324, 392, 400, 432, 500, 576, 648, 784, 800, 864, 900, 968, 972, 1000, 1152, 1296, 1352, 1372, 1568, 1600, 1728, 1764, 1800, 1936, 1944, 2000, 2304, 2500, 2592, 2700, 2704, 2744, 2916, 3136, 3200, 3456, 3528, 3600, 3872, 3888, 4000
Offset: 1

Views

Author

Amiram Eldar, May 19 2023

Keywords

Comments

The least odd term is a(90) = 11025, and the least term that is coprime to 6 is 1382511906801025.
Are there two consecutive integers in this sequence? There are none below 10^22.

Examples

			36 = 2^2 * 3^2 is a term since it is powerful, and sigma(36) = 91 > 2*36 = 72.
		

Crossrefs

Intersection of A001694 and A005101.
Subsequences: A307959, A328136, A356871.

Programs

  • Mathematica
    Select[Range[4000], DivisorSigma[-1, #] > 2 && Min[FactorInteger[#][[;;, 2]]] > 1 &]
  • PARI
    is(n) = { my(f = factor(n)); n > 1 && vecmin(f[, 2]) > 1 && sigma(f, -1) > 2; }

A363194 Number of divisors of the n-th powerful number A001694(n).

Original entry on oeis.org

1, 3, 4, 3, 5, 3, 4, 6, 9, 3, 7, 12, 5, 9, 12, 3, 4, 8, 15, 3, 9, 12, 16, 9, 6, 9, 18, 3, 15, 4, 3, 12, 15, 20, 9, 9, 12, 10, 3, 21, 5, 20, 12, 9, 7, 15, 18, 3, 24, 27, 3, 12, 18, 16, 11, 9, 12, 24, 9, 9, 25, 12, 4, 12, 3, 12, 9, 9, 18, 21, 3, 28, 27, 36, 3, 15
Offset: 1

Views

Author

Amiram Eldar, May 21 2023

Keywords

Crossrefs

Similar sequences: A072048, A076400, A363195.

Programs

  • Mathematica
    DivisorSigma[0, Select[Range[3000], # == 1 || Min[FactorInteger[#][[;; , 2]]] > 1 &]]
  • PARI
    apply(numdiv, select(ispowerful, [1..3000]))
    
  • Python
    from itertools import count, islice
    from math import prod
    from sympy import factorint
    def A363194_gen(): # generator of terms
        for n in count(1):
            f = factorint(n).values()
            if all(e>1 for e in f):
                yield prod(e+1 for e in f)
    A363194_list = list(islice(A363194_gen(),20)) # Chai Wah Wu, May 21 2023

Formula

a(n) = A000005(A001694(n)).
Sum_{A001694(k) < x} a(k) = c_1 * sqrt(x) * log(x)^2 + c_2 * sqrt(x) * log(x) + c_3 * sqrt(x) + O(x^(5/12 + eps)), where c_1, c_2 and c_3 are constants. c_1 = Product_{p prime} (1 + 4/p^(3/2) - 1/p^2 - 6/p^(5/2) + 2/p^(7/2))/8 = 0.516273682988566836609... . [corrected Sep 21 2024]
a(n) = A343443(A306458(n)). - Amiram Eldar, Sep 01 2023

A362986 a(n) = A000203(A036966(n)), the sum of divisors of the n-th cubefull number A036966(n).

Original entry on oeis.org

1, 15, 31, 40, 63, 127, 121, 156, 255, 600, 364, 511, 400, 1240, 1023, 781, 1815, 1093, 2520, 2340, 2047, 3751, 1464, 5080, 5460, 4836, 4095, 3280, 2380, 2801, 7623, 6000, 3906, 6240, 10200, 11284, 9828, 8191, 5220, 11715, 15367, 12400, 16395, 9841, 7240, 20440
Offset: 1

Views

Author

Amiram Eldar, May 12 2023

Keywords

Crossrefs

Programs

  • Mathematica
    DivisorSigma[1, Select[Range[10^4], # == 1 || Min[FactorInteger[#][[;; , 2]]] > 2 &]]
  • PARI
    lista(kmax) = for(k = 1, kmax, if(k==1 || vecmin(factor(k)[, 2]) > 2, print1(sigma(k), ", ")));
    
  • Python
    from itertools import count, islice
    from math import prod
    from sympy import factorint
    def A362986_gen(): # generator of terms
        for n in count(1):
            f = factorint(n)
            if all(e>2 for e in f.values()):
                yield prod((p**(e+1)-1)//(p-1) for p,e in f.items())
    A362986_list = list(islice(A362986_gen(),20)) # Chai Wah Wu, May 21 2023

Formula

Sum_{A036966(k) < x} a(k) = c * x^(4/3) + O(x^(113/96 + eps)), where c = A362985 * A362974 / 4 = 2.8912833599... (Jakimczuk and Lalín, 2022). [corrected Sep 21 2024]
Sum_{k=1..n} a(k) ~ c * n^4, where c = A362985 / (4 * A362974^3) = 0.006135085083... .

A362984 Decimal expansion of the asymptotic mean of the abundancy index of the powerful numbers (A001694).

Original entry on oeis.org

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

Views

Author

Amiram Eldar, May 12 2023

Keywords

Comments

The abundancy index of a positive integer k is A000203(k)/k = A017665(k)/A017666(k).
The asymptotic mean of the abundancy index over all the positive integers is lim_{m->oo} (1/m) * Sum_{k=1..m} A000203(k)/k = Pi^2/6 = zeta(2) = 1.644934... (A013661).

Examples

			2.14968690301526765128219042105109416145987653275100999873...
		

Crossrefs

Similar constants (the asymptotic mean of the abundancy index of other sequences): A013661 (all positive integers), A082020 (cubefree), A111003 (odd), A157292 (5-free), A157294 (7-free), A157296 (9-free), A240976 (squares), A245058 (even), A306633 (squarefree), A362985 (cubefull).

Programs

  • Mathematica
    $MaxExtraPrecision = 1000; m = 1000; c = LinearRecurrence[{2, -3, 4, -6, 7, -7, 7, -6, 5, -3, 2, -1}, {0, 0, 0, 4, 5, 6, 0, -12, -9, -5, 0, 22}, m]; RealDigits[(2^4 + 2^2 + 2^(3/2) - 1)/(2^4 - 2)*(3^4 + 3^2 + 3^(3/2) - 1)/(3^4 - 3) * Exp[NSum[Indexed[c, n]*(PrimeZetaP[n/2] - 1/2^(n/2) - 1/3^(n/2))/n, {n, 4, m}, NSumTerms -> m, WorkingPrecision -> m]], 10, 120][[1]]
  • PARI
    prodeulerrat((p^8 + p^4 + p^3 - 1)/(p^8 - p^2), 1/2)

Formula

Equals lim_{m->oo} (1/m) * Sum_{k=1..m} A180114(k)/A001694(k).
Equals Product_{p prime} (p^4 + p^2 + p^(3/2) - 1)/(p^4 - p) = Product_{p prime} (1 + (p^2 + p^(3/2) + p - 1)/(p^4 - p)) (Jakimczuk and Lalín, 2022).

A366442 The sum of divisors of the 5-rough numbers (A007310).

Original entry on oeis.org

1, 6, 8, 12, 14, 18, 20, 24, 31, 30, 32, 48, 38, 42, 44, 48, 57, 54, 72, 60, 62, 84, 68, 72, 74, 96, 80, 84, 108, 90, 112, 120, 98, 102, 104, 108, 110, 114, 144, 144, 133, 156, 128, 132, 160, 138, 140, 168, 180, 150, 152, 192, 158, 192, 164, 168, 183, 174, 248
Offset: 1

Views

Author

Amiram Eldar, Oct 10 2023

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := DivisorSigma[1, 2*Floor[3*n/2] - 1]; Array[a, 100]
  • PARI
    a(n) = sigma((3*n)\2 << 1 - 1)
    
  • Python
    from sympy import divisor_sigma
    def A366442(n): return divisor_sigma((n+(n>>1)<<1)-1) # Chai Wah Wu, Oct 10 2023

Formula

a(n) = A000203(A007310(n)).
Sum_{k=1..n} a(k) ~ c * n^2, where c = zeta(2) = 1.644934... (A013661).
The asymptotic mean of the abundancy index of the 5-rough numbers: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k)/A007310(k) = Pi^2/9 = 1.0966227... (A100044).
In general, the asymptotic mean of the abundancy index of the prime(k)-rough numbers is zeta(2) * Product_{i=1..k-1} (1 - 1/prime(i)^2).
Showing 1-7 of 7 results.