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-2 of 2 results.

A097472 Number of different candle trees having a total of m edges.

Original entry on oeis.org

1, 3, 10, 31, 96, 296, 912, 2809, 8651, 26642, 82047, 252672, 778128, 2396320, 7379697, 22726483, 69988378, 215535903, 663763424, 2044122936, 6295072048, 19386276329, 59701891739, 183857684514, 566207320575, 1743689586432
Offset: 0

Views

Author

Alexander Malkis, Sep 18 2004

Keywords

Comments

A candle tree is a graph on the plane square lattice Z X Z whose edges have length one with the following properties: (a) It contains a line segment ("trunk") of length from 0 to m on the vertical axis, its lowest node is at the origin. (b) It contains horizontal line segments ("branches"); each of them intersects the trunk. (c) Each branch is allowed to have "candles", which are vertical edges of length 1, whose lower node is on a branch.
Row sums of triangle in A238241. - Philippe Deléham, Feb 21 2014

Crossrefs

Bisection of A060945 and |A077930|.

Programs

  • Mathematica
    CoefficientList[Series[1/(x^4+2x^3-x^2-3x+1),{x,0,30}],x] (* or *) LinearRecurrence[{3,1,-2,-1},{1,3,10,31},30] (* Harvey P. Dale, Jun 14 2011 *)
  • Maxima
    a(n):=sum(sum(binomial(k,n-m-k+1)*binomial(k+2*m-1,2*m-1),k,1,n-m+1),m,1,n)+1; /* Vladimir Kruchinin, May 12 2011 */
    
  • PARI
    a(n)=sum(m=1,n,sum(k=1,n-m+1,binomial(k,n-m-k+1)*binomial(k+2*m-1,2*m-1))) \\ Charles R Greathouse IV, Jun 17 2013

Formula

a(n) = Sum_{s, d, k>=0 with s+d+k=m} binomial(s+2d+1, s)*binomial(s, k);
generating function = 1/((1-x)*(1-2*x-3*x^2-x^3)).
a(n) = 3*a(n-1) + a(n-2) - 2*a(n-3) - a(n-4);
a(n) = 1 + Sum_{m=1..n} Sum_{k=1..n-m+1} binomial(k, n-m-k+1)*binomial(k+2*m-1,2*m-1). - Vladimir Kruchinin, May 12 2011
a(n) = Sum_{k=0..n} A238241(n,k). - Philippe Deléham, Feb 21 2014
a(n) - a(n-1) = A218836(n). - R. J. Mathar, Jun 17 2020

A152440 Riordan matrix (1/(1-x-x^2),x/(1-x-x^2)^2).

Original entry on oeis.org

1, 1, 1, 2, 3, 1, 3, 9, 5, 1, 5, 22, 20, 7, 1, 8, 51, 65, 35, 9, 1, 13, 111, 190, 140, 54, 11, 1, 21, 233, 511, 490, 255, 77, 13, 1, 34, 474, 1295, 1554, 1035, 418, 104, 15, 1, 55, 942, 3130, 4578, 3762, 1925, 637, 135, 17, 1, 89, 1836, 7285, 12720, 12573, 7865, 3276
Offset: 0

Views

Author

Emanuele Munarini, Dec 04 2008, Dec 05 2008

Keywords

Comments

From Philippe Deléham, Feb 20 2014: (Start)
T(n,0) = A000045(n+1);
T(n+1,1) = A001628(n);
T(n+2,2) = A001873(n);
T(n+3,3) = A001875(n).
Row sums are A238236(n). (End)

Examples

			Triangle begins:
1;
1, 1;
2, 3, 1;
3, 9, 5, 1;
5, 22, 20, 7, 1;
8, 51, 65, 35, 9, 1;
13, 111, 190, 140, 54, 11, 1;
21, 233, 511, 490, 255, 77, 13, 1, etc.
- _Philippe Deléham_, Feb 20 2014
		

Crossrefs

The first row is given by A000045.

Formula

a(n,k) = sum( binomial(n-j-k,2k) binomial(n-j-k,j), j=0...(n-k)/2 )
a(n,k) = sum( binomial(i+2k,2k) binomial(n-i+k,i+2k), i=0...(n - k)/2 )
Recurrence: a(n+4,k+1) - 2 a(n+3,k+1) - a(n+3,k) - a(n+2,k+1) + 2 a(n+1,k+1) + a(n,k+1) = 0
GF for columns: 1/(1-x-x^2)(x/(1-x-x^2)^2)^k
GF: (1-x-x^2)/((1-x-x^2)^2-xy)
T(n,k) = A037027(n+k, 2*k). - Philippe Deléham, Feb 20 2014
Showing 1-2 of 2 results.