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

A319083 Coefficients of polynomials related to the D'Arcais polynomials and Dedekind's eta(q) function, triangle read by rows, T(n,k) for 0 <= k <= n.

Original entry on oeis.org

1, 0, 1, 0, 3, 1, 0, 4, 6, 1, 0, 7, 17, 9, 1, 0, 6, 38, 39, 12, 1, 0, 12, 70, 120, 70, 15, 1, 0, 8, 116, 300, 280, 110, 18, 1, 0, 15, 185, 645, 885, 545, 159, 21, 1, 0, 13, 258, 1261, 2364, 2095, 942, 217, 24, 1, 0, 18, 384, 2262, 5586, 6713, 4281, 1498, 284, 27, 1
Offset: 0

Views

Author

Peter Luschny, Oct 03 2018

Keywords

Comments

Column k is the k-fold self-convolution of sigma (A000203). - Alois P. Heinz, Feb 01 2021
For fixed k, Sum_{j=1..n} T(j,k) ~ Pi^(2*k) * n^(2*k) / (6^k * (2*k)!). - Vaclav Kotesovec, Sep 20 2024

Examples

			Triangle starts:
[0] 1;
[1] 0,  1;
[2] 0,  3,   1;
[3] 0,  4,   6,    1;
[4] 0,  7,  17,    9,    1;
[5] 0,  6,  38,   39,   12,    1;
[6] 0, 12,  70,  120,   70,   15,   1;
[7] 0,  8, 116,  300,  280,  110,  18,   1;
[8] 0, 15, 185,  645,  885,  545, 159,  21,  1;
[9] 0, 13, 258, 1261, 2364, 2095, 942, 217, 24, 1;
		

Crossrefs

Columns k=0..6 give: A000007, A000203, A000385, A374951, A374977, A374978, A374979.
Row sums are A180305.
T(2n,n) gives A340993.

Programs

  • Maple
    P := proc(n, x) option remember; if n = 0 then 1 else
    x*add(numtheory:-sigma(n-k)*P(k,x), k=0..n-1) fi end:
    Trow := n -> seq(coeff(P(n, x), x, k), k=0..n):
    seq(Trow(n), n=0..9);
    # second Maple program:
    T:= proc(n, k) option remember; `if`(k=0, `if`(n=0, 1, 0),
          `if`(k=1, `if`(n=0, 0, numtheory[sigma](n)), (q->
           add(T(j, q)*T(n-j, k-q), j=0..n))(iquo(k, 2))))
        end:
    seq(seq(T(n, k), k=0..n), n=0..10);  # Alois P. Heinz, Feb 01 2021
    # Uses function PMatrix from A357368.
    PMatrix(10, NumberTheory:-sigma); # Peter Luschny, Oct 19 2022
  • Mathematica
    T[n_, k_] := T[n, k] = If[k == 0, If[n == 0, 1, 0],
         If[k == 1, If[n == 0, 0, DivisorSigma[1, n]],
         With[{q = Quotient[k, 2]}, Sum[T[j, q]*T[n-j, k-q], {j, 0, n}]]]];
    Table[Table[T[n, k], {k, 0, n}], {n, 0, 10}] // Flatten (* Jean-François Alcover, Feb 11 2021, after Alois P. Heinz *)

Formula

The polynomials are defined by recurrence: p(0,x) = 1 and for n > 0 by
p(n, x) = x*Sum_{k=0..n-1} sigma(n-k)*p(k, x).
Sum_{k=0..n} (-1)^k * T(n,k) = A283334(n). - Alois P. Heinz, Feb 07 2025

A374978 a(n) = Sum_{i+j+k+l+m=n, i,j,k,l,m >= 1} sigma(i)*sigma(j)*sigma(k)*sigma(l)*sigma(m).

Original entry on oeis.org

0, 0, 0, 0, 1, 15, 110, 545, 2095, 6713, 18750, 47040, 108185, 231640, 467034, 894605, 1639680, 2891475, 4929660, 8155182, 13135080, 20651875, 31770970, 47923680, 70989801, 103454645, 148464520, 210155730, 293558265, 405325092, 553175000, 747508125, 999747750
Offset: 1

Views

Author

Chai Wah Wu, Jul 26 2024

Keywords

Comments

5-fold convolution of A000203.
Convolution of A000203 and A374977.

Crossrefs

Programs

  • Maple
    b:= proc(n, k) option remember; `if`(k=0, `if`(n=0, 1, 0),
          `if`(k=1, `if`(n=0, 0, numtheory[sigma](n)), (q->
           add(b(j, q)*b(n-j, k-q), j=0..n))(iquo(k, 2))))
        end:
    a:= n-> b(n, 5):
    seq(a(n), n=1..55);  # Alois P. Heinz, Jul 26 2024
  • Mathematica
    b[n_, k_] := b[n, k] = If[k == 0, If[n == 0, 1, 0], If[k == 1, If[n == 0, 0, DivisorSigma[1, n]], Function[q, Sum[b[j, q]*b[n - j, k - q], {j, 0, n}]][Quotient[k, 2]]]];
    a[n_] := b[n, 5];
    Table[a[n], {n, 1, 55}] (* Jean-François Alcover, Jul 11 2025, after Alois P. Heinz *)
  • Python
    from sympy import divisor_sigma
    def A374978(n): return sum(divisor_sigma(j)*sum((5*divisor_sigma(i+1,3)-(5+6*i)*divisor_sigma(i+1))*(5*divisor_sigma(n-j-i-1,3)-(5+6*(n-j-i-2))*divisor_sigma(n-j-i-1)) for i in range(1,n-j-2)) for j in range(1,n))//144

Formula

a(n) = Sum_{i=1..n-1} A000203(i)*A374977(n-i).
a(n) = Sum_{i=1..n-2} A000385(i)*A374951(n-i-1).
Column k=5 of A319083.
Sum_{k=1..n} a(k) ~ Pi^10 * n^10 / 28217548800. - Vaclav Kotesovec, Sep 20 2024

A374979 a(n) = Sum_{i+j+k+l+m+r=n, i,j,k,l,m,r >= 1} sigma(i)*sigma(j)*sigma(k)*sigma(l)*sigma(m)*sigma(r).

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 18, 159, 942, 4281, 16050, 51932, 149532, 391524, 947246, 2143677, 4581204, 9316195, 18138636, 33984912, 61534652, 108055425, 184582014, 307515038, 500798058, 798762453, 1249917936, 1921788036, 2907159804, 4332046200, 6365441400, 9232216725
Offset: 1

Views

Author

Chai Wah Wu, Jul 26 2024

Keywords

Comments

6-fold convolution of A000203.
Convolution of A000203 and A374978.
a(n) = Sum_{i=1..n-1} A000203(i)*A374978(n-i).
a(n) = Sum_{i=1..n-2} A000385(i)*A374977(n-i-1).
a(n) = Sum_{i=1..n-1} A374951(i)*A374951(n-i).
a(n) = Sum_{i+j+k=n-3, i,j,k>=1} A000385(i)*A000385(j)*A000385(k).
Column k=6 of A319083.
In general, if the sequence "a" is a k-fold convolution of A000203, then Sum_{k=1..n} a(k) ~ Pi^(2*k) * n^(2*k) / (6^k * (2*k)!). - Vaclav Kotesovec, Sep 20 2024

Crossrefs

Programs

  • Maple
    b:= proc(n, k) option remember; `if`(k=0, `if`(n=0, 1, 0),
          `if`(k=1, `if`(n=0, 0, numtheory[sigma](n)), (q->
           add(b(j, q)*b(n-j, k-q), j=0..n))(iquo(k, 2))))
        end:
    a:= n-> b(n, 6):
    seq(a(n), n=1..55);  # Alois P. Heinz, Jul 26 2024
  • Python
    from functools import lru_cache
    from sympy import divisor_sigma
    def A374979(n):
        @lru_cache(maxsize=None)
        def g(x):
            f = factorint(x+1).items()
            return(5*prod((p**(3*(e+1))-1)//(p**3-1) for p,e in f)-(5+6*x)*prod((p**(e+1)-1)//(p-1) for p, e in f))//12
        return sum(g(i)*g(j)*g(n-3-i-j) for i in range(1,n-4) for j in range(1,n-i-3))

Formula

Sum_{k=1..n} a(k) ~ Pi^12 * n^12 / 22348298649600. - Vaclav Kotesovec, Sep 20 2024
Showing 1-3 of 3 results.