A190170
Triangle read by rows: T(n,k) is the number of peakless Motzkin paths of length n and having k UHD's starting at level 0; here U=(1,1), H=(1,0), and D=(1,-1).
Original entry on oeis.org
1, 1, 1, 1, 1, 2, 2, 5, 3, 12, 4, 1, 27, 7, 3, 60, 16, 6, 135, 39, 10, 1, 309, 92, 18, 4, 717, 212, 39, 10, 1680, 488, 94, 20, 1, 3966, 1135, 228, 39, 5, 9423, 2670, 543, 84, 15, 22518, 6336, 1282, 200, 35, 1, 54091, 15132, 3036, 492, 75, 6, 130540, 36327, 7245, 1203, 166, 21
Offset: 0
T(6,2)=1 because we have UHDUHD.
Triangle starts:
1;
1;
1;
1,1;
2,2;
5,3;
12,4,1;
27,7,3;
-
p1 := G-1-z*G-z^2*G*(S-1-z+t*z): p2 := S-1-z*S-z^2*S*(S-1): r := resultant(p1, p2, S): g := RootOf(r, G): Gser := simplify(series(g, z = 0, 21)): for n from 0 to 17 do P[n] := sort(coeff(Gser, z, n)) end do: for n from 0 to 17 do seq(coeff(P[n], t, j), j = 0 .. floor((1/3)*n)) end do; # yields sequence in triangular form
A191579
Triangular array related to continued fractions of square root of (N^2 - 1) for N>1, apparently containing A004148 and summing to A091964.
Original entry on oeis.org
1, 1, 1, 1, 2, 1, 2, 3, 3, 1, 4, 6, 6, 4, 1, 8, 13, 13, 10, 5, 1, 17, 28, 30, 24, 15, 6, 1, 37, 62, 69, 59, 40, 21, 7, 1, 82, 140, 160, 144, 105, 62, 28, 8, 1, 185, 320, 375, 350, 271, 174, 91, 36, 9, 1, 423, 740, 885, 852, 690, 474, 273, 128, 45, 10, 1
Offset: 1
The triangle begins
1;
1, 1;
1, 2, 1;
2, 3, 3, 1;
4, 6, 6, 4, 1;
8, 13, 13, 10, 5, 1;
17, 28, 30, 24, 15, 6, 1;
37, 62, 69, 59, 40, 21, 7, 1;
82, 140, 160, 144, 105, 62, 28, 8, 1;
185, 320, 375, 350, 271, 174, 91, 36, 9, 1;
423, 740, 885, 852, 690, 474, 273, 128, 45, 10, 1;
...
The 4th row is 2,3,3,1 because the 2nd,4th,6th and 8th terms of columns j = 1-5 of square array T(i,j) A192062 form the 4*5 matrix {{1,3,8,21},{1,4,15,56},{1,5,24,115},{1,6,35,204},{1,7,48,329}}. Solving the resulting system of linear equations results in the identities:
2*1 + 3*3 + 3*8 + 1*21 = 56 = T(8,2) of A192062
2*1 + 3*4 + 3*15+ 1*56 = 115 = T(8,3) of A192062
2*1 + 3*5 + 3*24 + 1*115 = 204 = T(8,4) of A192062
2*1 + 3*6 + 3*35 + 1*204 = 329 = T(8,5) of A192062
A187260
Number of uh^jd's for some j>0, starting at level 0, where u=(1,1), h=(1,0), and d=(1,-1), in all peakless Motzkin paths of length n (can be easily expressed using RNA secondary structure terminology).
Original entry on oeis.org
0, 0, 0, 1, 3, 6, 12, 25, 53, 115, 255, 575, 1315, 3043, 7111, 16756, 39766, 94961, 228003, 550081, 1332839, 3241930, 7913028, 19375635, 47579847, 117149125, 289142441, 715253644, 1773011502, 4403539181, 10956537307, 27307002454, 68164324150, 170404155586, 426584025250, 1069289177950
Offset: 0
a(4)=3 because the 4 (=A004148(4)) peakless Motzkin paths of length 4, namely hhhh, h(uhd), (uhd)h, and (uhhd) contain 0+1+1+1 subwords of type uh^jd for some j>0, starting at level 0 (shown between parentheses).
-
eq := g = 1+z*g+z^2*g*(g-1): g := RootOf(eq, g): F := z^3*g^2/(1-z): Fser := series(F, z = 0, 38): seq(coeff(Fser, z, n), n = 0 .. 35);
-
CoefficientList[Series[(-1 + x - x^2 + Sqrt[(1 + (-3 + x)*x)*(1 + x + x^2)])^2 / (4*(1 - x)*x), {x, 0, 40}], x] (* Vaclav Kotesovec, May 29 2022 *)
Showing 1-3 of 3 results.
Comments