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 A114596 #17 Apr 07 2019 01:58:41 %S A114596 1,0,2,1,0,5,2,2,0,14,6,4,5,0,42,18,12,10,14,0,132,57,36,30,28,42,0, %T A114596 429,186,114,90,84,84,132,0,1430,622,372,285,252,252,264,429,0,4862, %U A114596 2120,1244,930,798,756,792,858,1430,0,16796,7338,4240,3110,2604,2394,2376,2574,2860,4862,0,58786 %N A114596 Triangle read by rows: T(n,k) is the number of hill-free Dyck paths of semilength n and having abscissa of first return equal to 2k (2<=k<=n). A hill in a Dyck path is a peak at level 1. %C A114596 Row sums are the Fine numbers (A000957). Column 2 yield the Fine numbers (A000957). %H A114596 G. C. Greubel, <a href="/A114596/b114596.txt">Rows n = 2..100 of triangle, flattened</a> %H A114596 E. Deutsch and L. Shapiro, <a href="https://doi.org/10.1016/S0012-365X(01)00121-2">A survey of the Fine numbers</a>, Discrete Math., 241 (2001), 241-265. %F A114596 T(n,n) = Catalan(n-1) (A000108). %F A114596 Sum_{k=2..n} k*T(n,k) = 2*A014301(n). %F A114596 T(n, k) = Catalan(k-1)*f(n-k), for 2<=k<=n, where Catalan(n) are the Catalan numbers (A000108) and f(n) = 3*Sum_{j=0..floor(n/2)} ( binomial(2n-2j, n) ) - binomial(2n+2, n+1) (the Fine numbers, A000957). %F A114596 G.f.: (2*(1+x-t*x) +sqrt(1-4*x) -sqrt(1-4*t*x))/(1 +2*x +sqrt(1-4*x)) -1. %e A114596 T(5,3)=2 because we have UUUDDD|UUDD and UUDUDD|UUDD, where U=(1,1), D=(1,-1) (first return is shown by a vertical bar). %e A114596 Triangle begins: %e A114596 1; %e A114596 0, 2; %e A114596 1, 0, 5; %e A114596 2, 2, 0, 14; %e A114596 6, 4, 5, 0, 42; %e A114596 18, 12, 10, 14, 0, 132; %p A114596 c:=n->binomial(2*n,n)/(n+1): f:=n->3*sum(binomial(2*n-2*j,n),j=0..floor(n/2))-binomial(2*n+2,n+1): for n from 2 to 12 do seq(c(k-1)*f(n-k),k=2..n) od; # yields sequence in triangular form %t A114596 f[n_]:= 3*Sum[Binomial[2*n-2*j, n], {j,0,Floor[n/2]}] - Binomial[2*n+2, n +1]; Table[CatalanNumber[k-1]*f[n-k], {n,2,12}, {k,2,n}] (* _G. C. Greubel_, Apr 06 2019 *) %o A114596 (PARI) {f(n) = 3*sum(j=0, floor(n/2), binomial(2*n-2*j, n)) - binomial(2*n+2, n+1)}; %o A114596 for(n=2,12, for(k=2,n, print1((binomial(2*(k-1),k)/(k-1))*f(n-k), ", "))) \\ _G. C. Greubel_, Apr 06 2019 %o A114596 (Sage) %o A114596 @CachedFunction %o A114596 def f(n): %o A114596 return 3*sum(binomial(2*n-2*j, n) for j in (0..floor(n/2))) - binomial(2*n+2, n+1) %o A114596 def T(n,k): return catalan_number(k-1)*f(n-k) %o A114596 [[T(n,k) for k in (2..n)] for n in (2..12)] # _G. C. Greubel_, Apr 06 2019 %Y A114596 Cf. A000957, A000108, A014301. %K A114596 nonn,tabl %O A114596 2,3 %A A114596 _Emeric Deutsch_, Dec 12 2005 %E A114596 Keyword tabf changed to tabl by _Michel Marcus_, Apr 09 2013