%I #33 Mar 07 2020 14:57:22
%S 1,1,2,1,2,5,6,5,2,5,14,19,20,19,14,5,14,42,62,69,70,69,62,42,14,42,
%T 132,207,242,251,252,251,242,207,132,42,132,429,704,858,912,923,924,
%U 923,912,858,704,429,132
%N Table read by rows, the even rows of A296664, T(n, k) for n >= 0 and 0 <= k <= 2n.
%C Let v be the characteristic function of 1 (A063524) and M(n) for n >= 0 the symmetric Toeplitz matrix generated by the initial segment of v, then row n is the main diagonal of M(2n)^(2n).
%C Seems to be A050157 + its reflection. - _Andrey Zabolotskiy_, Dec 19 2017
%H Peter Luschny, <a href="/A296666/b296666.txt">Row n for n = 0..30</a>
%F T(n, 0) = T(n, 2*n) = A000108(n).
%F T(n, n) are the central binomial coefficients A000984(n).
%F T(n, k) = binomial(2*n, n) - binomial(2*n, n+k+1) for k=0..n.
%F T(n, k) = binomial(2*n, n) - binomial(2*n, k-n-1) for k=n+1..2*n and n>0.
%e 0: [ 1]
%e 1: [ 1, 2, 1]
%e 2: [ 2, 5, 6, 5, 2]
%e 3: [ 5, 14, 19, 20, 19, 14, 5]
%e 4: [ 14, 42, 62, 69, 70, 69, 62, 42, 14]
%e 5: [ 42, 132, 207, 242, 251, 252, 251, 242, 207, 132, 42]
%e 6: [132, 429, 704, 858, 912, 923, 924, 923, 912, 858, 704, 429, 132]
%p v := n -> `if`(n=1, 1, 0);
%p B := n -> LinearAlgebra:-ToeplitzMatrix([seq(v(j), j=0..n)], symmetric):
%p seq(convert(ArrayTools:-Diagonal(B(2*n)^(2*n)), list), n=0..10);
%t v[n_] := If[n == 1, 1, 0];
%t m[n_] := MatrixPower[ToeplitzMatrix[Table[v[k], {k, 0, n}]], n];
%t d[n_] := If[n == 0, {1}, Diagonal[m[2 n]]];
%t Table[d[n], {n, 0, 6}] // Flatten
%o (Sage)
%o def T(n, k):
%o if k > n:
%o b = binomial(2*n, k - n - 1)
%o else:
%o b = binomial(2*n, n + k + 1)
%o return binomial(2*n, n) - b
%o for n in (0..6):
%o print([T(n, k) for k in (0..2*n)])
%Y Cf. A000108, A000984, A050157, A296662, A296664, A296665 (row sums).
%K nonn,tabf
%O 0,3
%A _Peter Luschny_, Dec 19 2017