login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A181339 Largest entry in a 2-composition of n, summed over all 2-compositions of n. A 2-composition of n is a nonnegative matrix with two rows, such that each column has at least one nonzero entry and whose entries sum up to n. 1

%I #2 Mar 30 2012 17:36:24

%S 2,9,38,149,562,2066,7474,26737,94900,334909,1176842,4121632,14397370,

%T 50185498,174628420,606755258,2105552976,7298685677,25275876584,

%U 87457546835,302382185770,1044756677132,3607460520006,12449135054480

%N Largest entry in a 2-composition of n, summed over all 2-compositions of n. A 2-composition of n is a nonnegative matrix with two rows, such that each column has at least one nonzero entry and whose entries sum up to n.

%C a(n)=Sum(A181338(n,k),k=0..n).

%D G. Castiglione, A. Frosini, E. Munarini, A. Restivo and S. Rinaldi, Combinatorial aspects of L-convex polyominoes, European Journal of Combinatorics, 28, 2007, 1724-1741.

%F G.f. for 2-compositions with all entries <= k is h(k,z)=(1-z)^2/(1-4z+2z^2+2z^{k+1}-z^{2k+2}).

%F G.f. for 2-compositions with largest entry k is f(k,z)=h(k,z)-h(k-1,z).

%F G.f. = G(z)=Sum(k*f(k,z),k=1..infinity).

%e a(2)=9 because the 2-compositions of 2, written as (top row / bottom row), are (1 / 1), (0 / 2), (2 / 0), (1,0 / 0,1), (0,1 / 1,0), (1,1 / 0,0), (0,0 / 1,1) and we have 1 + 2 + 2 + 1 + 1 + 1 + 1 = 9.

%p h := proc (k) options operator, arrow: (1-z)^2/(1-4*z+2*z^2+2*z^(k+1)-z^(2*k+2)) end proc: f := proc (k) options operator, arrow: simplify(h(k)-h(k-1)) end proc: g := sum(k*f(k), k = 1 .. 50): gser := series(g, z = 0, 30): seq(coeff(gser, z, n), n = 1 .. 25);

%Y Cf. A181338

%K nonn

%O 1,1

%A _Emeric Deutsch_, Oct 15 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 20 09:46 EDT 2024. Contains 374445 sequences. (Running on oeis4.)