OFFSET
1,2
COMMENTS
A monotone n-(vertex) weighting of a digraph D=(V,E) is a function w: V -> {0,1,..,n-1} such that w(v1) <= w(v2) for every arc (v1,v2) from E.
a(n) = number of proper mergings of a 3-antichain and an (n-1)-chain. - Henri Mühle, Aug 17 2012
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Goran Kilibarda and Vladeta Jovovic, Antichains of Multisets, J. Integer Seq., Vol. 7 (2004), Article 04.1.5.
Henri Mühle, Counting Proper Mergings of Chains and Antichains, arXiv:1206.3922 [math.CO], 2012.
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = n + 13*binomial(n, 2) + 60*binomial(n, 3) + 120*binomial(n, 4) + 108*binomial(n, 5) + 36*binomial(n, 6).
a(n) = (1/20)*n*(n+1)*(n^2+1)*(n^2+2*n+2).
a(n) = Sum_{i=1..n} ((n+1-i)^3-(n-i)^3)*i^3. More generally, number of monotone n-weightings of complete bipartite digraph K(s, t) is Sum_{i=1..n} ((n+1-i)^s-(n-i)^s)*i^t = Sum_{i=1..n} ((n+1-i)^t-(n-i)^t)*i^s.
G.f.: x*(1+4*x+x^2)^2/(1-x)^7. - Colin Barker, Apr 01 2012
Sum_{n>=1} 1/a(n) = 20 - 6*Pi*coth(Pi). - Amiram Eldar, Nov 02 2025
MATHEMATICA
Rest[CoefficientList[Series[x*(1 + 4*x + x^2)^2/(1 - x)^7, {x, 0, 50}], x]] (* G. C. Greubel, Oct 06 2017 *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {1, 15, 102, 442, 1443, 3885, 9100}, 40] (* Vincenzo Librandi, Oct 06 2017 *)
PROG
(PARI) my(x='x+O('x^50)); Vec(x*(1+4*x+x^2)^2/(1-x)^7) \\ G. C. Greubel, Oct 06 2017
(Magma) [1/20*n*(n+1)*(n^2+1)*(n^2+2*n+2): n in [1..40]]; // Vincenzo Librandi, Oct 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Goran Kilibarda and Vladeta Jovovic, Jul 01 2003
STATUS
approved
