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.

A045721 a(n) = binomial(3*n+1,n).

Original entry on oeis.org

1, 4, 21, 120, 715, 4368, 27132, 170544, 1081575, 6906900, 44352165, 286097760, 1852482996, 12033222880, 78378960360, 511738760544, 3348108992991, 21945588357420, 144079707346575, 947309492837400, 6236646703759395
Offset: 0

Views

Author

Keywords

Comments

Number of leaves in all noncrossing rooted trees on n nodes on a circle.
Number of standard tableaux of shape (n-1,1^(2n-3)). - Emeric Deutsch, May 25 2004
a(n) = number of Dyck (2n-3)-paths with exactly one descent of odd length. For example, a(3) counts all 5 Dyck 3-paths except UDUDUD. - David Callan, Jul 25 2005
a(n+2) gives row sums of A119301. - Paul Barry, May 13 2006
a(n) is the number of paths avoiding UU from (0,0) to (3n,n) and taking steps from {U,H}. - Shanzhen Gao, Apr 15 2010
Central coefficients of triangle A078812. - Vladimir Kruchinin, May 10 2012
Row sums of A252501. - L. Edson Jeffery, Dec 18 2014

Crossrefs

Programs

Formula

a(n) is asymptotic to c/sqrt(n)*(27/4)^n with c=0.73... - Benoit Cloitre, Jan 27 2003
G.f.: gz^2/(1-3zg^2), where g=g(z) is given by g=1+zg^3, g(0)=1, i.e. (in Maple command) g := 2*sin(arcsin(3*sqrt(3*z)/2)/3)/sqrt(3*z). - Emeric Deutsch, May 22 2003
a(n+2) = C(3n+1,n) = Sum_{k=0..n} C(3n-k,n-k). - Paul Barry, May 13 2006
a(n+2) = C(3n+1,2n+1) = A078812(2n,n). - Paul Barry, Nov 09 2006
G.f.: A(x)=(2*cos(asin((3^(3/2)*sqrt(x))/2)/3)* sin(asin((3^(3/2)* sqrt(x))/2)/3))/(sqrt(3)*sqrt(1-(27*x)/4)*sqrt(x)). - Vladimir Kruchinin, Jun 10 2012
From Peter Luschny, Sep 04 2012: (Start)
O.g.f.: hypergeometric2F1([2/3, 4/3], [3/2], x*27/4).
a(n) = (n+1)*hypergeometric2F1([-2*n, -n], [2], 1). (End)
D-finite with recurrence 2*n*(2*n+1)*a(n) - 3*(3*n-1)*(3*n+1)*a(n-1) = 0. - R. J. Mathar, Feb 05 2013
a(n) = Sum_{r=0..n} C(n,r) * C(2*n+1,r). - J. M. Bergot, Mar 18 2014
From Peter Bala, Nov 04 2015: (Start)
a(n) = Sum_{k = 0..n} 1/(2*k + 1)*binomial(3*n - 3*k,n - k)*binomial(3*k, k).
O.g.f. equals f(x)*g(x), where f(x) is the o.g.f. for A005809 and g(x) is the o.g.f. for A001764. More generally, f(x)*g(x)^k is the o.g.f. for the sequence binomial(3*n + k,n). Cf. A025174 (k = 2), A004319 (k = 3), A236194 (k = 4), A013698 (k = 5), A165817 (k = -1), A117671 (k = -2). (End)
a(n) = [x^n] 1/(1 - x)^(2*(n+1)). - Ilya Gutkovskiy, Oct 10 2017
O.g.f.: (i/24)*((4*sqrt(4 - 27*z) + 12*i*sqrt(3)*sqrt(z))^(2/3) - (4*sqrt(4 - 27*z) - 12*i*sqrt(3)*sqrt(z))^(2/3))*sqrt(3)*8^(1/3)*sqrt(4 - 27*z)/(sqrt(z)*(-4 + 27*z)), where i = sqrt(-1). - Karol A. Penson, Dec 13 2023
a(n-1) = (1/(4*n))*binomial(2*n, n)^2 * (1 - 3*((n - 1)/(n + 1))^3 + 5*((n - 1)*(n - 2)/((n + 1)*(n + 2)))^3 - 7*((n - 1)*(n - 2)*(n - 3)/((n + 1)*(n + 2)*(n + 3)))^3 + - ...) for n >= 1. Cf. A112029. - Peter Bala, Aug 08 2024

Extensions

Simpler definition from Ira M. Gessel, May 26 2007. This change means that most of the offsets in the comments will now need to be changed too.

A264772 Triangle T(n,k) = binomial(3*n - 2*k, 2*n - k), 0 <= k <= n.

Original entry on oeis.org

1, 3, 1, 15, 4, 1, 84, 21, 5, 1, 495, 120, 28, 6, 1, 3003, 715, 165, 36, 7, 1, 18564, 4368, 1001, 220, 45, 8, 1, 116280, 27132, 6188, 1365, 286, 55, 9, 1, 735471, 170544, 38760, 8568, 1820, 364, 66, 10, 1, 4686825, 1081575, 245157, 54264, 11628, 2380, 455, 78, 11, 1
Offset: 0

Views

Author

Peter Bala, Nov 24 2015

Keywords

Comments

Riordan array (f(x), x*g(x)), where g(x) = 1 + x + 3*x^2 + 12*x^3 + 55*x^4 + ... is the o.g.f. for A001764 and f(x) = g(x)/(3 - 2*g(x)) = 1 + 3*x + 15*x^2 + 84*x^3 + 495*x^4 + ... is the o.g.f. for A005809.
The even numbered columns give the Riordan array A119301, the odd numbered columns give the Riordan array A144484. A159841 is the array formed from columns 1,4,7,10,....
More generally, if R = (R(n,k))n,k>=0 is a proper Riordan array, m is a nonnegative integer and a > b are integers then the array with (n,k)-th element R((m + 1)*n - a*k, m*n - b*k) is also a Riordan array (not necessarily proper). Here we take R as Pascal's triangle and m = a = 2, b = 1. See A092392, A264773, A264774 and A113139 for further examples.

Examples

			Triangle begins
.n\k.|......0.....1....2....3...4..5...6..7...
----------------------------------------------
..0..|      1
..1..|      3     1
..2..|     15     4    1
..3..|     84    21    5    1
..4..|    495   120   28    6   1
..5..|   3003   715  165   36   7  1
..6..|  18564  4368 1001  220  45  8  1
..7..| 116280 27132 6188 1365 286 55  9  1
...
		

Crossrefs

Cf. A005809 (column 0), A045721 (column 1), A025174 (column 2), A004319 (column 3), A236194 (column 4), A013698 (column 5). Cf. A001764, A007318, A092392, A119301 (C(3n-k,2n)), A144484 (C(3n+1-k,2n+1)), A159841 (C(3n+1,2n+k+1)), A264773, A264774.

Programs

  • Magma
    /* As triangle */ [[Binomial(3*n-2*k, n-k): k in [0..n]]: n in [0.. 10]]; // Vincenzo Librandi, Dec 02 2015
  • Maple
    A264772:= proc(n,k) binomial(3*n - 2*k, 2*n - k); end proc:
    seq(seq(A264772(n,k), k = 0..n), n = 0..10);
  • Mathematica
    Table[Binomial[3 n - 2 k, n - k], {n, 0, 9}, {k, 0, n}] // Flatten (* Michael De Vlieger, Dec 01 2015 *)

Formula

T(n,k) = binomial(3*n - 2*k, n - k).
O.g.f.: f(x)/(1 - t*x*g(x)), where f(x) = Sum_{n >= 0} binomial(3*n,n)*x^n and g(x) = Sum_{n >= 0} 1/(2*n + 1)*binomial(3*n,n)*x^n.

A236194 a(n) = binomial(3n+1, n-1).

Original entry on oeis.org

1, 7, 45, 286, 1820, 11628, 74613, 480700, 3108105, 20160075, 131128140, 854992152, 5586853480, 36576848168, 239877544005, 1575580702584, 10363194502115, 68248282427325, 449972009097765, 2969831763694950, 19619725782651120, 129728497393775280
Offset: 1

Views

Author

Bruno Berselli, Jan 20 2014

Keywords

Comments

This sequence is related to A006013 by a(n)/n = A006013(n)/2.

Crossrefs

Cf. A006013; A025174: C(3n-1, n-1); A117671: C(3n+1, n+1).
Second column of the triangle A159841.
Third column of the triangle A119301.

Programs

  • Magma
    [Binomial(3*n+1,n-1): n in [1..30]];
    
  • Mathematica
    Table[Binomial[3n+1, n-1], {n, 30}]
  • Maxima
    makelist(binomial(3*n+4,n),n,0,40); /* Emanuele Munarini, Oct 14 2014 */
    
  • PARI
    vector(30, n, binomial(3*n+1, n-1)) \\ Altug Alkan, Nov 04 2015
    
  • SageMath
    [binomial(3*n+1,n-1) for n in range(1,31)] # G. C. Greubel, Nov 09 2022

Formula

G.f.: (sqrt(4-27*x)*cos((2/3)*arcsin((3/2)*sqrt(3*x))) + sqrt(3*x)*sin((2/3)*arcsin((3/2)*sqrt(3*x))) - sqrt(4-27*x))/(3*sqrt(4-27*x)*x^2). - Emanuele Munarini, Oct 14 2014
From Peter Bala, Nov 04 2015: (Start)
With offset 0, the o.g.f. equals f(x)*g(x)^4, where f(x) is the o.g.f. for A005809 and g(x) is the o.g.f. for A001764.
More generally, f(x)*g(x)^k is the o.g.f. for the sequence binomial(3*n + k,n). Cf. A045721 (k = 1), A025174 (k = 2), A004319 (k = 3), A013698 (k = 5), A165817 (k = -1), A117671 (k = -2). (End)
a(n) = [x^n] x/(1 - x)^(2*n+3). - Ilya Gutkovskiy, Oct 10 2017
From Karol A. Penson, Mar 02 2024: (Start)
G.f.: ((sqrt(3)*sqrt(x)*i + sqrt(4 - 27*x))*(4*sqrt(4 - 27*x) - 12*i*sqrt(3)*sqrt(x))^(2/3) + (-sqrt(3)*sqrt(x)*i + sqrt(4 - 27*x))*(4*sqrt(4 - 27*x) + 12*i*sqrt(3)*sqrt(x))^(2/3) - 8*sqrt(4 - 27*x))/(24*sqrt(4 - 27*x)*x^2), where i is the imaginary unit, i=sqrt(-1).
G.f.: hypergeometric3F2([5/3,2,7/3],[5/2,3],27*x/4).
G.f. = G satisfies the algebraic equation: 1 + (7*z-1)*G + (27*z-4)*z^2*G^2 + (27*z-4)*z^4*G^3 = 0. (End)

A119304 Triangle read by rows: T(n,k) = binomial(4n-k,n-k), 0 <= k <= n.

Original entry on oeis.org

1, 4, 1, 28, 7, 1, 220, 55, 10, 1, 1820, 455, 91, 13, 1, 15504, 3876, 816, 136, 16, 1, 134596, 33649, 7315, 1330, 190, 19, 1, 1184040, 296010, 65780, 12650, 2024, 253, 22, 1, 10518300, 2629575, 593775, 118755, 20475, 2925, 325, 25, 1, 94143280, 23535820
Offset: 0

Views

Author

Paul Barry, May 13 2006

Keywords

Examples

			Triangle begins
       1;
       4,     1;
      28,     7,    1;
     220,    55,   10,    1;
    1820,   455,   91,   13,   1;
   15504,  3876,  816,  136,  16,  1;
  134596, 33649, 7315, 1330, 190, 19, 1;
		

Crossrefs

Rows sums are A052203. First column is A005810. Inverse of A119305.

Programs

  • Mathematica
    Flatten[Table[Binomial[4n-k,n-k],{n,0,9},{k,0,n}]] (* Indranil Ghosh, Feb 26 2017 *)
  • PARI
    tabl(nn) = {for (n=0,nn,for (k=0,n,print1(binomial(4*n-k,n-k),", ");); print(););} \\ Indranil Ghosh, Feb 26 2017
    
  • Python
    from sympy import binomial
    i=0
    for n in range(12):
        for k in range(n+1):
            print(str(i)+" "+str(binomial(4*n-k,n-k)))
            i+=1 # Indranil Ghosh, Feb 26 2017

Formula

Riordan array (1/(1-4f(x)),f(x)) where f(x)(1-f(x))^3 = x.
From Peter Bala, Jun 04 2024: (Start)
'Horizontal' recurrence equation: T(n, 0) = binomial(4*n,n) and for k >= 1, T(n, k) = Sum_{i = 1..n+1-k} i*(i+1)/2 * T(n-1, k-2+i).
T(n, k) = Sum_{j = 0..n} binomial(n+j-1, j)*binomial(3*n-k-j, 2*n). (End)

A264773 Triangle T(n,k) = binomial(4*n - 3*k, 3*n - 2*k), 0 <= k <= n.

Original entry on oeis.org

1, 4, 1, 28, 5, 1, 220, 36, 6, 1, 1820, 286, 45, 7, 1, 15504, 2380, 364, 55, 8, 1, 134596, 20349, 3060, 455, 66, 9, 1, 1184040, 177100, 26334, 3876, 560, 78, 10, 1, 10518300, 1560780, 230230, 33649, 4845, 680, 91, 11, 1, 94143280, 13884156, 2035800, 296010, 42504, 5985, 816, 105, 12, 1
Offset: 0

Views

Author

Peter Bala, Nov 30 2015

Keywords

Comments

Riordan array (f(x),x*g(x)), where g(x) = 1 + x + 4*x^2 + 22*x^3 + 140*x^4 + ... is the o.g.f. for A002293 and f(x) = g(x)/(4 - 3*g(x)) = 1 + 4*x + 28*x^2 + 220*x^3 + 1820*x^4 + ... is the o.g.f. for A005810.
More generally, if (R(n,k))n,k>=0 is a proper Riordan array and m is a nonnegative integer and a > b are integers then the array with (n,k)-th element R((m + 1)*n - a*k, m*n - b*k) is also a Riordan array (not necessarily proper). Here we take R as Pascal's triangle and m = a = 3 and b = 2. See A092392, A264772, A264774 and A113139 for further examples.

Examples

			Triangle begins
  n\k |       0      1     2    3   4   5   6   7
------+-----------------------------------------------
   0  |       1
   1  |       4      1
   2  |      28      5     1
   3  |     220     36     6    1
   4  |    1820    286    45    7   1
   5  |   15504   2380   364   55   8   1
   6  |  134596  20349  3060  455  66   9   1
   7  | 1184040 177100 26334 3876 560  78  10   1
...
		

Crossrefs

A005810 (column 0), A052203 (column 1), A257633 (column 2), A224274 (column 3), A004331 (column 4). Cf. A002293, A007318, A092392 (C(2n-k,n)), A119301 (C(3n-k,n-k)), A264772, A264774.

Programs

  • Magma
    /* As triangle: */ [[Binomial(4*n-3*k, 3*n-2*k): k in [0..n]]: n in [0.. 10]]; // Vincenzo Librandi, Dec 02 2015
  • Maple
    A264773:= proc(n,k) binomial(4*n - 3*k, 3*n - 2*k); end proc:
    seq(seq(A264773(n,k), k = 0..n), n = 0..10);
  • Mathematica
    A264773[n_,k_] := Binomial[4*n - 3*k, n - k];
    Table[A264773[n, k], {n, 0, 10}, {k, 0, n}] (* Paolo Xausa, Feb 06 2024 *)

Formula

T(n,k) = binomial(4*n - 3*k, n - k).
O.g.f.: f(x)/(1 - t*x*g(x)), where f(x) = Sum_{n >= 0} binomial(4*n,n)*x^n and g(x) = Sum_{n >= 0} 1/(3*n + 1)*binomial(4*n,n)*x^n.

A264774 Triangle T(n,k) = binomial(5*n - 4*k, 4*n - 3*k), 0 <= k <= n.

Original entry on oeis.org

1, 5, 1, 45, 6, 1, 455, 55, 7, 1, 4845, 560, 66, 8, 1, 53130, 5985, 680, 78, 9, 1, 593775, 65780, 7315, 816, 91, 10, 1, 6724520, 736281, 80730, 8855, 969, 105, 11, 1, 76904685, 8347680, 906192, 98280, 10626, 1140, 120, 12, 1, 886163135, 95548245, 10295472, 1107568, 118755, 12650, 1330, 136, 13, 1
Offset: 0

Views

Author

Peter Bala, Nov 30 2015

Keywords

Comments

Riordan array (f(x),x*g(x)), where g(x) = 1 + x + 5*x^2 + 35*x^3 + 285*x^4 + ... is the o.g.f. for A002294 and f(x) = g(x)/(5 - 4*g(x)) = 1 + 5*x + 45*x^2 + 455*x^3 + 4845*x^4 + ... is the o.g.f. for A001449.
More generally, if (R(n,k))n,k>=0 is a proper Riordan array and m is a nonnegative integer and a > b are integers then the array with (n,k)-th element R((m + 1)*n - a*k, m*n - b*k) is also a Riordan array (not necessarily proper). Here we take R as Pascal's triangle and m = a = 4 and b = 3. See A092392, A264772, A264773 and A113139 for further examples.

Examples

			Triangle begins
  n\k |       0      1     2    3   4   5   6   7
------+---------------------------------------------
   0  |       1
   1  |       5      1
   2  |      45      6     1
   3  |     455     55     7    1
   4  |    4845    560    66    8   1
   5  |   53130   5985   680   78   9   1
   6  |  593775  65780  7315  816  91  10   1
   7  | 6724520 736281 80730 8855 969 105  11  1
...
		

Crossrefs

Cf. A001449 (column 0), A079589(column 1). Cf. A002294, A007318, A092392 (C(2n-k,n)), A113139, A119301 (C(3n-k,n-k)), A264772, A264773.

Programs

  • Magma
    /* As triangle */ [[Binomial(5*n-4*k, 4*n-3*k): k in [0..n]]: n in [0.. 10]]; // Vincenzo Librandi, Dec 02 2015
  • Maple
    A264774:= proc(n,k) binomial(5*n - 4*k, 4*n - 3*k); end proc:
    seq(seq(A264774(n,k), k = 0..n), n = 0..10);
  • Mathematica
    Table[Binomial[5 n - 4 k, 4 n - 3 k], {n, 0, 9}, {k, 0, n}] // Flatten (* Michael De Vlieger, Dec 01 2015 *)

Formula

T(n,k) = binomial(5*n - 4*k, n - k).
O.g.f.: f(x)/(1 - t*x*g(x)), where f(x) = Sum_{n >= 0} binomial(5*n,n)*x^n and g(x) = Sum_{n >= 0} 1/(4*n + 1)*binomial(5*n,n)*x^n.

A119302 Inverse of number triangle binomial(3n-k,n-k).

Original entry on oeis.org

1, -3, 1, 0, -5, 1, 0, 7, -7, 1, 0, -3, 18, -9, 1, 0, 0, -22, 33, -11, 1, 0, 0, 13, -65, 52, -13, 1, 0, 0, -3, 75, -140, 75, -15, 1, 0, 0, 0, -51, 238, -255, 102, -17, 1, 0, 0, 0, 19, -266, 570, -418, 133, -19, 1, 0, 0, 0, -3, 196, -882, 1155, -637, 168, -21, 1
Offset: 0

Views

Author

Paul Barry, May 13 2006

Keywords

Comments

Row sums are A119303. Inverse of A119301.

Examples

			Triangle begins
1,
-3, 1,
0, -5, 1,
0, 7, -7, 1,
0, -3, 18, -9, 1,
0, 0, -22, 33, -11, 1,
0, 0, 13, -65, 52, -13, 1,
0, 0, -3, 75, -140, 75, -15, 1
		

Formula

Riordan array (1-3x,x(1-x)^2); Number triangle T(n,k)=(C(2k,n-k)+3*C(2k,n-k-1))(-1)^(n-k).
Showing 1-7 of 7 results.