OFFSET
0,14
FORMULA
G.f.: A(x,y) = (1 - y + y^2)/(1 - x*(1+y)). - Andrew Howroyd, Mar 03 2023
EXAMPLE
Row n=0 : 1, -1, 1 ;
Row n=1 : 1, 0, 0, 1 ;
Row n=2 : 1, 1, 0, 1, 1 ;
Row n=3 : 1, 2, 1, 1, 2, 1 ;
Row n=4 : 1, 3, 3, 2, 3, 3, 1 ;
Row n=5 : 1, 5, 10, 11, 10, 11, 10, 5, 1;
Row n=6 : 1, 6, 15, 21, 21, 21, 21, 15, 6, 1;
...
PROG
(PARI) row(n)=Vecrev(polcoef((1 - y + y^2)/(1 - x*(1+y)) + O(x*x^n), n))
{ for(n=0, 10, print(row(n))) } \\ Andrew Howroyd, Mar 03 2023
CROSSREFS
KEYWORD
sign,tabf
AUTHOR
Philippe Deléham, Apr 07 2009
STATUS
approved