cp's OEIS Frontend

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.

A118972 Triangle read by rows: T(n,k) is the number of hill-free Dyck paths of semilength n and having length of first descent equal to k (1<=k<=n; n>=1). A hill in a Dyck path is a peak at level 1.

This page as a plain text file.
%I A118972 #13 Jan 24 2025 08:50:00
%S A118972 0,0,1,1,0,1,3,2,0,1,10,5,2,0,1,33,16,5,2,0,1,111,51,16,5,2,0,1,379,
%T A118972 168,51,16,5,2,0,1,1312,565,168,51,16,5,2,0,1,4596,1934,565,168,51,16,
%U A118972 5,2,0,1,16266,6716,1934,565,168,51,16,5,2,0,1,58082,23604,6716,1934,565,168
%N A118972 Triangle read by rows: T(n,k) is the number of hill-free Dyck paths of semilength n and having length of first descent equal to k (1<=k<=n; n>=1). A hill in a Dyck path is a peak at level 1.
%C A118972 Row sums are the Fine numbers (A000957).
%C A118972 T(n,1) = A001558(n-3) for n>=3.
%C A118972 T(n,k) = A118973(n-k) for n>=k>=2.
%C A118972 Sum_{k=1..n} k*T(n,k) = A118974(n).
%H A118972 Emeric 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 A118972 G.f.: t*z^2*C*F*(C-(1-t)/(1-t*z)), where F = (1-sqrt(1-4*z))/(z*(3-sqrt(1-4*z))) and C = (1-sqrt(1-4*z))/(2*z) is the Catalan function.
%e A118972 T(5,2)=5 because we have uu(dd)uududd, uu(dd)uuuddd,uuu(dd)uuddd,uuu(dd)ududd and uuuu(dd)uddd, where u=(1,1), d=(1,-1) (the first descents are shown between parentheses).
%e A118972 Triangle starts:
%e A118972   0;
%e A118972   0,1;
%e A118972   1,0,1;
%e A118972   3,2,0,1;
%e A118972   10,5,2,0,1;
%e A118972   33,16,5,2,0,1;
%e A118972   ...
%p A118972 F:=(1-sqrt(1-4*z))/z/(3-sqrt(1-4*z)): C:=(1-sqrt(1-4*z))/2/z: G:=t*z^2*C*F*(C-(1-t)/(1-t*z)): Gser:=simplify(series(G,z=0,15)): for n from 1 to 12 do P[n]:=sort(coeff(Gser,z^n)) od: for n from 1 to 12 do seq(coeff(P[n],t,j),j=1..n) od; # yields sequence in triangular form
%Y A118972 Cf. A000957, A001558, A118973, A118974.
%K A118972 nonn,tabl
%O A118972 1,7
%A A118972 _Emeric Deutsch_, May 08 2006