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 A101401 #11 Apr 10 2020 08:16:32 %S A101401 1,1,2,3,6,3,12,24,15,4,55,110,75,28,5,273,546,390,168,45,6,1428,2856, %T A101401 2100,980,315,66,7,7752,15504,11628,5712,2040,528,91,8,43263,86526, %U A101401 65835,33516,12825,3762,819,120,9,246675,493350,379500,198352,79695,25410,6370,1200,153,10 %N A101401 Triangle read by rows: T(n,k) is the number of noncrossing trees with n edges in which the leftmost child of the root has degree k. %C A101401 Row n contains n terms. Column k=0 and row sums yield the ternary numbers (A001764). %H A101401 Andrew Howroyd, <a href="/A101401/b101401.txt">Table of n, a(n) for n = 1..1275</a> %F A101401 T(n, k) = ((k+1)(2k+1)/(3n-k-2)) binomial(3n-k-2, 2n-1). %F A101401 G.f.: zg/(1-tzg^2)^2, where g = 1+zg^3 is the g.f. of the ternary numbers (A001764). %e A101401 T(2,0)=1 and T(2,1)=2 because the noncrossing trees with 2 edges are /\, |_ and _|. %e A101401 Triangle starts: %e A101401 1; %e A101401 1, 2; %e A101401 3, 6, 3; %e A101401 12, 24, 15, 4; %e A101401 55, 110, 75, 28, 5; %e A101401 273, 546, 390, 168, 45, 6; %e A101401 ... %p A101401 T:=proc(n,k) if n=1 and k=1 then 0 elif k<=n then (k+1)*(2*k+1)*binomial(3*n-k-2,2*n-1)/(3*n-k-2) else 0 fi end: for n from 1 to 10 do seq(T(n,k),k=0..n-1) od; # yields sequence in triangular form %t A101401 T[n_, k_] := ((k + 1)(2k + 1)/(3n - k - 2)) Binomial[3n - k - 2, 2n - 1]; %t A101401 Table[T[n, k], {n, 1, 10}, {k, 0, n - 1}] // Flatten (* _Jean-François Alcover_, Apr 10 2020 *) %o A101401 (PARI) %o A101401 T(n, k) = if(k<n, (k+1)*(2*k+1)*binomial(3*n-k-2, 2*n-1)/(3*n-k-2)); %o A101401 for(n=1, 10, for(k=0, n-1, print1(T(n, k), ", ")); print); \\ _Andrew Howroyd_, Nov 06 2017 %Y A101401 Cf. A001764. %Y A101401 Column k=1 is A046646. %K A101401 nonn,tabl %O A101401 1,3 %A A101401 _Emeric Deutsch_, Jan 15 2005