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.

A257673 Triangle T(n,k), n>=0, 0<=k<=n, read by rows: row n is the inverse binomial transform of the n-th row of array A255961, which has the Euler transform of (j->j*k) in column k.

Original entry on oeis.org

1, 0, 1, 0, 3, 1, 0, 6, 6, 1, 0, 13, 21, 9, 1, 0, 24, 62, 45, 12, 1, 0, 48, 162, 174, 78, 15, 1, 0, 86, 396, 576, 376, 120, 18, 1, 0, 160, 917, 1719, 1509, 695, 171, 21, 1, 0, 282, 2036, 4761, 5340, 3285, 1158, 231, 24, 1, 0, 500, 4380, 12441, 17234, 13473, 6309, 1792, 300, 27, 1
Offset: 0

Views

Author

Alois P. Heinz, May 03 2015

Keywords

Comments

T is the convolution triangle of the number of plane partitions (A000219). - Peter Luschny, Oct 19 2022

Examples

			Triangle T(n,k) begins:
  1;
  0,   1;
  0,   3,    1;
  0,   6,    6,    1;
  0,  13,   21,    9,    1;
  0,  24,   62,   45,   12,    1;
  0,  48,  162,  174,   78,   15,    1;
  0,  86,  396,  576,  376,  120,   18,   1;
  0, 160,  917, 1719, 1509,  695,  171,  21,  1;
  0, 282, 2036, 4761, 5340, 3285, 1158, 231, 24, 1;
  ...
		

Crossrefs

Columns k=0-10 give: A000007, A000219 (for n>0), A321947, A321948, A321949, A321950, A321951, A321952, A321953, A321954, A321955.
Main diagonal and lower diagonals give: A000012, A008585, A081266.
Row sums give A257674.
T(2n,n) give A257675.
Cf. A255961.

Programs

  • Maple
    A:= proc(n, k) option remember; `if`(n=0, 1, k*add(
          A(n-j, k)*numtheory[sigma][2](j), j=1..n)/n)
        end:
    T:= (n, k)-> add(A(n, k-i)*(-1)^i*binomial(k, i), i=0..k):
    seq(seq(T(n, k), k=0..n), n=0..12);
    # Uses function PMatrix from A357368.
    PMatrix(10, A000219); # Peter Luschny, Oct 19 2022
  • Mathematica
    A[n_, k_] := A[n, k] = If[n==0, 1, k*Sum[A[n-j, k]*DivisorSigma[2, j], {j, 1, n}]/n];
    T[n_, k_] := Sum[A[n, k-i]*(-1)^i*Binomial[k, i], {i, 0, k}];
    Table[T[n, k], {n, 0, 12}, {k, 0, n}] // Flatten (* Jean-François Alcover, Mar 21 2017, translated from Maple *)

Formula

T(n,k) = Sum_{i=0..k} (-1)^i * C(k,i) * A255961(n,k-i).
G.f. of column k: (-1 + Product_{j>=1} 1 / (1 - x^j)^j)^k.

A307062 Expansion of 1/(2 - Product_{k>=1} (1 + x^k)^k).

Original entry on oeis.org

1, 1, 3, 10, 29, 88, 264, 790, 2366, 7086, 21216, 63523, 190201, 569485, 1705121, 5105383, 15286247, 45769238, 137039743, 410316854, 1228548190, 3678451550, 11013817655, 32976968175, 98737827756, 295635383297, 885175234817, 2650343093602, 7935511791620, 23760073760720, 71141108467679
Offset: 0

Views

Author

Ilya Gutkovskiy, Mar 21 2019

Keywords

Comments

Invert transform of A026007.
a(n) is the number of compositions of n where there are A026007(k) sorts of part k. - Joerg Arndt, Jan 24 2024

Crossrefs

Programs

  • Magma
    m:=80;
    R:=PowerSeriesRing(Integers(), m);
    Coefficients(R!( 1/(2 - (&*[(1+x^j)^j: j in [1..m+2]])) )); // G. C. Greubel, Jan 24 2024
    
  • Maple
    b:= proc(n) b(n):= add((-1)^(n/d+1)*d^2, d=numtheory[divisors](n)) end:
    g:= proc(n) g(n):= `if`(n=0, 1, add(b(k)*g(n-k), k=1..n)/n) end:
    a:= proc(n) a(n):= `if`(n=0, 1, add(g(k)*a(n-k), k=1..n)) end:
    seq(a(n), n=0..45);  # Alois P. Heinz, Jan 24 2024
  • Mathematica
    nmax = 30; CoefficientList[Series[1/(2 - Product[(1 + x^k)^k, {k, 1, nmax}]), {x, 0, nmax}], x]
  • SageMath
    m=80;
    def f(x): return 1/( 2 - product((1+x^j)^j for j in range(1,m+3)) )
    def A307062_list(prec):
        P. = PowerSeriesRing(QQ, prec)
        return P( f(x) ).list()
    A307062_list(m) # G. C. Greubel, Jan 24 2024

Formula

a(0) = 1; a(n) = Sum_{k=1..n} A026007(k)*a(n-k).

A320652 Expansion of 1/(2 - Product_{k>=1} 1/(1 - k*x^k)).

Original entry on oeis.org

1, 1, 4, 13, 45, 147, 497, 1643, 5490, 18252, 60812, 202364, 673915, 2243295, 7468973, 24865272, 82783967, 275605513, 917563193, 3054785032, 10170143277, 33858882922, 112724577088, 375287739083, 1249425198725, 4159643200494, 13848474406054, 46104972636634, 153494780854254
Offset: 0

Views

Author

Ilya Gutkovskiy, Oct 18 2018

Keywords

Comments

Invert transform of A006906.

Crossrefs

Programs

  • Maple
    a:=series(1/(2-mul(1/(1-k*x^k),k=1..100)),x=0,29): seq(coeff(a,x,n),n=0..28); # Paolo P. Lava, Apr 02 2019
  • Mathematica
    nmax = 28; CoefficientList[Series[1/(2 - Product[1/(1 - k x^k), {k, 1, nmax}]), {x, 0, nmax}], x]
    nmax = 28; CoefficientList[Series[1/(1 - Sum[k x^k/Product[(1 - j x^j), {j, 1, k}], {k, 1, nmax}]), {x, 0, nmax}], x]
    a[0] = 1; a[n_] := a[n] = Sum[Total[Times@@@IntegerPartitions[k]] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 28}]

Formula

G.f.: 1/(1 - Sum_{k>=1} k*x^k / Product_{j=1..k} (1 - j*x^j)).
a(0) = 1; a(n) = Sum_{k=1..n} A006906(k)*a(n-k).
Showing 1-3 of 3 results.