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 A166301 #6 Dec 02 2014 16:28:11 %S A166301 1,0,0,0,0,1,0,0,0,1,0,0,0,0,2,0,0,0,0,1,3,0,0,0,0,1,2,5,0,0,0,0,1,2, %T A166301 6,8,0,0,0,0,1,2,8,13,13,0,0,0,0,1,2,10,19,29,21,0,0,0,0,1,2,12,25,51, %U A166301 60,34,0,0,0,0,1,2,14,31,78,120,122,55,0,0,0,0,1,2,16,37,110,200,282,241 %N A166301 Triangle read by rows: T(n,k) is the number of Dyck paths of semilength n, having no ascents and no descents of length 1, and having pyramid weight k. %C A166301 A pyramid in a Dyck word (path) is a factor of the form U^h D^h, h being the height of the pyramid. A pyramid in a Dyck word w is maximal if, as a factor in w, it is not immediately preceded by a U and immediately followed by a D. The pyramid weight of a Dyck path (word) is the sum of the heights of its maximal pyramids. %C A166301 Sum of entries in row n is the secondary structure number A004148(n-1) (n>=2). %C A166301 T(n,n)=A000045(n-1) (n>=1; the Fibonacci numbers). %C A166301 Sum(k*T(n,k), k>=0)=A166302(n). %H A166301 A. Denise and R. Simion, <a href="http://dx.doi.org/10.1016/0012-365X(93)E0147-V">Two combinatorial statistics on Dyck paths</a>, Discrete Math., 137, 1995, 155-176. %F A166301 G.f.: G=G(t,z) satisfies G = 1 + zG[G - 1 + tz - tz(1 - t)/(1 - tz)]. %e A166301 T(6,5)=2 because we have U(UUDD)(UUUDDD)D and U(UUUDDD)(UUDD)D (the maximal pyramids are shown between parentheses). %e A166301 Triangle starts: %e A166301 1; %e A166301 0,0; %e A166301 0,0,1; %e A166301 0,0,0,1; %e A166301 0,0,0,0,2; %e A166301 0,0,0,0,1,3; %e A166301 0,0,0,0,1,2,5; %e A166301 0,0,0,0,1,2,6,8; %p A166301 eq := G = 1+z*G*(G-1+t^2*z*(1-z)/(1-t*z)): G := RootOf(eq, G): Gser := simplify(series(G, z = 0, 15)): for n from 0 to 12 do P[n] := sort(expand(coeff(Gser, z, n))) end do: for n from 0 to 12 do seq(coeff(P[n], t, j), j = 0 .. n) end do; # yields sequence in triangular form %Y A166301 Cf. A004148, A166302, A000045, A091866. %K A166301 nonn,tabl %O A166301 0,15 %A A166301 _Emeric Deutsch_, Nov 07 2009