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.

A098474 Triangle read by rows, T(n,k) = C(n,k)*C(2*k,k)/(k+1), n >= 0, 0 <= k <= n.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 1, 3, 6, 5, 1, 4, 12, 20, 14, 1, 5, 20, 50, 70, 42, 1, 6, 30, 100, 210, 252, 132, 1, 7, 42, 175, 490, 882, 924, 429, 1, 8, 56, 280, 980, 2352, 3696, 3432, 1430, 1, 9, 72, 420, 1764, 5292, 11088, 15444, 12870, 4862, 1, 10, 90, 600, 2940, 10584, 27720
Offset: 0

Views

Author

Paul Barry, Sep 09 2004

Keywords

Comments

A Catalan scaled binomial matrix.
From Philippe Deléham, Sep 01 2005: (Start)
Table U(n,k), k >= 0, n >= 0, read by antidiagonals, begins:
row k = 0: 1, 1, 2, 5, 14, ... is A000108
row k = 1: 1, 2, 6, 20, 70, ... is A000984
row k = 2: 1, 3, 12, 50, 280, ... is A007854
row k = 3: 1, 4, 20, 104, 548, ... is A076035
row k = 4: 1, 5, 30, 185, 1150, ... is A076036
G.f. for row k: 1/(1-(k+1)*x*C(x)) where C(x) is the g.f. = for Catalan numbers A000108.
U(n,k) = Sum_{j=0..n} A106566(n,j)*(k+1)^j. (End)
This sequence gives the coefficients (increasing powers of x) of the Jensen polynomials for the Catalan sequence A000108 of degree n and shift 0. For the definition of Jensen polynomials for a sequence see a comment in A094436. - Wolfdieter Lang, Jun 25 2019

Examples

			Rows begin:
  1;
  1, 1;
  1, 2,  2;
  1, 3,  6,   5;
  1, 4, 12,  20,  14;
  1, 5, 20,  50,  70,  42;
  1, 6, 30, 100, 210, 252, 132;
  ...
Row 3: t*(1 - 3*t + 6*t^2 - 5*t^3)/(1 - 4*t)^(9/2) = 1/2*Sum_{k >= 1} k*(k+1)*(k+2)*(k+3)/4!*binomial(2*k,k)*t^k. - _Peter Bala_, Jun 13 2016
		

Crossrefs

Row sums are A007317.
Antidiagonal sums are A090344.
Principal diagonal is A000108.
Mirror image of A124644.

Programs

  • Maple
    p := proc(n) option remember; if n = 0 then 1 else normal((x*(1 + 4*x)*diff(p(n-1, x), x) + (2*x + n + 1)*p(n-1, x))/(n + 1)) fi end:
    row := n -> local k; seq(coeff(p(n), x, k), k = 0..n):
    for n from 0 to 6 do row(n) od;  # Peter Luschny, Jun 21 2023
  • Mathematica
    Table[Binomial[n, k] Binomial[2 k, k]/(k + 1), {n, 0, 10}, {k, 0, n}] // Flatten (* or *)
    Table[(-1)^k*CatalanNumber[k] Pochhammer[-n, k]/k!, {n, 0, 10}, {k, 0, n}] // Flatten (* Michael De Vlieger, Feb 17 2017 *)
  • Python
    from functools import cache
    @cache
    def A098474row(n: int) -> list[int]:
        if n == 0: return [1]
        a = A098474row(n - 1) + [0]
        row = [0] * (n + 1)
        row[0] = 1; row[1] = n
        for k in range(2, n + 1):
            row[k] = (a[k] * (n + k + 1) + a[k - 1] * (4 * k - 2)) // (n + 1)
        return row  # Peter Luschny, Jun 22 2023
  • Sage
    def A098474(n,k):
        return (-1)^k*catalan_number(k)*rising_factorial(-n,k)/factorial(k)
    for n in range(7): [A098474(n,k) for k in (0..n)] # Peter Luschny, Feb 05 2015
    

Formula

G.f.: 2/(1-x+(1-x-4*x*y)^(1/2)). - Vladeta Jovovic, Sep 11 2004
E.g.f.: exp(x*(1+2*y))*(BesselI(0, 2*x*y)-BesselI(1, 2*x*y)). - Vladeta Jovovic, Sep 11 2004
G.f.: 1/(1-x-xy/(1-xy/(1-x-xy/(1-xy/(1-x-xy/(1-xy/(1-x-xy/(1-xy/(1-... (continued fraction). - Paul Barry, Feb 11 2009
Sum_{k=0..n} T(n,k)*x^(n-k) = A126930(n), A005043(n), A000108(n), A007317(n+1), A064613(n), A104455(n) for x = -2, -1, 0, 1, 2, 3 respectively. - Philippe Deléham, Dec 12 2009
T(n,k) = (-1)^k*Catalan(k)*Pochhammer(-n,k)/k!. - Peter Luschny, Feb 05 2015
O.g.f.: [1 - sqrt(1-4tx/(1-x))]/(2tx) = 1 + (1+t) x + (1+2t+2t^2) x^2 + (1+3t+6t^2+5t^3) x^3 + ... , generating the polynomials of this entry, reverse of A124644. See A011973 for a derivation and the inverse o.g.f., connected to the Fibonacci, Chebyshev, and Motzkin polynomials. See also A267633. - Tom Copeland, Jan 25 2016
From Peter Bala, Jun 13 2016: (Start)
The o.g.f. F(x,t) = ( 1 - sqrt(1 - 4*t*x/(1 - x)) )/(2*t*x) satisfies the partial differential equation d/dx(x*(1 - x)*F) - x*t*(1 + 4*t)*dF/dt - 2*x*t*F = 1. This gives a recurrence for the row polynomials: (n + 2)*R(n+1,t) = t*(1 + 4*t)*R'(n,t) + (2*t + n + 2)*R(n,t), where the prime ' indicates differentiation with respect to t.
Equivalently, setting Q(n,t) = t^(n+2)*R(n,-t)/(1 - 4*t)^(n + 3/2) we have t^2*d/dt(Q(n,t)) = (n + 2)*Q(n+1,t).
This leads to the following expansions:
Q(0,t) = (1/2)*Sum_{k >= 1} k*binomial(2*k,k)*t^(k+1)
Q(1,t) = (1/2)*Sum_{k >= 1} k*(k+1)/2!*binomial(2*k,k)*t^(k+2)
Q(2,t) = (1/2)*Sum_{k >= 1} k*(k+1)*(k+2)/3!*binomial(2*k,k) *t^(k+3) and so on. (End)
Sum_{k=0..n} T(n,k)*x^k = A007317(n+1), A162326(n+1), A337167(n) for x = 1, 2, 3 respectively. - Sergii Voloshyn, Mar 31 2022

Extensions

New name using a formula of Paul Barry by Peter Luschny, Feb 05 2015

A338979 a(n) = Sum_{k=0..n} n^k * binomial(n,k) * Catalan(k).

Original entry on oeis.org

1, 2, 13, 199, 5073, 181776, 8413021, 478070020, 32238960193, 2517734880838, 223558608409101, 22248413487603887, 2453271411779452369, 296925818848604834448, 39138393489232585787037, 5581250331202285217569351, 856182695406472437496803585, 140595282922234695782098680030
Offset: 0

Views

Author

Seiichi Manyama, Jan 31 2021

Keywords

Crossrefs

Programs

  • Maple
    a := n -> hypergeom([1/2, -n], [2], -4*n):
    seq(simplify(a(n)), n = 0..17);  # Peter Luschny, Aug 27 2025
  • Mathematica
    A338979[n_] :=  Sum[n^k*Binomial[n, k]*(2*k)!/(k!*(k + 1)!), {k, 0, n}];
    Join[{1}, Table[A338979[n], {n, 1, 17}]] (* Robert P. P. McKone, Jan 31 2021 *)
    A338979[n_] := Hypergeometric2F1[1/2, -n, 2, -4*n]; Table[A338979[n], {n, 0, 17}]  (* Peter Luschny, Aug 27 2025 *)
  • PARI
    {a(n) = sum(k=0, n, n^k*binomial(n, k)*(2*k)!/(k!*(k+1)!))}

Formula

a(n) = n! * [x^n] exp((2*n+1)*x) * (BesselI(0,2*n*x) - BesselI(1,2*n*x)). - Ilya Gutkovskiy, Feb 02 2021
a(n) ~ exp(1/4) * 4^n * n^(n - 3/2) / sqrt(Pi). - Vaclav Kotesovec, Feb 14 2021
a(n) = hypergeom([1/2, -n], [2], -4*n). - Peter Luschny, Aug 27 2025

A349254 G.f. A(x) satisfies A(x) = 1 / ((1 - x) * (1 - 3 * x * A(x)^2)).

Original entry on oeis.org

1, 4, 37, 478, 7159, 116497, 2000386, 35671756, 654218641, 12261271942, 233798163646, 4521194100541, 88458184054882, 1747850650032532, 34828329987024058, 699083528482636228, 14121906499195594537, 286877562430915732546, 5856866441794110926809
Offset: 0

Views

Author

Ilya Gutkovskiy, Nov 12 2021

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 18; A[] = 0; Do[A[x] = 1/((1 - x) (1 - 3 x A[x]^2)) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
    a[n_] := a[n] = 1 + 3 Sum[Sum[a[i] a[j] a[n - i - j - 1], {j, 0, n - i - 1}], {i, 0, n - 1}]; Table[a[n], {n, 0, 18}]
    Table[Sum[Binomial[n + k, n - k] 3^k Binomial[3 k, k]/(2 k + 1), {k, 0, n}], {n, 0, 18}]
    a[n_] := HypergeometricPFQ[{1/3, 2/3, -n, n + 1}, {1/2, 1, 3/2}, -81/16];
    Table[a[n], {n, 0, 18}] (* Peter Luschny, Nov 12 2021 *)

Formula

a(n) = 1 + 3 * Sum_{i=0..n-1} Sum_{j=0..n-i-1} a(i) * a(j) * a(n-i-j-1).
a(n) = Sum_{k=0..n} binomial(n+k,n-k) * 3^k * binomial(3*k,k) / (2*k+1).
a(n) = hypergeom([1/3, 2/3, -n, n + 1], [1/2, 1, 3/2], -(3/2)^4). - Peter Luschny, Nov 12 2021
a(n) ~ sqrt(873 + 89*sqrt(97)) * (89 + 9*sqrt(97))^n / (3^(5/2) * sqrt(Pi) * n^(3/2) * 2^(3*n + 5/2)). - Vaclav Kotesovec, Nov 13 2021

A337169 a(n) = (-1)^n + 3 * Sum_{k=0..n-1} a(k) * a(n-k-1).

Original entry on oeis.org

1, 2, 13, 89, 691, 5720, 49555, 443630, 4071595, 38105342, 362271823, 3488988101, 33967656469, 333752559392, 3305347855573, 32960499084305, 330664662067795, 3335002912108670, 33796042027030855, 343940115478559699, 3513702627928096681, 36021007341027948032
Offset: 0

Views

Author

Ilya Gutkovskiy, Jan 28 2021

Keywords

Comments

Inverse binomial transform of A005159.

Crossrefs

Programs

  • Mathematica
    a[n_] := a[n] = (-1)^n + 3 Sum[a[k] a[n - k - 1], {k, 0, n - 1}]; Table[a[n], {n, 0, 21}]
    Table[Sum[(-1)^(n - k) Binomial[n, k] 3^k CatalanNumber[k], {k, 0, n}], {n, 0, 21}]
    Table[(-1)^n Hypergeometric2F1[1/2, -n, 2, 12], {n, 0, 21}]

Formula

G.f. A(x) satisfies: A(x) = 1 / (1 + x) + 3*x*A(x)^2.
G.f.: (1 - sqrt(1 - 12*x / (1 + x))) / (6*x).
E.g.f.: exp(5*x) * (BesselI(0,6*x) - BesselI(1,6*x)).
a(n) = Sum_{k=0..n} (-1)^(n-k) * binomial(n,k) * 3^k * Catalan(k).
a(n) ~ 11^(n + 3/2) / (8 * 3^(3/2) * sqrt(Pi) * n^(3/2)). - Vaclav Kotesovec, Nov 13 2021

A340968 Square array T(n,k), n >= 0, k >= 0, read by antidiagonals, where T(n,k) = Sum_{j=0..n} k^j*binomial(n,j)*Catalan(j).

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 3, 5, 1, 1, 4, 13, 15, 1, 1, 5, 25, 71, 51, 1, 1, 6, 41, 199, 441, 188, 1, 1, 7, 61, 429, 1795, 2955, 731, 1, 1, 8, 85, 791, 5073, 17422, 20805, 2950, 1, 1, 9, 113, 1315, 11571, 64469, 177463, 151695, 12235, 1
Offset: 0

Views

Author

Seiichi Manyama, Jan 31 2021

Keywords

Examples

			Square array begins:
  1,   1,    1,     1,     1,      1, ...
  1,   2,    3,     4,     5,      6, ...
  1,   5,   13,    25,    41,     61, ...
  1,  15,   71,   199,   429,    791, ...
  1,  51,  441,  1795,  5073,  11571, ...
  1, 188, 2955, 17422, 64469, 181776, ...
		

Crossrefs

Columns k=0..4 give A000012, A007317(n+1), A162326(n+1), A337167, A386387.
Main diagonal gives A338979.

Programs

  • Maple
    T_row := n -> k -> hypergeom([1/2, -n], [2], -4*k): for n from 0 to 6 do seq(simplify(T_row(n)(k)), k = 0..6) od; # Peter Luschny, Aug 27 2025
  • Mathematica
    T[n_, k_] := Sum[If[j == k == 0, 1, k^j] * Binomial[n, j] * CatalanNumber[j], {j, 0, n}]; Table[T[k, n - k], {n, 0, 9}, {k, 0, n}] // Flatten (* Amiram Eldar, Feb 01 2021 *)
    A340968[n_, k_] := Hypergeometric2F1[1/2, -n, 2, -4*k]; Table[A340968[n, k], {n, 0, 6}, {k, 0, 7}] (* row-wise *) (* Peter Luschny, Aug 27 2025 *)
  • PARI
    T(n, k) = sum(j=0, n, k^j*binomial(n, j)*(2*j)!/(j!*(j+1)!));
    
  • PARI
    T(n, k) = 1+k*sum(j=0, n-1, T(j, k)*T(n-1-j, k));

Formula

G.f. A_k(x) of column k satisfies A_k(x) = 1/(1 - x) + k*x*A_k(x)^2.
A_k(x) = 2/( 1 - x + sqrt((1 - x) * (1 - (4*k+1)*x)) ).
T(n,k) = 1 + k * Sum_{j=0..n-1} T(j,k) * T(n-1-j,k).
(n+1) * T(n,k) = 2 * ((2*k+1) * n - k) * T(n-1,k) - (4*k+1) * (n-1) * T(n-2,k) for n > 1.
E.g.f. of column k: exp((2*k+1)*x) * (BesselI(0,2*k*x) - BesselI(1,2*k*x)). - Ilya Gutkovskiy, Feb 01 2021
T_row(n) = k -> hypergeom([1/2, -n], [2], -4*k). - Peter Luschny, Aug 27 2025

A340973 Generating function Sum_{n >= 0} a(n)*x^n = 1/sqrt((1-x)*(1-13*x)).

Original entry on oeis.org

1, 7, 67, 721, 8179, 95557, 1137709, 13725439, 167204947, 2052215893, 25338173497, 314356676179, 3915672171229, 48938691421627, 613404577267843, 7707619156442401, 97058716523798227, 1224551690144551237
Offset: 0

Views

Author

Seiichi Manyama, Feb 01 2021

Keywords

Crossrefs

Column k=3 of A340970.

Programs

  • Mathematica
    a[n_] := Sum[3^k * Binomial[n, k] * Binomial[2*k, k], {k, 0, n}]; Array[a, 18, 0] (* Amiram Eldar, Feb 01 2021 *)
    nxt[{n_,a_,b_}]:={n+1,b,(7*b(2n+1)-13*n*a)/(n+1)}; Join[{1},NestList[nxt,{2,7,67},20] [[All,2]]] (* Harvey P. Dale, Apr 27 2022 *)
  • PARI
    my(N=20, x='x+O('x^N)); Vec(1/sqrt((1-x)*(1-13*x)))
    
  • PARI
    a(n) = sum(k=0, n, 3^k*binomial(n, k)*binomial(2*k, k));
    
  • PARI
    a(n) = polcoef((1+7*x+9*x^2)^n, n);

Formula

a(n) = Sum_{k=0..n} 3^k * binomial(n,k) * binomial(2*k,k).
a(n) = [x^n] (1+7*x+9*x^2)^n.
n * a(n) = 7 * (2*n-1) * a(n-1) - 13 * (n-1) * a(n-2) for n > 1.
E.g.f.: exp(7*x) * BesselI(0,6*x). - Ilya Gutkovskiy, Feb 01 2021
a(n) ~ 13^(n + 1/2) / (2 * sqrt(3*Pi*n)). - Vaclav Kotesovec, Nov 13 2021
From Seiichi Manyama, Aug 19 2025: (Start)
a(n) = (1/4)^n * Sum_{k=0..n} 13^k * binomial(2*k,k) * binomial(2*(n-k),n-k).
a(n) = Sum_{k=0..n} (-3)^k * 13^(n-k) * binomial(n,k) * binomial(2*k,k). (End)

A386362 Expansion of (1/x) * Series_Reversion( x/(1+7*x+9*x^2) ).

Original entry on oeis.org

1, 7, 58, 532, 5209, 53347, 564499, 6123481, 67732483, 761052565, 8662502212, 99671232514, 1157409133831, 13546774268125, 159649564550746, 1892849564159596, 22562032457415067, 270209749616920813, 3249905798884688038, 39237866746912398292, 475388228365424562019
Offset: 0

Views

Author

Seiichi Manyama, Aug 20 2025

Keywords

Crossrefs

Column k=3 of A386408.

Programs

  • PARI
    my(N=30, x='x+O('x^N)); Vec(serreverse(x/(1+7*x+9*x^2))/x)

Formula

G.f.: 2/(1 - 7*x + sqrt((1-x) * (1-13*x))).
a(n) = (A337167(n+1) - A337167(n))/3.
(n+2)*a(n) = 7*(2*n+1)*a(n-1) - 13*(n-1)*a(n-2) for n > 1.
a(n) = Sum_{k=0..floor(n/2)} 9^k * 7^(n-2*k) * binomial(n,2*k) * Catalan(k).
a(n) = Sum_{k=0..n} 3^k * binomial(n,k) * Catalan(k+1).
Showing 1-7 of 7 results.