OFFSET
0,5
LINKS
G. C. Greubel, Rows n = 0..100 of the triangle, flattened
FORMULA
T(n, k) = 2*A132735(n, k) - 1, an infinite lower triangular matrix.
T(n,0) = T(n,n) = 1; otherwise T(n,k) = 2*C(n,k) + 1. - Franklin T. Adams-Watters, Jul 06 2009
Sum_{k=0..n} T(n, k) = 2^(n+1) + n - 3 + 2*[n=0] = A132738(n). - G. C. Greubel, Feb 15 2021
EXAMPLE
First few rows of the triangle are:
1;
1, 1;
1, 5, 1;
1, 7, 7, 1;
1, 9, 13, 9, 1;
1, 11, 21, 21, 11, 1;
1, 13, 31, 41, 31, 13, 1;
1, 15, 43, 71, 71, 43, 15, 1;
...
MATHEMATICA
T[n_, k_]:= If[k==0 || k==n, 1, 2*Binomial[n, k] +1];
Table[T[n, k], {n, 0, 15}, {k, 0, n}]//Flatten (* G. C. Greubel, Feb 15 2021 *)
PROG
(Sage)
def A132737(n, k): return 1 if (k==0 or k==n) else 2*binomial(n, k) + 1
flatten([[A132737(n, k) for k in (0..n)] for n in (0..15)]) # G. C. Greubel, Feb 15 2021
(Magma)
A132737:= func< n, k | k eq 0 or k eq n select 1 else 2*Binomial(n, k) +1 >;
[A132737(n, k): k in [0..n], n in [0..15]]; // G. C. Greubel, Feb 15 2021
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Aug 26 2007
EXTENSIONS
Extended by Franklin T. Adams-Watters, Jul 06 2009
STATUS
approved