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-10 of 12 results. Next

A154283 Irregular triangle read by rows: T(n,k) = Sum_{i=0..k} (-1)^i * binomial(2*n+1,i) * binomial(k+2-i,2)^n, 0 <= k <= 2*(n-1).

Original entry on oeis.org

1, 1, 4, 1, 1, 20, 48, 20, 1, 1, 72, 603, 1168, 603, 72, 1, 1, 232, 5158, 27664, 47290, 27664, 5158, 232, 1, 1, 716, 37257, 450048, 1822014, 2864328, 1822014, 450048, 37257, 716, 1, 1, 2172, 247236, 6030140, 49258935, 163809288, 242384856, 163809288, 49258935, 6030140, 247236, 2172, 1
Offset: 1

Views

Author

Roger L. Bagula, Jan 06 2009

Keywords

Comments

From Yahia Kahloune, Jan 30 2014: (Start)
In general, let b(k,e,p) = Sum_{i=0..k} (-1)^i*binomial(e*p+1,i)*binomial(k+e-i,e)^p. Then T(n,k) = b(k,2,n).
With these coefficients we can calculate: Sum_{i=1..n} binomial(i+e-1,e)^p = Sum_{k=0..e*(p-1)} b(k,e,p)*binomial(n+e+k,e*p+k).
For example, A085438(n) = Sum_{i=1..n} binomial(1+i,2)^3 = T(3,0)*binomial(2+n,7) + T(3,1)*binomial(3+n,7) + T(3,2)*binomial(4+n,7) + T(3,3)*binomial(5+n,7) + T(3,4)*binomial(6+n,7) = (1/5040)*(90*n^7 + 630*n^6 + 1638*n^5 + 1890*n^4 + 840*n^3 - 48*n).
(End)
T(n,k) is the number of permutations of 2 indistinguishable copies of 1..n with exactly k descents. A descent is a pair of adjacent elements with the second element less than the first. - Andrew Howroyd, May 06 2020

Examples

			Triangle begins:
  1;
  1,     4,       1;
  1,    20,      48,        20,           1;
  1,    72,     603,      1168,         603,           72,           1;
  1,   232,    5158,     27664,       47290,        27664,        5158,  232, 1;
  1,   716,   37257,    450048,     1822014,      2864328,     1822014, ...;
  1,  2172,  247236,   6030140,    49258935,    163809288,   242384856, ...;
  1,  6544, 1568215,  72338144,  1086859301,   6727188848, 19323413187, ...;
  1, 19664, 9703890, 811888600, 21147576440, 225167210712, ... ;
  ...
The T(2,1) = 4 permutations of 1122 with 1 descent are 1212, 1221, 2112, 2211. - _Andrew Howroyd_, May 15 2020
		

Crossrefs

Row sums are A000680.
Similar triangles for e=1..6: A173018 (or A008292), this sequence, A174266, A236463, A237202, A237252.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(2*n+1,j)*Binomial(k-j+2,2)^n: j in [0..k]]): k in [0..2*n-2], n in [1..12]]; // G. C. Greubel, Jun 13 2022
    
  • Maple
    A154283 := proc(n,k)
            (1-x)^(2*n+1)*add( (l*(l+1)/2)^n*x^(l-1),l=0..k+1) ;
            coeftayl(%,x=0,k) ;
    end proc: # R. J. Mathar, Feb 01 2013
  • Mathematica
    p[x_, n_]= (1-x)^(2*n+1)*Sum[(k*(k+1)/2)^n*x^k, {k, 0, Infinity}]/x;
    Table[CoefficientList[FullSimplify[ExpandAll[p[x, n]]], x], {n,10}]//Flatten
  • PARI
    T(n,k)={sum(i=0, k, (-1)^i*binomial(2*n+1, i)*binomial(k+2-i, 2)^n)} \\ Andrew Howroyd, May 09 2020
    
  • SageMath
    def A154283(n,k): return sum((-1)^j*binomial(2*n+1, j)*binomial(k-j+2, 2)^n for j in (0..k))
    flatten([[A154283(n,k) for k in (0..2*n-2)] for n in (1..12)]) # G. C. Greubel, Jun 13 2022

Formula

T(n,k) = (-1) times coefficient of x^k in (x-1)^(2*n+1) * Sum_{k>=0} (k*(k+1)/2)^n *x^(k-1).
From Yahia Kahloune, Jan 29 2014: (Start)
Sum_{i=1..n} binomial(1+i,2)^p = Sum_{k=0..2*p-2} T(p,k)*binomial(n+2+k,2*p+1).
binomial(n,2)^p = Sum_{k=0..2*p-2} T(p,k)*binomial(n+k,2*p). (End)
From Peter Bala, Dec 21 2019: (Start)
E.g.f. as a continued fraction: (1-x)/(1-x + ( 1-exp((1-x)^2*t))*x/(1-x + (1-exp(2*(1-x)^2*t))*x/(1-x + (1-exp(3*(1-x)^2*t))*x/(1-x + ... )))) = 1 + x*t + x*(x^2 + 4*x + 1)*t^2/2! + x*(x^4 + 20*x^3 + 48*x^2 + 20*x + 1)*t^3/3! + ... (use Prodinger equation 1.1).
The sequence of alternating row sums (unsigned) [1, 1, 2, 10, 104, 1816,...] appears to be A005799. (End)

Extensions

Edited by N. J. A. Sloane, Jan 30 2014 following suggestions from Yahia Kahloune (among other things, the signs of all terms have been reversed).
Edited by Andrew Howroyd, May 09 2020

A174266 Irregular triangle read by rows: T(n,k) = Sum_{i=0..k} (-1)^i * binomial(3*n+1,i) * binomial(k+3-i,3)^n, 0 <= k <= 3*(n-1).

Original entry on oeis.org

1, 1, 9, 9, 1, 1, 54, 405, 760, 405, 54, 1, 1, 243, 6750, 49682, 128124, 128124, 49682, 6750, 243, 1, 1, 1008, 83736, 1722320, 12750255, 40241088, 58571184, 40241088, 12750255, 1722320, 83736, 1008, 1, 1, 4077, 922347, 45699447, 789300477, 5904797049, 21475242671, 40396577931, 40396577931, 21475242671, 5904797049, 789300477, 45699447, 922347, 4077, 1
Offset: 1

Views

Author

Roger L. Bagula, Mar 14 2010

Keywords

Comments

From Yahia Kahloune, Jan 30 2014: (Start)
In general, let b(k,e,p) = Sum_{i=0..k} (-1)^i*binomial(e*p+1,i)*binomial(k+e-i,e)^p. Then T(n,k) = b(k,3,n).
With these coefficients we can calculate: Sum_{i=1..n} binomial(i+e-1,e)^p = Sum_{i=0..e*(p-1)} b(i,e,p)*binomial(n+e+i,e*p+1).
For example, A086020(n) = Sum_{i=1..n} binomial(2+i, 3)^2 = T(2,0)*binomial(n+3, 7) + T(2,1)*binomial(n+4,7) + T(2,2)*binomial(n+5,7) + T(2,3)*binomial(n+6,7) = (1/5040)*(20*n^7 + 210*n^6 + 854*n^5 + 1680*n^4 + 1610*n^3 + 630*n^2 + 36*n). (End)
T(n,k) is the number of permutations of 3 indistinguishable copies of 1..n with exactly k descents. A descent is a pair of adjacent elements with the second element less than the first. - Andrew Howroyd, May 06 2020

Examples

			Triangle begins:
  1;
  1,      9,         9,            1;
  1,     54,       405,          760,            405,       54,        1;
  1,    243,      6750,        49682,         128124,   128124,    49682, ... ;
  1,   1008,     83736,      1722320,       12750255, 40241088, 58571184, ... ;
  1,   4077,    922347,     45699447,      789300477, ... ;
  1,  16362,   9639783,   1063783164,    38464072830, ... ;
  1,  65511,  98361900,  23119658500,  1641724670475, ... ;
  1, 262116, 992660346, 484099087156, 64856779908606, ... ;
...
The T(2,1) = 9 permutations of 111222 with 1 descent are: 112221, 112212, 112122, 122211, 122112, 121122, 222111, 221112, 211122. - _Andrew Howroyd_, May 07 2020
		

Crossrefs

Row sums are A014606.
Similar triangles for e=1..6: A173018 (or A008292), A154283, this sequence, A236463, A237202, A237252.

Programs

  • Mathematica
    (* First program *)
    p[n_, x_]:= p[n,x]= (1-x)^(3*n+1)*Sum[(Binomial[k+1, 3])^n*x^k, {k, 0, Infinity}]/x^2;
    Table[CoefficientList[p[x, n], x], {n,10}]//Flatten (* corrected by G. C. Greubel, Mar 26 2022 *)
    (* Second program *)
    T[n_, k_]:= T[n, k]= Sum[(-1)^(k-j+1)*Binomial[3*n+1, k-j+1]*(j*(j^2-1)/2)^n, {j, 0, k+1}]/(3^n);
    Table[T[n, k], {n,10}, {k,3*n-2}]//Flatten (* G. C. Greubel, Mar 26 2022 *)
  • PARI
    T(n,k)={sum(i=0, k, (-1)^i*binomial(3*n+1, i)*binomial(k+3-i, 3)^n)} \\ Andrew Howroyd, May 06 2020
    
  • Sage
    @CachedFunction
    def T(n, k): return (1/3^n)*sum( (-1)^(k-j+1)*binomial(3*n+1, k-j+1)*(j*(j^2-1)/2)^n for j in (0..k+1) )
    flatten([[T(n, k) for k in (1..3*n-2)] for n in (1..10)]) # G. C. Greubel, Mar 26 2022

Formula

T(n,k) = [x^k] (1-x)^(3*n+1)*(Sum_{k>=0} (k*(k+1)*(k-1)/2)^n*x^k)/(3^n*x^2).
T(n,k) = T(n, 3*n-k).
From Yahia Kahloune, Jan 30 2014: (Start)
Sum_{i=1..n} binomial(2+i,3)^p = Sum_{i=0..3*p-3} T(p,i)*binomial(n+3+i,3*p+1).
binomial(n,3)^p = Sum_{i=0..3*p-3} T(p,i)*binomial(n+i,3*p). (End)
From Sergii Voloshyn, Dec 18 2024: (Start)
Let E be the operator (x^2)D*(1/x)*D*(x^2)*D, where D denotes the derivative operator d/dx. Then (1/6^n)* E^n(x^2/(1 - x)^4) = (row n generating polynomial)/(1 - x)^(3*n+4) = Sum_{i=0..k} (-1)^i * binomial(3*n+1,i) * binomial(k+3-i,3)^n.
For example, when n = 3 we have 1/216*E^3(x^2/(1 - x)^4) = x^2 (1 + 243x + 6750x^2 + 49682x^3 + 128124x^4 + 128124x^5 + 49682x^6 + 6750x^7 + 243x^8 + x^9)/(1 - x)^13. (End)

Extensions

Edited by Andrew Howroyd, May 06 2020

A237252 Irregular triangle read by rows: T(n,k) = Sum_{i=0..k} (-1)^i * binomial(6*n+1,i) * binomial(k+6-i,6)^n, 0 <= k <= 6*(n-1).

Original entry on oeis.org

1, 1, 36, 225, 400, 225, 36, 1, 1, 324, 15606, 233300, 1424925, 4050864, 5703096, 4050864, 1424925, 233300, 15606, 324, 1, 1, 2376, 554931, 35138736, 879018750, 10490842656, 66555527346, 239677178256, 509723668476, 654019630000, 509723668476, 239677178256, 66555527346, 10490842656, 879018750, 35138736, 554931, 2376, 1
Offset: 1

Views

Author

Yahia Kahloune, Feb 05 2014

Keywords

Comments

In general, define b(k,e,p) = Sum_{i=0..k} (-1)^i*binomial(e*p+1,i)*binomial(k+e-i,e)^p. Then T(n,k) = b(k,6,n).
Using these coefficients we can obtain formulas for binomial(n,e)^p and for Sum_{i=1..n} binomial(e-1+i,e)^p.
In particular:
binomial(n, e)^p = Sum_{k=0..e*(p-1)} b(k,e p) * binomial(n+k, e*p).
Sum_{i=1..n} binomial(e-1+i, e)^p = Sum_{k=0..e*(p-1)} b(k,e,p) * binomial(n+e+k, e*p+1).
T(n,k) is the number of permutations of 6 indistinguishable copies of 1..n with exactly k descents. A descent is a pair of adjacent elements with the second element less than the first. - Andrew Howroyd, May 06 2020

Examples

			For example :
  T(n,0) = 1;
  T(n,1) = 7^n - (6*n+1);
  T(n,2) = 28^n - (6*n+1)*7^n + C(6*n+1,2);
  T(n,3) = 84^n - (6*n+1)*28^n + C(6*n+1,2)*7^n + C(6*n+1,3);
  T(n,4) = 210^n - (6*n+1)*84^n + C(6*n+1,2)*28^n - C(6*n+1,3)*7^n + C(6*n+1,4).
Triangle T(n,k) begins:
 1;
 1, 36, 225, 400, 225, 36, 1;
 1, 324, 15606, 233300, 1424925, 4050864, 5703096, 4050864, 1424925, 233300, 15606, 324, 1;
 1, 2376, 554931, 35138736, 879018750, 10490842656, 66555527346, 239677178256, 509723668476, 654019630000, 509723668476, 239677178256, 66555527346, 10490842656, 879018750, 35138736, 554931, 2376, 1;
 1, 16776, 16689816, 3656408776, 286691702976, 10255094095176, 192698692565176, 2080037792142216, 13690633212385551, 57229721552316976, 156200093827061616, 283397584598631216, 345271537321293856, 283397584598631216, 156200093827061616, 57229721552316976,13690633212385551, 2080037792142216, 192698692565176, 10255094095176, 286691702976, 3656408776, 16689816, 16776, 1;
...
Example:
Sum_{i=1..n} C(5+i,6)^2 = A086027(n) = C(n+6,13) + 36*C(n+7,13) + 225*C(n+8,13) + 400*C(n+9,13) + 225*C(n+10,13) + 36*C(n+11,13) + C(n+12,13).
binomial(n,6)^2 = C(n,12) + 36*C(n+1,12) + 225*C(n+2,12) + 400*C(n+3,12) + 225*C(n+4,12) + 36*C(n+5,12) + C(n+6,12).
		

Crossrefs

Columns k=2..6 are A151651, A151652, A151653, A151654, A151655.
Row sums are A248814.
Similar triangles for e=1..5: A173018 (or A008292), A154283, A174266, A236463, A237202.
Sum_{i=1..n} binomial(5+i,6)^p for p=1..3 gives: A000580, A086027, A086028.

Programs

  • Mathematica
    b[k_, 6, p_] := Sum[(-1)^i*Binomial[6*p+1, i]*Binomial[k-i, 6]^p /. k -> 6+i, {i, 0, k-6}]; row[p_] := Table[b[k, 6, p], {k, 6, 6*p}]; Table[row[p], {p, 1, 5}] // Flatten (* Jean-François Alcover, Feb 05 2014 *)
  • PARI
    T(n,k)={sum(i=0, k, (-1)^i*binomial(6*n+1, i)*binomial(k+6-i, 6)^n)} \\ Andrew Howroyd, May 06 2020

Formula

Sum_{i=1..n} binomial(5+i,6)^p = Sum{k=0..6*(p-1)} T(p,k) * binomial(n+6+k, 6*p+1).
binomial(n,6)^p = Sum_{k=0..6*(p-1)} T(p,k) * binomial(n+k, 6*p).

Extensions

Edited by Andrew Howroyd, May 06 2020

A087108 This table shows the coefficients of combinatorial formulas needed for generating the sequential sums of p-th powers of binomial coefficients C(n,4). The p-th row (p>=1) contains a(i,p) for i=1 to 4*p-3, where a(i,p) satisfies Sum_{i=1..n} C(i+3,4)^p = 5 * C(n+4,5) * Sum_{i=1..4*p-3} a(i,p) * C(n-1,i-1)/(i+4).

Original entry on oeis.org

1, 1, 4, 6, 4, 1, 1, 24, 176, 624, 1251, 1500, 1070, 420, 70, 1, 124, 3126, 33124, 191251, 681000, 1596120, 2543520, 2780820, 2058000, 987000, 277200, 34650, 1, 624, 49376, 1350624, 18308751, 146500500, 763418870, 2749648020, 7101675070, 13440210000
Offset: 1

Views

Author

André F. Labossière, Aug 11 2003

Keywords

Comments

From Peter Bala, Mar 11 2018: (Start)
The table entries T(n,k) are the coefficients when expressing the polynomial C(x+4,4)^p of degree 4*p in terms of falling factorials: C(x+4,4)^p = Sum_{k = 0..4*p} T(p,k)*C(x,k). It follows that Sum_{i = 0..n-1} C(i+4,4)^p = Sum_{k = 0..4*p} T(p,k)*C(n,k+1). (End)

Examples

			Row 3 contains 1,24,176,...,70, so Sum_{i=1..n} C(i+3,4)^3 = 5 * C(n+4,5) * [ a(1,3)/5 + a(2,3)*C(n-1,1)/6 + a(3,3)*C(n-1,2)/7 + ... + a(9,3)*C(n-1,8)/13 ] = 5 * C(n+4,5) * [ 1/5 + 24*C(n-1,1)/6 + 176*C(n-1,2)/7 + ... + 70*C(n-1,8)/13 ]. Cf. A086024 for more details.
From _Peter Bala_, Mar 11 2018: (Start)
Table begins
  n = 0 | 1
  n = 1 | 1   4    6     4      1
  n = 2 | 1  24  176   624   1251   1500    1070  420  70
  n = 3 | 1 124 3126 33124 191251 681000 1596120 ...
  ...
Row 2: C(i+4,4)^2 = C(i,0) + 24*C(i,1) + 176*C(i,2) + 624*C(i,3) + 1251*C(i,4) + 1500*C(i,5) + 1070*C(i,6) + 420*C(i,7) + 70*C(i,8). Hence, Sum_{i = 0..n-1} C(i+4,4)^2 =  C(n,1) + 24*C(n,2) + 176*C(n,3) + 624*C(n,4) + 1251*C(n,5) + 1500*C(n,6) + 1070*C(n,7) + 420*C(n,8) + 70*C(n,9) .(End)
		

Crossrefs

Programs

  • Maple
    seq(seq(add( (-1)^(k-i)*binomial(k, i)*binomial(i+4, 4)^n, i = 0..k), k = 0..4*n), n = 0..6); # Peter Bala, Mar 11 2018
  • Mathematica
    a[i_, p_] := Sum[Binomial[i - 1, 2*k - 2]*Binomial[i - 2*k + 5, i - 2*k + 1]^(p - 1) - Binomial[i - 1, 2*k - 1]*Binomial[i - 2*k + 4, i - 2*k]^(p - 1), {k, 1, (2*i + 1 + (-1)^(i - 1))/4}]; Table[If[p == 1, 1, a[i, p]], {p, 1, 10}, {i, 1, 4*p - 3}]//Flatten (* G. C. Greubel, Nov 23 2017 *)
  • PARI
    {a(i, p) = sum(k=1, (2*i + 1 + (-1)^(i - 1))/4, binomial(i - 1, 2*k - 2)*binomial(i - 2*k + 5, i - 2*k + 1)^(p - 1) - binomial(i - 1, 2*k - 1)*binomial(i - 2*k + 4, i - 2*k)^(p - 1))}; for(p=1,8, for(i=1, 4*p-3, print1(if(p==1,1,a(i,p)), ", "))) \\ G. C. Greubel, Nov 23 2017

Formula

a(i, p) = Sum_{k=1..[2*i+1+(-1)^(i-1)]/4} [ C(i-1, 2*k-2)*C(i-2*k+5, i-2*k+1)^(p-1) -C(i-1, 2*k-1)*C(i-2*k+4, i-2*k)^(p-1) ]
From Peter Bala, Mar 11 2018: (Start)
The following remarks assume the row and column indices start at 0.
T(n,k) = Sum_{i = 0..k} (-1)^(k-i)*binomial(k,i) * binomial(i+4,4)^n. Equivalently, let v_n denote the sequence (1, 5^n, 15^n, 35^n, ...) regarded as an infinite column vector, where 1, 5, 15, 35, ... is the sequence binomial(n+4,4) - see A000332. Then the n-th row of this table is determined by the matrix product P^(-1)*v_n, where P denotes Pascal's triangle A007318.
Recurrence: T(n+1,k) = C(k+4,4)*T(n,k) + 4*C(k+3,4)*T(n,k-1) + 6*C(k+2,4)*T(n,k-2) + 4*C(k+1,4)*T(n,k-3) + C(k,4)*T(n,k-4) with boundary conditions T(n,0) = 1 for all n and T(n,k) = 0 for k > 4*n.
n-th row polynomial R(n,x) = (1 + x)^4 o (1 + x)^4 o ... o (1 + x)^4 (n factors), where o denotes the black diamond product of power series defined in Dukes and White.
R(n,x) = Sum_{i >= 0} binomial(i+4,4)^n*x^i/(1 + x)^(i+1).
R(n+1,x) = 1/4! * (1 + x)^4 * (d/dx)^4(x^4*R(n,x)).
(1 - x)^(4*n)*R(n,x/(1 - x)) appears to equal the n-th row polynomial of A236463. (End)

Extensions

Edited by Dean Hickerson, Aug 16 2003

A237202 Irregular triangle read by rows: T(n,k) = Sum_{i=0..k} (-1)^i * binomial(5*n+1,i) * binomial(k+5-i,5)^n, 0 <= k <= 5*(n-1).

Original entry on oeis.org

1, 1, 25, 100, 100, 25, 1, 1, 200, 5925, 52800, 182700, 273504, 182700, 52800, 5925, 200, 1, 1, 1275, 167475, 6021225, 84646275, 554083761, 1858142825, 3363309675, 3363309675, 1858142825, 554083761, 84646275
Offset: 1

Views

Author

Yahia Kahloune, Feb 05 2014

Keywords

Comments

In general, define b(k,e,p) = Sum_{i=0..k} (-1)^i*binomial(e*p+1,i)*binomial(k+e-i,e)^p. Then T(n,k) = b(k,5,n).
Using these coefficients we can obtain formulas for binomial(n,e)^p and for Sum_{i=1..n} binomial(e-1+i,e)^p.
In particular:
binomial(n, e)^p = Sum_{k=0..e*(p-1)} b(k,e,p) * binomial(n+k, e*p).
Sum_{i=1..n} binomial(e-1+i, e)^p = Sum_{k=0..e*(p-1)} b(k,e,p) * binomial(n+e+k, e*p+1).
T(n,k) is the number of permutations of 5 indistinguishable copies of 1..n with exactly k descents. A descent is a pair of adjacent elements with the second element less than the first. - Andrew Howroyd, May 08 2020

Examples

			T(n,0) = 1;
T(n,1) = 6^n - (5*n+1);
T(n,2) = 21^n - (5*n+1)*6^n + C(5*n+1,2);
T(n,3) = 56^n - (5*n+1)*21^n + C(5*n+1,2)*6^n - C(5*n+1,3) ;
T(n,4) = 126^n - (5*n+1)*56^n + C(5*n+1,2)*21^n - C(5*n+1,3)*6^n  + C(5*n+1,4).
Triangle T(n,k) begins:
1;
1, 25, 100, 100, 25, 1;
1, 200, 5925, 52800, 182700, 273504, 182700, 52800, 5925, 200, 1;
1, 1275, 167475, 6021225, 84646275, 554083761, 1858142825, 3363309675, 3363309675, 1858142825, 554083761, 84646275, 6021225, 167475, 125, 1;
1, 7750, 3882250, 447069750, 18746073375, 359033166276, 3575306548500, 20052364456500, 66640122159000, 135424590593500, 171219515211316, 135424590593500, 66640122159000, 20052364456500, 3575306548500, 359033166276, 18746073375, 447069750, 3882250, 7750, 1;
...
Example:
Sum_{i=1..n} C(4+i,5)^3 = C(n+5,16) + 200*C(n+6,16) + 5925*(n+7,16) + 52800*C(n+8,16) + 182700*C(n+9,16) + 273504*C(n+10,16) + 182700*C(n+11,16) + 52800*C(n+12,16) + 5925*C(n+13,16) + 200*C(n+14,16) + C(n+15,16).
C(n,5)^3 = C(n,15) + 200*C(n+1,15) + 5925*C(n+2,15) + 52800*C(n+3,15) + 182700*C(n+4,15) + 273504*C(n+5,15) + 182700*C(n+6,15) + 52800*C(n+7,15) + 5925*C(n+8,15) + 200*C(n+9,15) + C(n+10,15).
		

Crossrefs

Columns k=2..5 are A151647, A151648, A151649, A151650.
Row sums are A014609.
Similar triangles for e=1..6: A173018 (or A008292), A154283, A174266, A236463, this sequence, A237252.
Sum_{i=1..n} binomial(4+i,5)^p for p=2..3 gives: A086025, A086026.

Programs

  • Mathematica
    b[k_, 5, p_] := Sum[(-1)^i*Binomial[5*p+1, i]*Binomial[k-i, 5]^p /. k -> 5+i, {i, 0, k-5}]; row[p_] := Table[b[k, 5, p], {k, 5, 5*p}]; Table[row[p], {p, 1, 5}] // Flatten (* Jean-François Alcover, Feb 05 2014 *)
  • PARI
    T(n,k)={sum(i=0, k, (-1)^i*binomial(5*n+1, i)*binomial(k+5-i, 5)^n)} \\ Andrew Howroyd, May 08 2020

Formula

Sum_{i=1..n} binomial(4+i,5)^p = Sum{k=0..5*(p-1)} T(p,k) * binomial(n+5+k, 5*p+1).
binomial(n,5)^p = Sum_{k=0..5*(p-1)} T(p,k) * binomial(n+k, 5*p).

Extensions

Edited by Andrew Howroyd, May 08 2020

A151640 Number of permutations of 4 indistinguishable copies of 1..n with exactly 2 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 36, 1828, 40136, 693960, 11000300, 168594156, 2550000528, 38371094416, 576250000820, 8647558594740, 129734375001176, 1946130371095128, 29192578125001596, 437892028808595580, 6568398437500002080, 98526072692871096096, 1477891601562500002628
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=2 of A236463.

Programs

  • Magma
    [15^n -(4*n+1)*5^n +2*n*(4*n+1): n in [1..30]]; // G. C. Greubel, Sep 08 2022
    
  • Mathematica
    Table[Sum[(-1)^j*Binomial[4*n+1,j]*Binomial[6-j,4]^n, {j,0,2}], {n,30}] (* G. C. Greubel, Sep 08 2022 *)
  • PARI
    a(n) = {15^n - (4*n + 1)*5^n + 2*n*(4*n + 1)} \\ Andrew Howroyd, May 06 2020
    
  • PARI
    concat(0, Vec(4*x^2*(9 + 205*x - 485*x^2 - 625*x^3) / ((1 - x)^3*(1 - 5*x)^2*(1 - 15*x)) + O(x^20))) \\ Colin Barker, May 07 2020
    
  • SageMath
    [15^n -(4*n+1)*5^n +2*n*(4*n+1) for n in (1..30)] # G. C. Greubel, Sep 08 2022

Formula

a(n) = 15^n - (4*n + 1)*5^n + 2*n*(4*n + 1). - Andrew Howroyd, May 06 2020
From Colin Barker, May 06 2020: (Start)
G.f.: 4*x^2*(9 + 205*x - 485*x^2 - 625*x^3) / ((1 - x)^3*(1 - 5*x)^2*(1 - 15*x)).
a(n) = 28*a(n-1) - 253*a(n-2) + 976*a(n-3) - 1675*a(n-4) + 1300*a(n-5) - 375*a(n-6) for n > 6. (End)
E.g.f.: exp(15*x) - (1+20*x)*exp(5*x) + 2*x*(5+4*x)*exp(x). - G. C. Greubel, Sep 08 2022

Extensions

Terms a(9) and beyond from Andrew Howroyd, May 06 2020

A151641 Number of permutations of 4 indistinguishable copies of 1..n with exactly 3 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 16, 8464, 724320, 37229920, 1558185200, 59416090096, 2167506244544, 77394535148480, 2734912695301840, 96159966699204560, 3372863224609356576, 118169571125488257824, 4137881135327148408240, 144857367811462402307760, 5070515828676757812456320
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=3 of A236463.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(4*n+1,j)*Binomial(7-j,4)^n: j in [0..3]]): n in [1..30]]; // G. C. Greubel, Sep 08 2022
    
  • Mathematica
    With[{B=Binomial}, Table[Sum[(-1)^j*B[4*n+1,j]*B[7-j,4]^n, {j,0,3}], {n, 30}]] (* G. C. Greubel, Sep 08 2022 *)
  • PARI
    a(n) = {35^n - (4*n + 1)*15^n + binomial(4*n+1, 2)*5^n - binomial(4*n+1, 3)} \\ Andrew Howroyd, May 07 2020
    
  • SageMath
    def A151641(n): return sum((-1)^j*binomial(4*n+1,j)*binomial(7-j,4)^n for j in (0..3))
    [A151641(n) for n in (1..30)] # G. C. Greubel, Sep 08 2022

Formula

a(n) = 35^n - (4*n + 1)*15^n + binomial(4*n+1, 2)*5^n - binomial(4*n+1, 3). - Andrew Howroyd, May 07 2020
From G. C. Greubel, Sep 08 2022: (Start)
a(n) = Sum_{j=0..3} (-1)^j*binomial(4*n+1, j)*binomial(7-j, 4)^n.
G.f.: 16*x^2*(1 +445*x +3485*x^2 -115215*x^3 +200675*x^4 +798375*x^5 -1890625*x^6 -703125*x^7)/( Product_{j=0..3} (1 - binomial(j+4,4)*x)^(4-j) ).
E.g.f.: exp(35*x) -(1+60*x)*exp(15*x) +50*x*(1+4*x)*exp(5*x) -(2/3)*x*(15 +48*x +16*x^2)*exp(x). (End)

Extensions

Terms a(8) and beyond from Andrew Howroyd, May 07 2020

A151642 Number of permutations of 4 indistinguishable copies of 1..n with exactly 4 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 1, 13840, 4961755, 733059110, 75073622025, 6438673851876, 503519287150295, 37463016470769170, 2712124797724710645, 193396524783642727120, 13675857973300537321251, 962624331855762939745950, 67586399804656292725004385, 4738724382451462432861849980
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=4 of A236463.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(4*n+1,j)*Binomial(8-j,4)^n: j in [0..4]]): n in [1..30]]; // G. C. Greubel, Sep 09 2022
    
  • Mathematica
    Table[Sum[(-1)^j*Binomial[4*n+1,j]*Binomial[8-j,4]^n, {j,0,4}], {n, 30}] (* G. C. Greubel, Sep 09 2022 *)
  • PARI
    a(n) = {70^n - (4*n + 1)*35^n + binomial(4*n+1, 2)*15^n - binomial(4*n+1, 3)*5^n + binomial(4*n+1, 4)} \\ Andrew Howroyd, May 07 2020
    
  • SageMath
    def A151642(n): return sum((-1)^j*binomial(4*n+1, j)*binomial(8-j, 4)^n for j in (0..4))
    [A151642(n) for n in (1..30)] # G. C. Greubel, Sep 09 2022

Formula

a(n) = 70^n - (4*n + 1)*35^n + binomial(4*n+1, 2)*15^n - binomial(4*n+1, 3)*5^n + binomial(4*n+1, 4). - Andrew Howroyd, May 07 2020
From G. C. Greubel, Sep 09 2022: (Start)
a(n) = Sum_{j=0..4} (-1)^j*binomial(4*n+1, j)*binomial(8-j, 4)^n.
G.f.: x^2*(1 +13630*x +2073340*x^2 -60833350*x^3 -1182529995*x^4 +34295189100*x^5 -173276304000*x^6 -651083647500*x^7 +5378182646875*x^8 -9980105906250*x^9 -2825648437500*x^10 +19397519531250*x^11 +3165380859375*x^12)/( Product_{j=0..4} (1 - binomial(j+4,4)*x)^(5-j) ).
E.g.f.: exp(70*x) -(1+140*x)*exp(35*x) +150*x*(1+12*x)*exp(15*x) -(50/3)*x*(3 +48*x +80*x^2)*exp(5*x) +(1/3)*x*(15 +174*x +176*x^2 +32*x^3)*exp(x). (End)

Extensions

Terms a(8) and beyond from Andrew Howroyd, May 07 2020

A151643 Number of permutations of 4 indistinguishable copies of 1..n with exactly 5 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 0, 8464, 15018688, 6501577152, 1585757994496, 290861341616496, 45679059507623040, 6563622028755987104, 895009629522636673728, 118277136569294999638992, 15337783893522951844828992, 1966328218272794506172178816, 250347808250994150312231611520
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=5 of A236463.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(4*n+1, j)*Binomial(9-j, 4)^n: j in [0..5]]): n in [1..30]]; // G. C. Greubel, Sep 10 2022
    
  • Mathematica
    Table[Sum[(-1)^j*Binomial[4*n+1, j]*Binomial[9-j, 4]^n, {j,0,5}], {n, 30}] (* G. C. Greubel, Sep 10 2022 *)
  • SageMath
    def A151643(n): return sum((-1)^j*binomial(4*n+1, j)*binomial(9-j, 4)^n for j in (0..5))
    [A151643(n) for n in (1..30)] # G. C. Greubel, Sep 10 2022

Formula

From G. C. Greubel, Sep 10 2022: (Start)
a(n) = Sum_{j=0..5} (-1)^j*binomial(4*n+1, j)*binomial(9-j, 4)^n.
G.f., e.g.f., and recurrence are in the file "Generating functions and recurrence". (End)

Extensions

Terms a(8) and beyond from Andrew Howroyd, May 06 2020

A151644 Number of permutations of 4 indistinguishable copies of 1..n with exactly 6 adjacent element pairs in decreasing order.

Original entry on oeis.org

0, 0, 1828, 21571984, 29066972368, 16938467955200, 6501926870387116, 1978065945844840160, 524378714083391626872, 127734445724723139679472, 29503552588857666326833140, 6587452899587031432766113392, 1439127765510353092008927027552, 310010313330353917185364216860320
Offset: 1

Views

Author

R. H. Hardin, May 29 2009

Keywords

Crossrefs

Column k=6 of A236463.

Programs

  • Magma
    [(&+[(-1)^j*Binomial(4*n+1, j)*Binomial(10-j, 4)^n: j in [0..6]]): n in [1..30]]; // G. C. Greubel, Sep 12 2022
    
  • Mathematica
    Table[Sum[(-1)^j*Binomial[4*n+1, j]*Binomial[10-j, 4]^n, {j,0,6}], {n, 30}] (* G. C. Greubel, Sep 12 2022 *)
  • SageMath
    def A151644(n): return sum((-1)^j*binomial(4*n+1, j)*binomial(10-j, 4)^n for j in (0..6))
    [A151644(n) for n in (1..30)] # G. C. Greubel, Sep 12 2022

Formula

From G. C. Greubel, Sep 12 2022: (Start)
a(n) = Sum_{j=0..6} (-1)^j*binomial(4*n+1, j)*binomial(10-j, 4)^n.
G.f., e.g.f., and recurrence are in the file "Generating functions and recurrence". (End)

Extensions

Terms a(8) and beyond from Andrew Howroyd, May 06 2020
Showing 1-10 of 12 results. Next