OFFSET
0,1
LINKS
G. C. Greubel, Rows n = 0..50 of the triangle, flattened
FORMULA
EXAMPLE
Triangle begins as:
2;
1, 1;
1, 6, 1;
1, 27, 27, 1;
1, 88, 672, 88, 1;
1, 225, 9150, 9150, 225, 1;
1, 486, 98385, 395352, 98385, 486, 1;
1, 931, 1126951, 11748681, 11748681, 1126951, 931, 1;
1, 1632, 14600320, 402703120, 588593280, 402703120, 14600320, 1632, 1;
MATHEMATICA
A001263[n_, k_]:= Binomial[n-1, k-1]*Binomial[n, k]/(n-k+1);
T[n_, k_]:= If[n==1, 1, f[n, k] + f[n, n-k]];
Table[T[n, k], {n, 0, 12}, {k, 0, n}]//Flatten (* modified by G. C. Greubel, Jan 11 2022 *)
PROG
(Magma)
A001263:= func< n, k | Binomial(n-1, k-1)*Binomial(n, k)/(n-k+1) >;
A157118:= func< n, k | n eq 1 select 1 else f(n, k) + f(n, n-k) >;
[A157118(n, k): k in [0..n], n in [0..12]]; // G. C. Greubel, Jan 11 2022
(Sage)
def A001263(n, k): return binomial(n-1, k-1)*binomial(n, k)/(n-k+1)
def A157118(n, k): return 1 if (n==1) else f(n, k) + f(n, n-k)
flatten([[A157118(n, k) for k in (0..n)] for n in (0..12)]) # G. C. Greubel, Jan 11 2022
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Roger L. Bagula, Feb 23 2009
EXTENSIONS
Edited by G. C. Greubel, Jan 11 2022
STATUS
approved