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 A118921 #9 Jan 25 2020 18:12:03 %S A118921 2,4,2,12,4,4,40,12,8,10,140,40,24,20,28,504,140,80,60,56,84,1848,504, %T A118921 280,200,168,168,264,6864,1848,1008,700,560,504,528,858,25740,6864, %U A118921 3696,2520,1960,1680,1584,1716,2860,97240,25740,13728,9240,7056,5880,5280 %N A118921 Triangle read by rows: T(n,k) is the number of Grand Dyck paths of semilength n having first return to the x-axis at (2k,0) (n,k >= 1). (A Grand Dyck path of semilength n is a path in the half-plane x >= 0, starting at (0,0), ending at (2n,0) and consisting of steps u=(1,1) and d=(1,-1)). %C A118921 Row sums are the central binomial coefficients (A000984). %C A118921 T(n,0) = 2*A028329(n-1). %C A118921 Sum_{k>=1} k*T(n,k) = 2^(2n-1) (A004171). %C A118921 For returns to the x-axis arriving from above, see A039599. %F A118921 T(n,k) = 2*binomial(2k-2,k-1)*binomial(2n-2k,n-k)/k. %F A118921 G.f. = G(t,z) = (1-sqrt(1-4tz))/sqrt(1-4z). %F A118921 T(n+1,k+1) = 2*(n-k+1)*A078391(n,k), n >= 0, k >= 0. - _Philippe Deléham_, Dec 13 2006 %e A118921 T(3,2)=4 because we have uudd|ud, uudd|du, dduu|ud and dduu|du (first return to the x-axis shown by | ). %e A118921 Triangle starts: %e A118921 2; %e A118921 4, 2; %e A118921 12, 4, 4; %e A118921 40, 12, 8, 10; %e A118921 140, 40, 24, 20, 28; %p A118921 T:=(n,k)->2*binomial(2*k-2,k-1)*binomial(2*n-2*k,n-k)/k: for n from 1 to 10 do seq(T(n,k),k=1..n) od; # yields sequence in triangular form %Y A118921 Cf. A000984, A028329, A004171, A039599. %K A118921 nonn,tabl %O A118921 1,1 %A A118921 _Emeric Deutsch_, May 06 2006