OFFSET
0,5
COMMENTS
W_n(x) is the family of polynomials in x with integer coefficients given by W_n(x) = sin((2n+1)arccos(x)/2)/(sin(arccos(x)/2)).
These polynomials are intimately linked with the Chebyshev polynomials of the first and second kinds, and represent the polynomials associated with the Dirichlet kernel.
FORMULA
W_{n+1} = 2xW_n(x) - W_{n-1}, W_0(x)=1, W_1(x)=2x+1.
EXAMPLE
The triangle is given here as W_0(0)=1, W_1(0)=1, W_0(1)=1, W_2(0)=-1, W_1(1)=3, W_0(2)=1, W_3(0)=-1, W_2(1)=5 ...
MATHEMATICA
W[0, _] = 1; W[1, x_] := 2 x + 1; W[n_, x_] := W[n, x] = 2 x W[n - 1, x] - W[n - 2, x]; Table[W[n - x, x] , {n, 0, 9}, {x, 0, n}] // Flatten (* Jean-François Alcover, Jun 11 2017 *)
CROSSREFS
KEYWORD
AUTHOR
Jonny Griffiths, Aug 28 2013
STATUS
approved