The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A237621 Riordan array (1+x, x*(1-x)); inverse of Riordan array A237619. 1
1, 1, 1, 0, 0, 1, 0, -1, -1, 1, 0, 0, -1, -2, 1, 0, 0, 1, 0, -3, 1, 0, 0, 0, 2, 2, -4, 1, 0, 0, 0, -1, 2, 5, -5, 1, 0, 0, 0, 0, -3, 0, 9, -6, 1, 0, 0, 0, 0, 1, -5, -5, 14, -7, 1, 0, 0, 0, 0, 0, 4, -5, -14, 20, -8, 1, 0, 0, 0, 0, 0, -1, 9, 0, -28, 27, -9, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,14
LINKS
FORMULA
T(n,k) = T(n-1,k-1) - T(n-2,k-1), T(0,0) = T(1,0) = T(1,1) = 1, T(n,k) = 0 if k<0 or if k>n.
Sum_{k=0..n} T(n, k) = A057079(n).
EXAMPLE
Triangles begins:
1;
1, 1;
0, 0, 1;
0, -1, -1, 1;
0, 0, -1, -2, 1;
0, 0, 1, 0, -3, 1;
0, 0, 0, 2, 2, -4, 1;
0, 0, 0, -1, 2, 5, -5, 1;
0, 0, 0, 0, -3, 0, 9, -6, 1;
0, 0, 0, 0, 1, -5, -5, 14, -7, 1;
...
Production matrix is:
1, 1;
-1, -1, 1;
0, -1, -1, 1;
-1, -2, -1, -1, 1;
-2, -5, -2, -1, -1, 1;
-6, -14, -5, -2, -1, -1, 1;
-18, -42, -14, -5, -2, -1, -1, 1;
-57, -132, -42, -14, -5, -2, -1, -1, 1;
-186, -429, -132, -42, -14, -5, -2, -1, -1, 1;
... (columns are A126983 and A115140)
MATHEMATICA
T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[n<2, 1, T[n-1, k-1] - T[n-2, k-1] ]];
Table[T[n, k], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, May 26 2022 *)
PROG
(SageMath)
def T(n, k): # T = A237621
if (k<0 or k>n): return 0
elif (n<2): return 1
else: return T(n-1, k-1) - T(n-2, k-1)
flatten([[T(n, k) for k in (0..n)] for n in (0..12)]) # G. C. Greubel, May 26 2022
CROSSREFS
Cf. A057079 (row sums), A237619.
Sequence in context: A345415 A096608 A155102 * A214625 A363339 A334195
KEYWORD
sign,tabl
AUTHOR
Philippe Deléham, Feb 10 2014
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 23 00:54 EDT 2024. Contains 372758 sequences. (Running on oeis4.)