OFFSET
0,6
LINKS
G. C. Greubel, Rows n = 0..100 of triangle, flattened
EXAMPLE
First few rows of the triangle:
1;
1, 1;
0, 1, 2;
0, 0, 2, 3;
0, 0, 0, 3, 5;
0, 0, 0, 0, 5, 8;
...
MATHEMATICA
Table[If[k==n, Fibonacci[n+1], If[k==n-1, Fibonacci[n], 0]], {n, 0, 15}, {k, 0, n}]//Flatten (* G. C. Greubel, Jul 11 2019 *)
PROG
(PARI) T(n, k) = if(k==n, fibonacci(n+1), if(k==n-1, fibonacci(n), 0)); \\ G. C. Greubel, Jul 11 2019
(Magma) [k eq n select Fibonacci(n+1) else k eq n-1 select Fibonacci(n) else 0: k in [0..n], n in [0..15]]; // G. C. Greubel, Jul 11 2019
(Sage)
def T(n, k):
if (k==n): return fibonacci(n+1)
elif (k==n-1): return fibonacci(n)
else: return 0
[[T(n, k) for k in (0..n)] for n in (0..15)] # G. C. Greubel, Jul 11 2019
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Mar 10 2007
EXTENSIONS
More terms added by G. C. Greubel, Jul 11 2019
STATUS
approved