A124324
Triangle read by rows: T(n,k) is the number of partitions of an n-set having k blocks of size > 1 (0<=k<=floor(n/2)).
Original entry on oeis.org
1, 1, 1, 1, 1, 4, 1, 11, 3, 1, 26, 25, 1, 57, 130, 15, 1, 120, 546, 210, 1, 247, 2037, 1750, 105, 1, 502, 7071, 11368, 2205, 1, 1013, 23436, 63805, 26775, 945, 1, 2036, 75328, 325930, 247555, 27720, 1, 4083, 237127, 1561516, 1939630, 460845, 10395, 1, 8178
Offset: 0
T(4,2) = 3 because we have 12|34, 13|24 and 14|23 (if we take {1,2,3,4} as our 4-set).
Triangle starts:
1;
1;
1, 1;
1, 4;
1, 11, 3;
1, 26, 25;
1, 57, 130, 15;
1, 120, 546, 210;
1, 247, 2037, 1750, 105;
1, 502, 7071, 11368, 2205;
1, 1013, 23436, 63805, 26775, 945;
...
- Alois P. Heinz, Rows n = 0..200, flattened
- Per Alexandersson and Olivia Nabawanda, Peaks are preserved under run-sorting, arXiv:2104.04220 [math.CO], 2021.
- Fufa Beyene and Roberto Mantaci, Merging-Free Partitions and Run-Sorted Permutations, arXiv:2101.07081 [math.CO], 2021.
- Tom Copeland, Appell-Bell polynomials: Linking the associated Bell polynomials and the associated reduced inverse refined Eulerian polynomials, 2022.
- Tom Copeland, The reduced inverse refined Eulerian polynomials and associated arrays, 2022.
- Robin Houston, Adam P. Goucher, and Nathaniel Johnston, A New Formula for the Determinant and Bounds on Its Tensor and Waring Ranks, arXiv:2301.06586 [math.CO], 2023.
- O. Nabawanda, F. Rakotondrajao, and A. S. Bamunoba, Run Distribution Over Flattened Partitions, arXiv:2007.03821 [math.CO], 2020.
Columns k=0-10 give:
A000012,
A000295,
A112495,
A112496,
A112497,
A290034,
A290035,
A290036,
A290037,
A290038,
A290039.
-
G:=exp(t*exp(z)-t+(1-t)*z): Gser:=simplify(series(G,z=0,36)): for n from 0 to 33 do P[n]:=sort(n!*coeff(Gser,z,n)) od: for n from 0 to 13 do seq(coeff(P[n],t,k),k=0..floor(n/2)) od; # yields sequence in triangular form
# second Maple program:
b:= proc(n) option remember; expand(`if`(n=0, 1, add(
`if`(i>1, x, 1)*binomial(n-1, i-1)*b(n-i), i=1..n)))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=0..degree(p)))(b(n)):
seq(T(n), n=0..15); # Alois P. Heinz, Mar 08 2015, Jul 15 2017
-
multinomial[n_, k_List] := n!/Times @@ (k!); b[n_, i_] := b[n, i] = Expand[If[n == 0, 1, If[i<1, 0, Sum[multinomial[n, Join[{n-i*j}, Array[i&, j]]]/j!*b[n-i*j, i-1]*If[i>1, x^j, 1], {j, 0, n/i}]]]]; T[n_] := Function[{p}, Table[Coefficient[p, x, i], {i, 0, Exponent[p, x]}]][b[n, n]]; Table[T[n], {n, 0, 15}] // Flatten (* Jean-François Alcover, May 22 2015, after Alois P. Heinz *)
A112493
Triangle read by rows, T(n, k) = Sum_{j=0..n} C(n-j, n-k)*E2(n, j), where E2 are the second-order Eulerian numbers A201637, for n >= 0 and 0 <= k <= n.
Original entry on oeis.org
1, 1, 1, 1, 4, 3, 1, 11, 25, 15, 1, 26, 130, 210, 105, 1, 57, 546, 1750, 2205, 945, 1, 120, 2037, 11368, 26775, 27720, 10395, 1, 247, 7071, 63805, 247555, 460845, 405405, 135135, 1, 502, 23436, 325930, 1939630, 5735730, 8828820, 6756750, 2027025, 1
Offset: 0
Triangle starts:
[1]
[1, 1]
[1, 4, 3]
[1, 11, 25, 15]
[1, 26, 130, 210, 105]
[1, 57, 546, 1750, 2205, 945]
...
The e.g.f. of [0,0,1,7,25,65,...], the k=3 column of A008278, but with offset n=0, is exp(x)*(1*(x^2)/2! + 4*(x^3)/3! + 3*(x^4)/4!).
Third row [1,4,3]: There are three plane increasing trees on 3 vertices. The number of colors are shown to the right of a vertex.
...................................................
....1o.(1+t)...........1o.t*(1+t).....1o.t*(1+t)...
....|................. /.\............/.\..........
....|................ /...\........../...\.........
....2o.(1+t)........2o.....3o......3o....2o........
....|..............................................
....|..............................................
....3o.............................................
...................................................
The total number of trees is (1+t)^2 + t*(1+t) + t*(1+t) = 1+4*t+3*t^2 = R(2,t).
- F. Bergeron, Ph. Flajolet and B. Salvy, Varieties of Increasing Trees, Lecture Notes in Computer Science vol. 581, ed. J.-C. Raoult, Springer 1992, pp. 24-48.
- D. Dominici, Nested derivatives: A simple method for computing series expansions of inverse functions. arXiv:math/0501052v2 [math.CA], 2005.
- Wolfdieter Lang, First ten rows.
- MathOverflow, Recursion for row polynomials of A112493, (2025).
- Andrew Elvey Price and Alan D. Sokal, Phylogenetic trees, augmented perfect matchings, and a Thron-type continued fraction (T-fraction) for the Ward polynomials, arXiv:2001.01468 [math.CO], 2020.
-
T := (n, k) -> add(combinat:-eulerian2(n, j)*binomial(n-j, n-k), j=0..n):
seq(seq(T(n, k), k=0..n), n=0..9); # Peter Luschny, Apr 11 2016
-
max = 11; f[x_, t_] := -1 - (1 + t)/t*ProductLog[-t/(1 + t)*Exp[(x - t)/(1 + t)]]; coes = CoefficientList[ Series[f[x, t], {x, 0, max}, {t, 0, max}], {x, t}]* Range[0, max]!; Table[coes[[n, k]], {n, 0, max}, {k, 1, n - 1}] // Flatten (* Jean-François Alcover, Nov 22 2012, from e.g.f. *)
A112496
Fourth column of triangle A112493 used for e.g.f.s of Stirling2 diagonals.
Original entry on oeis.org
15, 210, 1750, 11368, 63805, 325930, 1561516, 7150000, 31682651, 137031986, 582035714, 2438479592, 10109790809, 41579014154, 169946747160, 691299506640, 2801567046135, 11320801495410, 45642930545070, 183698923750440
Offset: 0
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (20, -175, 882, -2835, 6072, -8777, 8458, -5204, 1848, -288).
-
CoefficientList[Series[(15 - 90*x + 175*x^2 - 112*x^3)/((1 - x)^4*(1 - 2*x)^3*(1 - 3*x)^2*(1 - 4*x)), {x, 0, 50}], x] (* G. C. Greubel, Nov 13 2017 *)
Table[2^(2*n+11)/3- 3^(n+5)*(n+9)/2 + 2^(n+3)*(n^2 + 15*n + 58) - n^3/6 - 3*n^2 - 55*n/3 - 229/6, {n,0,25}] (* Vaclav Kotesovec, Jul 23 2021 *)
-
x='x+O('x^50); Vec((15-90*x+175*x^2-112*x^3)/((1-x)^4*(1-2*x)^3*(1-3*x)^2*(1-4*x))) \\ G. C. Greubel, Nov 13 2017
A381646
a(n) = 4^n - 2*3^(n-1)*(n+3) + 2^(n-2)*(n^2+3*n+4).
Original entry on oeis.org
0, 0, 0, 0, 6, 80, 650, 4172, 23310, 119016, 571122, 2621828, 11651222, 50536928, 215219706, 903799548, 3754755102, 15469272536, 63320624642, 257886717812, 1046169235110, 4230947198160, 17069749295370, 68738191563500, 276393979740206
Offset: 0
For n=5 the 80 words that use 0 and 1 at least twice are 00111 (10 of this type), 00011 (10 of this type), 00112 (30 of this type), 00113 (30 of this type).
-
LinearRecurrence[{16,-105,362,-692,696,-288},{0,0,0,0,6,80},25] (* Stefano Spezia, Mar 03 2025 *)
-
def A381646(n): return ((1<2 else 0 # Chai Wah Wu, Mar 15 2025
A385329
a(n) = 5^n - 2*4^(n-1)*(n+4) + 3^(n-2)*(n^2+5*n+9).
Original entry on oeis.org
0, 0, 0, 0, 6, 110, 1220, 10612, 79786, 544434, 3468792, 21012200, 122500334, 693324502, 3833742796, 20809676604, 111288341970, 588046458074, 3076991784512, 15972440574064, 82370489136214, 422506631928510, 2157589903432020, 10977781519321220, 55686118748465786
Offset: 0
a(4) = 6 since the words are the 6 permutations of aabb.
a(5) = 110 since the words are (number of permutations in parentheses): aaabb (10), aabbb (10), aabbc (30), aabbd (30), aabbe (30).
-
m:=50; R:=PowerSeriesRing(Integers(), m); [0,0,0,0] cat Coefficients(R!((2*x^4*(3 - 11*x)/((1 - 4*x)^2*(1 - 3*x)^3*(1 - 5*x))))); // Vincenzo Librandi, Jul 05 2025
-
LinearRecurrence[{22, -200, 962, -2583, 3672, -2160}, {0, 0, 0, 0, 6, 110, 1220}, 25] (* Amiram Eldar, Jun 28 2025 *)
Showing 1-5 of 5 results.
Comments