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 A329816 #40 Jul 04 2023 10:01:08 %S A329816 1,1,0,1,1,2,8,2,1,1,6,27,24,27,6,1,1,12,70,132,216,132,70,12,1,1,20, %T A329816 155,480,1070,1200,1070,480,155,20,1,1,30,306,1370,4035,6900,8840, %U A329816 6900,4035,1370,306,30,1,1,42,553,3332,12621,29750,51065,58800,51065,29750,12621,3332,553,42,1 %N A329816 Triangular array, read by rows: T(n,k) = [(x*y)^k] (-1 + (1 + x + 1/x)*(1 + y + 1/y))^n for -n <= k <= n. %C A329816 Also the coefficient of (x/y)^k in the expansion of (-1 + (1 + x + 1/x)*(1 + y + 1/y))^n for -n <= k <= n. %C A329816 T(n,k) is the number of n step walks a chess king can take from (0,0) to (k,k). For example, for n=3 starting from (0,0) there is 1 walk to (3,3), 6 walks to (2,2), 27 walks to (1,1), 24 walks to (0,0), 27 walks to (-1,-1), 6 walks to (-2,-2) and 1 walk to (-3,-3). - _Martin Clever_, May 27 2023 %H A329816 Seiichi Manyama, <a href="/A329816/b329816.txt">Rows n = 0..50, flattened</a> %F A329816 T(n,k) = T(n,-k). %e A329816 -1 + (1 + x + 1/x)*(1 + y + 1/y) = x*y + 1/(x*y) + x/y + y/x + x + 1/x + y + 1/y. So T(1,-1) = 1, T(1,0) = 0, T(1,1) = 1. %e A329816 Triangle begins: %e A329816 1; %e A329816 1, 0, 1; %e A329816 1, 2, 8, 2, 1; %e A329816 1, 6, 27, 24, 27, 6, 1; %e A329816 1, 12, 70, 132, 216, 132, 70, 12, 1; %e A329816 1, 20, 155, 480, 1070, 1200, 1070, 480, 155, 20, 1; %o A329816 (PARI) {T(n, k) = polcoef(polcoef((-1+(1+x+1/x)*(1+y+1/y))^n, k), k)} %Y A329816 T(n,0) gives A094061. %Y A329816 Row sums give A288470. %Y A329816 Cf. A260492, A329819, A329820. %K A329816 nonn,tabf %O A329816 0,6 %A A329816 _Seiichi Manyama_, Nov 21 2019