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!)
A259454 Triangle T(n,k) (0 <= k <= n) read by rows, arising from the study of rook polynomials. 1

%I #19 Feb 18 2016 12:18:42

%S 1,1,3,1,6,7,1,9,22,14,1,12,46,64,26,1,15,79,177,162,46,1,18,121,380,

%T 571,374,79,1,21,172,700,1496,1632,809,133,1,24,232,1164,3261,5116,

%U 4270,1668,221,1,27,301,1799,6271,13013,15754,10446,3316,364

%N Triangle T(n,k) (0 <= k <= n) read by rows, arising from the study of rook polynomials.

%C See Riordan 1954 page 18 equation (9). - _Michael Somos_, Aug 26 2015

%H Alois P. Heinz, <a href="/A259454/b259454.txt">Rows n = 0..140, flattened</a>

%H J. Riordan, <a href="/A000211/a000211.pdf">Discordant permutations</a>, Scripta Math., 20 (1954), 14-23. [Annotated scanned copy] (See triangle on page 18)

%F From Eq. (11) of Riordan (1954): T(n,k) = T(n-1,k) + 2*T(n-1,k-1) + T(n-2,k-1) - T(n-3,k-3) + delta(n,k), where delta(n,k)=1 iff n=k, otherwise 0.

%F Sum_{n, k} T(n, k) * x^n*y^k = 1 / ((1 - y*x) * (1 - (1 + 2*y)*x - y*x^2 + y^3*x^3)). - _Michael Somos_, Aug 26 2015

%e Triangle T(n,k) begins:

%e 1;

%e 1, 3;

%e 1, 6, 7;

%e 1, 9, 22, 14;

%e 1, 12, 46, 64, 26;

%e 1, 15, 79, 177, 162, 46;

%e 1, 18, 121, 380, 571, 374, 79;

%e 1, 21, 172, 700, 1496, 1632, 809, 133;

%e 1, 24, 232, 1164, 3261, 5116, 4270, 1668, 221;

%e G.f. = 1 + (1 + 3*t)*u + (1 + 6*t + 7*t^2)*u^2 + ...

%p T:= proc(n, k) option remember; `if`(k<0 or k>n, 0,

%p T(n-1, k) +2*T(n-1, k-1) +T(n-2, k-1)

%p -T(n-3, k-3) +`if`(n=k, 1, 0))

%p end:

%p seq(seq(T(n, k), k=0..n), n=0..10); # _Alois P. Heinz_, Jul 02 2015

%t T[n_, k_] /; 0 <= k <= n := T[n, k] = T[n-1, k] + 2*T[n-1, k-1] + T[n-2, k - 1] - T[n-3, k-3] + Boole[n == k]; T[_, _] = 0; Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Feb 18 2016 *)

%o (PARI) {T(n, k) = polcoeff( polcoeff( 1 / ((1 - y*x) * (1 - (1 + 2*y)*x - y*x^2 + y^3*x^3)) + x * O(x^n), n), k)}; /* _Michael Somos_, Aug 26 2015 */

%Y Some diagonals: A001924, A001925, A001926.

%K nonn,tabl

%O 0,3

%A _N. J. A. Sloane_, Jun 28 2015

%E More terms from _Alois P. Heinz_, Jul 02 2015

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 April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)