This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A099037 #16 Jul 15 2023 05:41:35 %S A099037 1,1,-1,1,0,1,1,3,-3,-1,1,8,-12,8,1,1,15,-20,20,-15,-1,1,24,-15,0,-15, %T A099037 24,1,1,35,21,-105,105,-21,-35,-1,1,48,112,-336,420,-336,112,48,1,1, %U A099037 63,288,-672,756,-756,672,-288,-63,-1,1,80,585,-960,420,0,420,-960,585,80,1,1,99,1045,-825,-1980,4620,-4620,1980,825,-1045,-99,-1 %N A099037 Triangle of diagonals of symmetric Krawtchouk matrices. %C A099037 Row sums have e.g.f. BesselI(0,2*x) (A000984 with interpolated zeros). %C A099037 Diagonal sums are A099038. %D A099037 P. Feinsilver and J. Kocik, Krawtchouk matrices from classical and quantum walks, Contemporary Mathematics, 287 2001, pp. 83-96. %H A099037 G. C. Greubel, <a href="/A099037/b099037.txt">Table of n, a(n) for the first 100 rows, flattened</a> %H A099037 P. Feinsilver and R. Fitzgerald, <a href="https://doi.org/10.1016/0024-3795(94)00123-5">The Spectrum of Symmetric Krawtchouk Matrices</a>, Linear Algebra and Its Applications, Vol. 235 (1996), pp. 121-139. %F A099037 Triangle T(n, k) = if(k<=n, C(n, k)*Sum_{i=0..n} (-1)^i*C(k, i)C(n-k, k-i), 0). %F A099037 Triangle T(n, k) = Sum_{j=0..n} (-1)^(n-j)*C(n,j)*C(j,k)*C(k,j-k) = C(n,k)*A098593(n,k). %e A099037 Triangle begins as: %e A099037 1. %e A099037 1, -1. %e A099037 1, 0, 1. %e A099037 1, 3, -3, 1. %e A099037 1, 8, -12, 8, 1. ... %t A099037 T[n_, k_]:= If[k <= n, Binomial[n, k]*Sum[(-1)^j*Binomial[k, j]*Binomial[n - k, k - j], {j, 0, n}], 0]; Table[T[n, k], {n, 0, 20}, {k, 0, n}] // Flatten (* _G. C. Greubel_, Dec 31 2017 *) %o A099037 (PARI) {T(n, k) = binomial(n, k)*sum(j=0,n, (-1)^j*binomial(k, j)*binomial(n-k, k-j))}; %o A099037 for(n=0,20, for(k=0,n, print1(T(n,k), ", "))) \\ _G. C. Greubel_, Dec 31 2017 %Y A099037 Cf. A000984, A099038, A098593, %K A099037 easy,sign,tabl %O A099037 0,8 %A A099037 _Paul Barry_, Sep 23 2004