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!)
A182099 Total area of the largest inscribed rectangles of all integer partitions of n. 2

%I #20 Dec 06 2020 09:07:09

%S 0,1,4,8,18,29,54,82,136,202,309,441,658,915,1303,1790,2479,3337,4541,

%T 6022,8045,10554,13876,17996,23409,30055,38634,49208,62650,79116,

%U 99898,125213,156848,195339,242964,300707,371770,457493,562292,688451,841707,1025484

%N Total area of the largest inscribed rectangles of all integer partitions of n.

%C a(n) >= A000041(n)*A061017(n) for n>0 because the least largest inscribed rectangle of any integer partition of n is A061017(n) and A000041(n) is the number of partitions of n.

%C a(n) >= A116503(n), the sum of the areas of the Durfee squares of all partitions of n.

%H Alois P. Heinz, <a href="/A182099/b182099.txt">Table of n, a(n) for n = 0..175</a>

%F a(n) = Sum_{k=1..n} k * A115723(n,k) for n>0, a(0) = 0.

%F a(n) = Sum_{k=1..n} k * (A182114(n,k) - A182114(n,k-1)).

%e a(4) = 18 = 4+3+4+3+4 because the partitions of 4 are [1,1,1,1], [1,1,2], [2,2], [1,3], [4] and the largest inscribed rectangles have areas 4*1, 3*1, 2*2, 1*3, 1*4.

%e a(5) = 29 = 5+4+4+3+4+4+5 because the partitions of 5 are [1,1,1,1,1], [1,1,1,2], [1,2,2], [1,1,3], [2,3], [1,4], [5].

%p b:= proc(n, i, t, k) option remember; `if`(n=0, 1,

%p `if`(i=1, `if`(t+n>k, 0, 1), `if`(i<1, 0, b(n, i-1, t, k)

%p +add(`if`(t+j>k/i, 0, b(n-i*j, i-1, t+j, k)), j=1..n/i))))

%p end:

%p a:= n-> add(k*(b(n, n, 0, k) -b(n, n, 0, k-1)), k=1..n):

%p seq(a(n), n=0..50);

%t b[n_, i_, t_, k_] := b[n, i, t, k] = If[n == 0, 1, If[i == 1, If[t + n > k, 0, 1], If[i < 1, 0, b[n, i - 1, t, k] + Sum[If[t + j > k/i, 0, b[n - i j, i - 1, t + j, k]], {j, 1, n/i}]]]];

%t a[n_] := Sum[k(b[n, n, 0, k] - b[n, n, 0, k - 1]), {k, 1, n}];

%t a /@ Range[0, 50] (* _Jean-François Alcover_, Dec 06 2020, after _Alois P. Heinz_ *)

%Y Cf. A000041, A061017, A115723, A116503.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Apr 11 2012

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 April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)