login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187889 Riordan matrix (1/(1-x-x^2-x^3),(x+x^2+x^3)/(1-x-x^2-x^3). 2
1, 1, 1, 2, 3, 1, 4, 8, 5, 1, 7, 19, 18, 7, 1, 13, 43, 54, 32, 9, 1, 24, 94, 147, 117, 50, 11, 1, 44, 200, 375, 375, 216, 72, 13, 1, 81, 418, 913, 1100, 799, 359, 98, 15, 1, 149, 861, 2147, 3027, 2657, 1507, 554, 128, 17, 1, 274, 1753, 4914, 7937, 8174, 5610, 2603, 809, 162, 19, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..65.

FORMULA

a(n,k) = Sum_{i=0..n-k} binomial(i+k,k)*trinomial(i+k,n-k-i), where trinomial(n,k) are the trinomial coefficients (A027907).

Recurrence: a(n+3,k+1) = a(n+2,k+1) + a(n+2,k) + a(n+1,k+1) + a(n+1,k) + a(n,k+1) + a(n,k)

EXAMPLE

Triangle begins:

1

1,1

2,3,1

4,8,5,1

7,19,18,7,1

13,43,54,32,9,1

24,94,147,117,50,11,1

44,200,375,375,216,72,13,1

81,418,913,1100,799,359,98,15,1

MATHEMATICA

(* Function RiordanSquare defined in A321620. *)

RiordanSquare[1/(1 - x - x^2- x^3), 11] // Flatten (* Peter Luschny, Nov 27 2018 *)

PROG

(Maxima) trinomial(n, k):=coeff(expand((1+x+x^2)^n), x, k);

create_list(sum(binomial(i+k, k)*trinomial(i+k, n-k-i), i, 0, n-k), n, 0, 8, k, 0, n);

CROSSREFS

Cf. A104580, A321620.

Sequence in context: A263757 A021436 A179738 * A353593 A118800 A200139

Adjacent sequences:  A187886 A187887 A187888 * A187890 A187891 A187892

KEYWORD

nonn,easy,tabl

AUTHOR

Emanuele Munarini, Mar 15 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 00:36 EDT 2022. Contains 353886 sequences. (Running on oeis4.)