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.

A002415 4-dimensional pyramidal numbers: a(n) = n^2*(n^2-1)/12.

Original entry on oeis.org

0, 0, 1, 6, 20, 50, 105, 196, 336, 540, 825, 1210, 1716, 2366, 3185, 4200, 5440, 6936, 8721, 10830, 13300, 16170, 19481, 23276, 27600, 32500, 38025, 44226, 51156, 58870, 67425, 76880, 87296, 98736, 111265, 124950, 139860, 156066, 173641, 192660, 213200, 235340
Offset: 0

Views

Author

Keywords

Comments

Also number of ways to legally insert two pairs of parentheses into a string of m := n-1 letters. (There are initially 2C(m+4,4) (A034827) ways to insert the parentheses, but we must subtract 2(m+1) for illegal clumps of 4 parentheses, 2m(m+1) for clumps of 3 parentheses, C(m+1,2) for 2 clumps of 2 parentheses and (m-1)C(m+1,2) for 1 clump of 2 parentheses, giving m(m+1)^2(m+2)/12 = n^2*(n^2-1)/12.) See also A000217.
E.g., for n=2 there are 6 ways: ((a))b, ((a)b), ((ab)), (a)(b), (a(b)), a((b)).
Let M_n denote the n X n matrix M_n(i,j)=(i+j); then the characteristic polynomial of M_n is x^(n-2) * (x^2-A002378(n)*x - a(n)). - Benoit Cloitre, Nov 09 2002
Let M_n denote the n X n matrix M_n(i,j)=(i-j); then the characteristic polynomial of M_n is x^n + a(n)x^(n-2). - Michael Somos, Nov 14 2002 [See A114327 for the infinite matrix M in triangular form. - Wolfdieter Lang, Feb 05 2018]
Number of permutations of [n] which avoid the pattern 132 and have exactly 2 descents. - Mike Zabrocki, Aug 26 2004
Number of tilings of a <2,n,2> hexagon.
a(n) is the number of squares of side length at least 1 having vertices at the points of an n X n unit grid of points (the vertices of an n-1 X n-1 chessboard). [For a proof, see Comments in A051602. - N. J. A. Sloane, Sep 29 2021] For example, on the 3 X 3 grid (the vertices of a 2 X 2 chessboard) there are four 1 X 1 squares, one (skew) sqrt(2) X sqrt(2) square, and one 3 X 3 square, so a(3)=6. On the 4 X 4 grid (the vertices of a 3 X 3 chessboard) there are 9 1 X 1 squares, 4 2 X 2 squares, 1 3 X 3 square, 4 sqrt(2) X sqrt(2) squares, and 2 sqrt(5) X sqrt(5) squares, so a(4) = 20. See also A024206, A108279. [Comment revised by N. J. A. Sloane, Feb 11 2015]
Kekulé numbers for certain benzenoids. - Emeric Deutsch, Jun 12 2005
Number of distinct components of the Riemann curvature tensor. - Gene Ward Smith, Apr 24 2006
a(n) is the number of 4 X 4 matrices (symmetrical about each diagonal) M = [a,b,c,d;b,e,f,c;c,f,e,b;d,c,b,a] with a+b+c+d=b+e+f+c=n+2; (a,b,c,d,e,f natural numbers). - Philippe Deléham, Apr 11 2007
If a 2-set Y and an (n-2)-set Z are disjoint subsets of an n-set X then a(n-3) is the number of 5-subsets of X intersecting both Y and Z. - Milan Janjic, Sep 19 2007
a(n) is the number of Dyck (n+1)-paths with exactly n-1 peaks. - David Callan, Sep 20 2007
Starting (1,6,20,50,...) = third partial sums of binomial transform of [1,2,0,0,0,...]. a(n) = Sum_{i=0..n} C(n+3,i+3)*b(i), where b(i)=[1,2,0,0,0,...]. - Borislav St. Borisov (b.st.borisov(AT)abv.bg), Mar 05 2009
4-dimensional square numbers. - Borislav St. Borisov (b.st.borisov(AT)abv.bg), Mar 05 2009
Equals row sums of triangle A177877; a(n), n > 1 = (n-1) terms in (1,2,3,...) dot (...,3,2,1) with additive carryovers. Example: a(4) = 20 = (1,2,3) dot (3,2,1) with carryovers = (1*3) + (2*2 + 3) + (3*1 + 7) = (3 + 7 + 10).
Convolution of the triangular numbers A000217 with the odd numbers A004273.
a(n+2) is the number of 4-tuples (w,x,y,z) with all terms in {0,...,n} and w-x=max{w,x,y,z}-min{w,x,y,z}. - Clark Kimberling, May 28 2012
The second level of finite differences is a(n+2) - 2*a(n+1) + a(n) = (n+1)^2, the squares. - J. M. Bergot, May 29 2012
Because the differences of this sequence give A000330, this is also the number of squares in an n+1 X n+1 grid whose sides are not parallel to the axes.
a(n+2) gives the number of 2*2 arrays that can be populated with 0..n such that rows and columns are nondecreasing. - Jon Perry, Mar 30 2013
For n consecutive numbers 1,2,3,...,n, the sum of all ways of adding the k-tuples of consecutive numbers for n=a(n+1). As an example, let n=4: (1)+(2)+(3)+(4)=10; (1+2)+(2+3)+(3+4)=15; (1+2+3)+(2+3+4)=15; (1+2+3+4)=10 and the sum of these is 50=a(4+1)=a(5). - J. M. Bergot, Apr 19 2013
If P(n,k) = n*(n+1)*(k*n-k+3)/6 is the n-th (k+2)-gonal pyramidal number, then a(n) = P(n,k)*P(n-1,k-1) - P(n-1,k)*P(n,k-1). - Bruno Berselli, Feb 18 2014
For n > 1, a(n) = 1/6 of the area of the trapezoid created by the points (n,n+1), (n+1,n), (1,n^2+n), (n^2+n,1). - J. M. Bergot, May 14 2014
For n > 3, a(n) is twice the area of a triangle with vertices at points (C(n,4),C(n+1,4)), (C(n+1,4),C(n+2,4)), and (C(n+2,4),C(n+3,4)). - J. M. Bergot, Jun 03 2014
a(n) is the dimension of the space of metric curvature tensors (those having the symmetries of the Riemann curvature tensor of a metric) on an n-dimensional real vector space. - Daniel J. F. Fox, Dec 15 2018
Coefficients in the terminating series identity 1 - 6*n/(n + 5) + 20*n*(n - 1)/((n + 5)*(n + 6)) - 50*n*(n - 1)*(n - 2)/((n + 5)*(n + 6)*(n + 7)) + ... = 0 for n = 1,2,3,.... Cf. A000330 and A005585. - Peter Bala, Feb 18 2019

Examples

			a(7) = 6*21 - (6*0 + 4*1 + 2*3 + 0*6 - 2*10 - 4*15) = 196. - _Bruno Berselli_, Jun 22 2013
G.f. = x^2 + 6*x^3 + 20*x^4 + 50*x^5 + 105*x^6 + 196*x^7 + 336*x^8 + ...
		

References

  • O. D. Anderson, Find the next sequence, J. Rec. Math., 8 (No. 4, 1975-1976), 241.
  • A. H. Beiler, Recreations in the Theory of Numbers, Dover, NY, 1964, p. 195.
  • S. J. Cyvin and I. Gutman, Kekulé structures in benzenoid hydrocarbons, Lecture Notes in Chemistry, No. 46, Springer, New York, 1988 (p.165).
  • R. Euler and J. Sadek, "The Number of Squares on a Geoboard", Journal of Recreational Mathematics, 251-5 30(4) 1999-2000 Baywood Pub. NY
  • S. Mukai, An Introduction to Invariants and Moduli, Cambridge, 2003; see p. 238.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

a(n) = ((-1)^n)*A053120(2*n, 4)/8 (one-eighth of fifth unsigned column of Chebyshev T-triangle, zeros omitted). Cf. A001296.
Second row of array A103905.
Third column of Narayana numbers A001263.
Partial sums of A000330.
The expression binomial(m+n-1,n)^2-binomial(m+n,n+1)*binomial(m+n-2,n-1) for the values m = 2 through 14 produces sequences A000012, A000217, A002415, A006542, A006857, A108679, A134288, A134289, A134290, A134291, A140925, A140935, A169937.
Cf. A220212 for a list of sequences produced by the convolution of the natural numbers (A000027) with the k-gonal numbers.

Programs

  • GAP
    List([0..45],n->Binomial(n^2,2)/6); # Muniru A Asiru, Dec 15 2018
  • Magma
    [n^2*(n^2-1)/12: n in [0..50]]; // Wesley Ivan Hurt, May 14 2014
    
  • Maple
    A002415 := proc(n) binomial(n^2,2)/6 ; end proc: # Zerinvary Lajos, Jan 07 2008
  • Mathematica
    Table[(n^4 - n^2)/12, {n, 0, 40}] (* Zerinvary Lajos, Mar 21 2007 *)
    LinearRecurrence[{5,-10,10,-5,1},{0,0,1,6,20},40] (* Harvey P. Dale, Nov 29 2011 *)
  • PARI
    a(n) = n^2 * (n^2 - 1) / 12;
    
  • PARI
    x='x+O('x^200); concat([0, 0], Vec(x^2*(1+x)/(1-x)^5)) \\ Altug Alkan, Mar 23 2016
    

Formula

G.f.: x^2*(1+x)/(1-x)^5. - Simon Plouffe in his 1992 dissertation
a(n) = Sum_{i=0..n} (n-i)*i^2 = a(n-1) + A000330(n-1) = A000217(n)*A000292(n-2)/n = A000217(n)*A000217(n-1)/3 = A006011(n-1)/3, convolution of the natural numbers with the squares. - Henry Bottomley, Oct 19 2000
a(n)+1 = A079034(n). - Mario Catalani (mario.catalani(AT)unito.it), Feb 12 2003
a(n) = 2*C(n+2, 4) - C(n+1, 3). - Paul Barry, Mar 04 2003
a(n) = C(n+2, 4) + C(n+1, 4). - Paul Barry, Mar 13 2003
a(n) = Sum_{k=1..n} A000330(n-1). - Benoit Cloitre, Jun 15 2003
a(n) = n*C(n+1,3)/2 = C(n+1,3)*C(n+1,2)/(n+1). - Mitch Harris, Jul 06 2006
a(n) = A006011(n)/3 = A008911(n)/2 = A047928(n-1)/12 = A083374(n)/6. - Zerinvary Lajos, May 09 2007
a(n) = (1/2)*Sum_{1 <= x_1, x_2 <= n} (det V(x_1,x_2))^2 = (1/2)*Sum_{1 <= i,j <= n} (i-j)^2, where V(x_1,x_2) is the Vandermonde matrix of order 2. - Peter Bala, Sep 21 2007
a(n) = C(n+1,3) + 2*C(n+1,4). - Borislav St. Borisov (b.st.borisov(AT)abv.bg), Mar 05 2009
a(n) = (1/48)*sinh(2*arccosh(n))^2. - Artur Jasinski, Feb 10 2010
a(n) = n*A000292(n-1)/2. - Tom Copeland, Sep 13 2011
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5), n > 4. - Harvey P. Dale, Nov 29 2011
a(n) = (n-1)*A000217(n-1) - Sum_{i=0..n-2} (n-1-2*i)*A000217(i) for n > 1. - Bruno Berselli, Jun 22 2013
a(n) = C(n,2)*C(n+1,3) - C(n,3)*C(n+1,2). - J. M. Bergot, Sep 17 2013
a(n) = Sum_{k=1..n} ( (2k-n)* k(k+1)/2 ). - Wesley Ivan Hurt, Sep 26 2013
a(n) = floor(n^2/3) + 3*Sum_{k=1..n} k^2*floor((n-k+1)/3). - Mircea Merca, Feb 06 2014
Euler transform of length 2 sequence [6, -1]. - Michael Somos, May 28 2014
G.f. x^2*2F1(3,4;2;x). - R. J. Mathar, Aug 09 2015
Sum_{n>=2} 1/a(n) = 21 - 2*Pi^2 = 1.260791197821282762331... . - Vaclav Kotesovec, Apr 27 2016
a(n) = A080852(2,n-2). - R. J. Mathar, Jul 28 2016
a(n) = A046092(n) * A046092(n-1)/48 = A000217(n) * A000217(n-1)/3. - Bruce J. Nicholson, Jun 06 2017
E.g.f.: (1/12)*exp(x)*x^2*(6 + 6*x + x^2). - Stefano Spezia, Dec 07 2018
Sum_{n>=2} (-1)^n/a(n) = Pi^2 - 9 (See A002388). - Amiram Eldar, Jun 28 2020

Extensions

Typo in link fixed by Matthew Vandermast, Nov 22 2010
Redundant comment deleted and more detail on relationship with A000330 added by Joshua Zucker, Jan 01 2013

A006542 a(n) = binomial(n,3)*binomial(n-1,3)/4.

Original entry on oeis.org

1, 10, 50, 175, 490, 1176, 2520, 4950, 9075, 15730, 26026, 41405, 63700, 95200, 138720, 197676, 276165, 379050, 512050, 681835, 896126, 1163800, 1495000, 1901250, 2395575, 2992626, 3708810, 4562425, 5573800, 6765440, 8162176, 9791320, 11682825, 13869450
Offset: 4

Views

Author

Keywords

Comments

Number of permutations of n+4 that avoid the pattern 132 and have exactly 3 descents. - Mike Zabrocki, Aug 26 2004
Kekulé numbers for certain benzenoids. - Emeric Deutsch, Jun 20 2005
a(n) = number of Dyck n-paths with exactly 4 peaks. - David Callan, Jul 03 2006
Six-dimensional figurate numbers for a hyperpyramid with pentagonal base. This corresponds to the sum(sum(sum(sum(1+sum(5*n))))) interpretation, see the Munafo webpage. - Robert Munafo, Jun 18 2009

References

  • S. J. Cyvin and I. Gutman, Kekulé structures in benzenoid hydrocarbons, Lecture Notes in Chemistry, No. 46, Springer, New York, 1988 (p. 166, no. 1).
  • S. Mukai, An Introduction to Invariants and Moduli, Cambridge, 2003; see p. 238.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

The expression binomial(m+n-1,n)^2-binomial(m+n,n+1)*binomial(m+n-2,n-1) for the values m = 2 through 14 produces the sequences A000012, A000217, A002415, A006542, A006857, A108679, A134288, A134289, A134290, A134291, A140925, A140935, A169937.
Fourth column of the table of Narayana numbers A001263.
Apart from a scale factor, a column of A124428.

Programs

  • GAP
    List([4..40], n-> n*(n-1)^2*(n-2)^2*(n-3)/144); # G. C. Greubel, Feb 24 2019
  • Magma
    [ n*((n-1)*(n-2))^2*(n-3)/144 : n in [4..40] ]; // Wesley Ivan Hurt, Jun 17 2014
    
  • Maple
    A006542:=-(1+3*z+z**2)/(z-1)**7; # conjectured by Simon Plouffe in his 1992 dissertation
    A006542:=n->n*((n-1)*(n-2))^2*(n-3)/144; seq(A006542(n), n=4..40); # Wesley Ivan Hurt, Jun 17 2014
  • Mathematica
    Table[Binomial[n, 3]*Binomial[n-1, 3]/4, {n, 4, 40}]
  • PARI
    a(n)=n*((n-1)*(n-2))^2*(n-3)/144
    
  • Sage
    [n*(n-1)^2*(n-2)^2*(n-3)/144 for n in (4..40)] # G. C. Greubel, Feb 24 2019
    

Formula

a(n) = C(n, 3)*C(n-1, 3)/4 = n*(n-1)^2*(n-2)^2*(n-3)/144.
a(n) = A000292(n-3)*A000292(n-2)/4.
E.g.f.: x^4*(6 + 6*x + x^2)*exp(x)/144. - Vladeta Jovovic, Jan 29 2003
a(n) = Sum(Sum(Sum(Sum(1 + Sum(5*n))))) = Sum (A006414). - Xavier Acloque, Oct 08 2003
a(n) = C(n, 6) + 3*C(n+1, 6) + C(n+2, 6). - Mike Zabrocki, Aug 26 2004
G.f.: x^4*(1 + 3*x + x^2)/(1-x)^7. - Emeric Deutsch, Jun 20 2005
a(n) = C(n-2, n-4)*C(n-1, n-3)*C(n, n-2)/18. - Zerinvary Lajos, Jul 29 2005
a(n) = C(n,4)*C(n,3)/n. - Mitch Harris, Jul 06 2006
a(n+2) = (1/4)*Sum_{1 <= x_1, x_2 <= n} x_1*x_2*(det V(x_1,x_2))^2 = (1/4)*Sum_{1 <= i,j <= n} i*j*(i-j)^2, where V(x_1,x_2) is the Vandermonde matrix of order 2. - Peter Bala, Sep 21 2007
a(n) = C(n-1,3)^2 - C(n-1,2)*C(n-1,4). - Gary Detlefs, Dec 05 2011
a(n) = A000292(A000217(n-1)) - A000217(A000292(n-1)). - Ivan N. Ianakiev, Jun 17 2014
a(n) = Product_{i=1..3} A002378(n-4+i)/A002378(i). - Bruno Berselli, Nov 12 2014 (Rewritten, Sep 01 2016.)
Sum_{n>=4} 1/a(n) = 238 - 24*Pi^2. - Jaume Oliver Lafont, Jul 10 2017
Sum_{n>=4} (-1)^n/a(n) = 134 - 192*log(2). - Amiram Eldar, Oct 19 2020
a(n) = A000332(n) + 5*A000579(n+1). - Yasser Arath Chavez Reyes, Aug 18 2024

Extensions

Zabroki and Lajos formulas offset corrected by Gary Detlefs, Dec 05 2011

A006857 a(n) = binomial(n+5,5) * binomial(n+5,4)/(n+5).

Original entry on oeis.org

1, 15, 105, 490, 1764, 5292, 13860, 32670, 70785, 143143, 273273, 496860, 866320, 1456560, 2372112, 3755844, 5799465, 8756055, 12954865, 18818646, 26883780, 37823500, 52474500, 71867250, 97260345, 130179231, 172459665, 226296280, 294296640, 379541184
Offset: 0

Views

Author

Keywords

Comments

Number of permutations of n+5 that avoid the pattern 132 and have exactly 4 descents.
Kekulé numbers for certain benzenoids. - Emeric Deutsch, Nov 18 2005
Partial sums of A114242. - Peter Bala, Sep 21 2007
Dimensions of certain Lie algebra (see reference for precise definition).

References

  • S. J. Cyvin and I. Gutman, Kekulé structures in benzenoid hydrocarbons, Lecture Notes in Chemistry, No. 46, Springer, New York, 1988 (pp. 167-169, Table 10.5/II/1).
  • S. Mukai, An Introduction to Invariants and Moduli, Cambridge, 2003; see p. 239.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

The expression binomial(m+n-1,n)^2-binomial(m+n,n+1)*binomial(m+n-2,n-1) for the values m = 2 through 14 produces the sequences A000012, A000217, A002415, A006542, A006857, A108679, A134288, A134289, A134290, A134291, A140925, A140935, A169937.
5th column of the table of Narayana numbers A001263.

Programs

  • Magma
    A006857:= func< n | Binomial(n+4,3)*Binomial(n+5,5)/4 >;
    [A006857(n): n in [0..40]]; // G. C. Greubel, Mar 12 2025
    
  • Maple
    a:=n->(n+1)*(n+2)^2*(n+3)^2*(n+4)^2*(n+5)/2880: seq(a(n),n=0..38); # Emeric Deutsch, Nov 18 2005
  • Mathematica
    Table[Binomial[n+5,5] * Binomial[n+5,4]/(n+5), {n, 0, 50}] (* T. D. Noe, May 29 2012 *)
    LinearRecurrence[{9,-36,84,-126,126,-84,36,-9,1},{1,15,105,490,1764,5292,13860,32670,70785},40] (* Harvey P. Dale, Oct 19 2024 *)
  • PARI
    a(n) = binomial(n+5,5) * binomial(n+5,4)/(n+5) \\ Charles R Greathouse IV, Jun 11 2015
    
  • PARI
    Vec((1+6*x+6*x^2+x^3)/(1-x)^9 + O(x^99)) \\ Altug Alkan, Sep 01 2016
    
  • SageMath
    def A006857(n): return binomial(n+4,3)*binomial(n+5,5)//4
    print([A006857(n) for n in range(41)]) # G. C. Greubel, Mar 12 2025

Formula

From - Vladeta Jovovic, Jan 29 2003: (Start)
a(n) = (n+4)!*(n+5)!/(2880*n!*(n+1)!).
E.g.f.: 1/2880*(2880 + 40320*x + 109440*x^2 + 105120*x^3 + 45000*x^4 + 9504*x^5 + 1016*x^6 + 52*x^7 + x^8)*exp(x). (End)
From Mike Zabrocki, Aug 26 2004: (Start)
a(n) = C(n+5,8) + 6*C(n+6,8) + 6*C(n+7,8) + C(n+8,8).
a(n) = C(n+4,4)*C(n+5,4)/5.
O.g.f.: (1 + 6*x + 6*x^2 + x^3)/(1-x)^9. (End)
From Wolfdieter Lang, Nov 13 2007: (Start)
a(n) = A001263(n+5,5).
Numerator polynomial of the g.f is the fourth row polynomial of the Narayana triangle. (End)
a(n)= C(n+4,4)^2 - C(n+4,3)*C(n+4,5). - Gary Detlefs, Dec 05 2011
a(n) = Product_{i=1..4} A002378(n+i)/A002378(i). - Bruno Berselli, Sep 01 2016
From Amiram Eldar, Oct 19 2020: (Start)
Sum_{n>=0} 1/a(n) = 25 * (79 - 8*Pi^2).
Sum_{n>=0} (-1)^n/a(n) = 595/3 - 20*Pi^2. (End)

Extensions

More terms from Vladeta Jovovic, Jan 29 2003
Better description from Mike Zabrocki, Aug 26 2004
New definition from N. J. A. Sloane, Aug 28 2010
Zabrocki formulas offset corrected by Gary Detlefs, Dec 05 2011

A132813 Triangle read by rows: A001263 * A127648 as infinite lower triangular matrices.

Original entry on oeis.org

1, 1, 2, 1, 6, 3, 1, 12, 18, 4, 1, 20, 60, 40, 5, 1, 30, 150, 200, 75, 6, 1, 42, 315, 700, 525, 126, 7, 1, 56, 588, 1960, 2450, 1176, 196, 8, 1, 72, 1008, 4704, 8820, 7056, 2352, 288, 9, 1, 90, 1620, 10080, 26460, 31752, 17640, 4320, 405, 10
Offset: 0

Views

Author

Gary W. Adamson, Sep 01 2007

Keywords

Comments

Also T(n,k) = binomial(n-1, k-1)*binomial(n, k-1), related to Narayana polynomials (see Sulanke reference). - Roger L. Bagula, Apr 09 2008
h-vector for cluster complex associated to the root system B_n. See p. 8, Athanasiadis and C. Savvidou. - Tom Copeland, Oct 19 2014

Examples

			First few rows of the triangle are:
  1;
  1,  2;
  1,  6,   3;
  1, 12,  18,   4;
  1, 20,  60,  40,   5;
  1, 30, 150, 200,  75,   6;
  1, 42, 315, 700, 525, 126, 7;
  ...
		

Crossrefs

Family of polynomials (see A062145): A008459 (c=1), this sequence (c=2), A062196 (c=3), A062145 (c=4), A062264 (c=5), A062190 (c=6).
Columns: A000012 (k=0), A002378 (k=1), A006011 (k=2), 4*A006542 (k=3), 5*A006857 (k=4), 6*A108679 (k=5), 7*A134288 (k=6), 8*A134289 (k=7), 9*A134290 (k=8), 10*A134291 (k=9).
Diagonals: A000027 (k=n), A002411 (k=n-1), A004302 (k=n-2), A108647 (k=n-3), A134287 (k=n-4).
Main diagonal: A000894.
Sums: (-1)^floor((n+1)/2)*A001405 (signed row), A001700 (row), A203611 (diagonal).
Cf. A103371 (mirrored).

Programs

  • GAP
    Flat(List([0..10],n->List([0..n], k->(k+1)*Binomial(n+1,k+1)*Binomial(n+1,k)/(n+1)))); # Muniru A Asiru, Feb 26 2019
    
  • Haskell
    a132813 n k = a132813_tabl !! n !! k
    a132813_row n = a132813_tabl !! n
    a132813_tabl = zipWith (zipWith (*)) a007318_tabl $ tail a007318_tabl
    -- Reinhard Zumkeller, Apr 04 2014
    
  • Magma
    /* triangle */ [[(k+1)*Binomial(n+1,k+1)*Binomial(n+1,k)/(n+1): k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, Oct 19 2014
    
  • Maple
    P := (n, x) -> hypergeom([1-n, -n], [1], x): for n from 1 to 9 do PolynomialTools:-CoefficientList(simplify(P(n,x)),x) od; # Peter Luschny, Nov 26 2014
  • Mathematica
    T[n_,k_]=Binomial[n-1,k-1]*Binomial[n,k-1]; Table[Table[T[n,k],{k,1,n}],{n,1,11}]; Flatten[%] (* Roger L. Bagula, Apr 09 2008 *)
    P[n_, x_] := HypergeometricPFQ[{1-n, -n}, {1}, x]; Table[CoefficientList[P[n, x], x], {n, 1, 10}] // Flatten (* Jean-François Alcover, Nov 27 2014, after Peter Luschny *)
  • PARI
    tabl(nn) = {for (n = 1, nn, for (k = 1, n, print1(binomial(n-1, k-1)*binomial(n, k-1) , ", ");););} \\ Michel Marcus, Feb 12 2014
    
  • SageMath
    def A132813(n,k): return binomial(n,k)*binomial(n+1,k)
    print(flatten([[A132813(n,k) for k in range(n+1)] for n in range(13)])) # G. C. Greubel, Mar 12 2025

Formula

T(n,k) = (k+1)*binomial(n+1,k+1)*binomial(n+1,k)/(n+1), n >= k >= 0.
From Roger L. Bagula, May 14 2010: (Start)
T(n, m) = coefficients(p(x,n)), where
p(x,n) = (1-x)^(2*n)*Sum_{k >= 0} binomial(k+n-1, k)*binomial(n+k, k)*x^k,
or p(x,n) = (1-x)^(2*n)*Hypergeometric2F1([n, n+1], [1], x). (End)
T(n,k) = binomial(n,k) * binomial(n+1,k). - Reinhard Zumkeller, Apr 04 2014
These are the coefficients of the polynomials Hypergeometric2F1([1-n,-n], [1], x). - Peter Luschny, Nov 26 2014
G.f.: A(x,y) = A281260(x,y)/(1-A281260(x,y))/x. - Vladimir Kruchinin, Oct 10 2020

A134288 a(n) = binomial(n+7,7)*binomial(n+7,6)/(n+7).

Original entry on oeis.org

1, 28, 336, 2520, 13860, 60984, 226512, 736164, 2147145, 5725720, 14158144, 32821152, 71954064, 150233760, 300467520, 578399976, 1075994073, 1941008916, 3405278800, 5824819000, 9735768900, 15931258200, 25565576400, 40293571500, 62455035825, 95315993136
Offset: 0

Views

Author

Wolfdieter Lang, Nov 13 2007

Keywords

Comments

Seventh column of Narayana triangle A001263.
In the Narayana triangle N(n,k) = A001263(n,k) the sequence of column no. k>=1 (without leading zeros) coincides with the sequence of the diagonal d=k-1>=0 (d=0 for the main diagonal N(n,n)).
Kekulé numbers K(O(1,6,n)) for certain benzenoids (see the Cyvin-Gutman reference, p. 105, eq. (i)).

References

  • S. J. Cyvin and I. Gutman, Kekulé structures in benzenoid hydrocarbons, Lecture Notes in Chemistry, No. 46, Springer, New York, 1988.
  • S. Mukai, An Introduction to Invariants and Moduli, Cambridge, 2003; Prop. 8.4, case n=8. - N. J. A. Sloane, Aug 28 2010.

Crossrefs

Cf. A002378.
Cf. A108679 (sixth column of Narayana triangle).
Cf. A134289 (eighth column of Narayana triangle).

Programs

  • GAP
    List([0..30], n-> Binomial(n+7, 7)*Binomial(n+6, 5)/6); # G. C. Greubel, Aug 27 2019
  • Magma
    [Binomial(n+7, 7)*Binomial(n+6, 5)/6: n in [0..30]]; // G. C. Greubel, Aug 27 2019
    
  • Maple
    a := n -> ((n+1)*((n+2)*(n+3)*(n+4)*(n+5)*(n+6))^2*(n+7))/3628800:
    seq(a(n), n=0..25); # Peter Luschny, Sep 01 2016
  • Mathematica
    Table[Binomial[n+7,7] Binomial[n+7,6]/(n+7),{n,0,30}] (* or *) LinearRecurrence[{13,-78,286,-715,1287,-1716,1716,-1287,715,-286,78,-13, 1}, {1,28,336,2520,13860,60984,226512,736164,2147145,5725720, 14158144, 32821152,71954064}, 30] (* Harvey P. Dale, Sep 28 2016 *)
  • PARI
    Vec((1+15*x+50*x^2+50*x^3+15*x^4+x^5)/(1-x)^13 + O(x^30)) \\ Altug Alkan, Sep 01 2016
    
  • PARI
    vector(30, n, binomial(n+6, 7)*binomial(n+5, 5)/6) \\ G. C. Greubel, Aug 27 2019
    
  • Sage
    [binomial(n+7, 7)*binomial(n+6, 5)/6 for n in (0..30)] # G. C. Greubel, Aug 27 2019
    

Formula

a(n) = A001263(n+7,7).
O.g.f.: (1 + 15*x + 50*x^2 + 50*x^3 + 15*x^4 + x^5)/(1-x)^13. Numerator polynomial is the sixth row polynomial of the Narayana triangle.
a(n) = binomial(n+6,6)^2 - binomial(n+6,5)*binomial(n+6,7). - Gary Detlefs, Dec 05 2011
a(n) = Product_{i=1..6} A002378(n+i)/A002378(i). - Bruno Berselli, Sep 01 2016
From Amiram Eldar, Oct 19 2020: (Start)
Sum_{n>=0} 1/a(n) = 1741019/20 - 8820*Pi^2.
Sum_{n>=0} (-1)^n/a(n) = 210*Pi^2 - 41433/20. (End)

Extensions

Edited by N. J. A. Sloane, Aug 28 2010

A134290 Ninth column (and diagonal) of Narayana triangle A001263.

Original entry on oeis.org

1, 45, 825, 9075, 70785, 429429, 2147145, 9202050, 34763300, 118195220, 367479684, 1057896060, 2848181700, 7229999700, 17420856420, 40067969766, 88385227425, 187746398125, 385374185625, 766691800875, 1482270815025, 2791289197125, 5130235085625, 9219552907500
Offset: 0

Views

Author

Wolfdieter Lang, Nov 13 2007

Keywords

Comments

See a comment under A134288 on the coincidence of column and diagonal sequences.
Kekulé numbers K(O(1,8,n)) for certain benzenoids (see the Cyvin-Gutman reference, p. 105, eq. (i)).

References

  • S. J. Cyvin and I. Gutman, Kekulé structures in benzenoid hydrocarbons, Lecture Notes in Chemistry, No. 46, Springer, New York, 1988.

Crossrefs

Cf. A002378.
Cf. A134289 (eighth column of Narayana triangle).
Cf. A134291 (tenth column of Narayana triangle).

Programs

  • GAP
    List([0..25], n-> Binomial(n+9,9)*Binomial(n+8,7)/8); # G. C. Greubel, Aug 28 2019
  • Magma
    [Binomial(n+9,9)*Binomial(n+8,7)/8: n in [0..25]]; // G. C. Greubel, Aug 28 2019
    
  • Maple
    a := n -> ((n+1)*((n+2)*(n+3)*(n+4)*(n+5)*(n+6)*(n+7)*(n+8))^2*(n+9))/14631321600:
    seq(a(n), n=0..23); # Peter Luschny, Sep 01 2016
  • Mathematica
    Table[Binomial[n+9,9]*Binomial[n+8,7]/8, {n,0,25}] (* G. C. Greubel, Aug 28 2019 *)
  • PARI
    Vec((1+28*x+196*x^2+490*x^3+490*x^4+196*x^5+28*x^6+x^7)/(1-x)^17 + O(x^25)) \\ Altug Alkan, Sep 01 2016
    
  • PARI
    vector(25, n, binomial(n+8,9)*binomial(n+7,7)/8) \\ G. C. Greubel, Aug 28 2019
    
  • Sage
    [binomial(n+9,9)*binomial(n+8,7)/8 for n in (0..25)] # G. C. Greubel, Aug 28 2019
    

Formula

a(n) = A001263(n+9,9) = binomial(n+9,9)*binomial(n+9,8)/(n+9).
O.g.f.: P(8,x)/(1-x)^17 with the numerator polynomial P(8,x) = Sum_{k=1..8} A001263(8,k)*x^(k-1), the eighth row polynomial of the Narayana triangle: P(8,x) = 1 + 28*x + 196*x^2 + 490*x^3 + 490*x^4 + 196*x^5 + 28*x^6 + x^7.
a(n) = Product_{i=1..8} A002378(n+i)/A002378(i). - Bruno Berselli, Sep 01 2016
From Amiram Eldar, Oct 19 2020: (Start)
Sum_{n>=0} 1/a(n) = 497925669/175 - 288288*Pi^2.
Sum_{n>=0} (-1)^n/a(n) = 580367/35 - 1680*Pi^2. (End)

A169937 a(n) = binomial(m+n-1,n)^2 - binomial(m+n,n+1)*binomial(m+n-2,n-1) with m = 14.

Original entry on oeis.org

1, 91, 3185, 63700, 866320, 8836464, 71954064, 488259720, 2848181700, 14620666060, 67255063876, 281248448936, 1081724803600, 3863302870000, 12914469594000, 40680579221100, 121443493851225, 345280521733875, 938920716995625, 2451077240157000, 6162708489537600
Offset: 0

Views

Author

N. J. A. Sloane, Aug 28 2010

Keywords

Comments

13th column (and diagonal) of the triangle A001263. - Bruno Berselli, May 07 2012

References

  • S. Mukai, An Introduction to Invariants and Moduli, Cambridge, 2003; Prop. 8.4, case n=14.

Crossrefs

The expression binomial(m+n-1,n)^2-binomial(m+n,n+1)*binomial(m+n-2,n-1) for the values m = 2 through 14 produces the sequences A000012, A000217, A002415, A006542, A006857, A108679, A134288, A134289, A134290, A134291, A140925, A140935, A169937.
Cf. A002378.

Programs

  • Magma
    [(1/13)*Binomial(n+12,12)^2*(n+13)/(n+1): n in [0..20]]; // Bruno Berselli, Nov 09 2011
    
  • Maple
    f:=m->[seq( binomial(m+n-1,n)^2-binomial(m+n,n+1)*binomial(m+n-2,n-1), n=0..20)]; f(14);
  • Mathematica
    Table[Binomial[13+n,n]^2-Binomial[14+n,n+1]Binomial[12+n,n-1],{n,0,20}] (* Harvey P. Dale, Nov 09 2011 *)
  • PARI
    a(n)=binomial(n+12,12)^2*(n+13)/(n+1)/13 \\ Charles R Greathouse IV, Nov 09 2011

Formula

a(n) = (1/13)*A010965(n+12)^2*(n+13)/(n+1). - Bruno Berselli, Nov 09 2011
a(n) = Product_{i=1..12} A002378(n+i)/A002378(i). - Bruno Berselli, Sep 01 2016
From Amiram Eldar, Oct 19 2020: (Start)
Sum_{n>=0} 1/a(n) = 45997360927193/23100 - 201753552*Pi^2.
Sum_{n>=0} (-1)^n/a(n) = 16431564019/23100 - 72072*Pi^2. (End)
Showing 1-7 of 7 results.