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!)
A259708 Triangle T(n,k) (0 <= k <= n) giving coefficients of certain polynomials related to Fibonacci numbers. 3

%I #27 Mar 30 2020 04:19:37

%S 1,0,1,1,-1,2,0,3,0,3,1,0,14,4,5,0,8,22,60,22,8,1,6,99,244,279,78,13,

%T 0,21,240,1251,2016,1251,240,21,1,25,715,5245,14209,14083,5329,679,34,

%U 0,55,1828,21532,88060,139930,88060,21532,1828,55,1,78,4817,83060,507398,1218920,1219382,507068,83225,4762,89

%N Triangle T(n,k) (0 <= k <= n) giving coefficients of certain polynomials related to Fibonacci numbers.

%C The terms are the coefficients of the polynomials given by r_0(x) = 1; r_1(x) = x; r_(n+1) = (n+1)*x*r_n(x) + x*(1-x)*(r_n)'(x) + (1 - x)^2*r_(n-1)(x). [Carlitz, (1.6)]. Note: Carlitz wrongly states r_1(x) = 1. - _Eric M. Schmidt_, Jul 10 2015

%H Eric M. Schmidt, <a href="/A259708/b259708.txt">Rows n = 0..50, flattened</a>

%H L. Carlitz, <a href="/A006502/a006502.pdf">Some polynomials related to Fibonacci and Eulerian numbers</a>, Fib. Quart., 16 (1978), 217. (Annotated scanned copy)

%H L. Carlitz, <a href="http://www.fq.math.ca/Scanned/16-3/carlitz1.pdf">Some polynomials related to Fibonacci and Eulerian numbers</a>, Fib. Quart., 16 (1978), 216-226.

%F T(0,0) = 1; T(n+1,k) = (n-k+2)*T(n,k-1) + k*T(n,k) + T(n-1,k) - 2*T(n-1,k-1) + T(n-1,k-2), where we put T(n,k) = 0 if n < 0 or k < 0. As special cases, T(n,n) = Fibonacci(n+1) and T(n,0) = 1 (n even) or 0 (n odd). - Rewritten by _Eric M. Schmidt_, Jul 10 2015

%e Triangle begins:

%e 1,

%e 0,1,

%e 1,-1,2,

%e 0,3,0,3,

%e 1,0,14,4,5,

%e 0,8,22,60,22,8,

%e 1,6,99,244,279,78,13,

%e 0,21,240,1251,2016,1251,240,21,

%e ...

%p A259708 := proc(n,k)

%p if k < 0 or k > n then

%p 0;

%p elif k =0 and n =0 then

%p 1;

%p else

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

%p end if ;

%p end proc: # _R. J. Mathar_, Jun 18 2019

%t T[n_, k_] := T[n, k] = If[k < 0 || k > n, 0, If[k == 0 && n == 0, 1, (n - k + 1) T[n - 1, k - 1] + k T[n - 1, k] + T[n - 2, k] - 2 T[n - 2, k - 1] + T[n - 2, k - 2]]];

%t Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Mar 30 2020 *)

%o (Sage)

%o @CachedFunction

%o def T(n,k) :

%o if n < 0 or k < 0 : return 0

%o if n == 0 and k == 0 : return 1

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

%o # _Eric M. Schmidt_, Jul 10 2015

%Y Diagonals include A000045, A259709, A006502.

%Y Cf. A000142 (row sums).

%K sign,tabl,easy

%O 0,6

%A _N. J. A. Sloane_, Jul 05 2015

%E More terms from and name revised by _Eric M. Schmidt_, Jul 10 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 25 21:09 EDT 2024. Contains 371989 sequences. (Running on oeis4.)