%I #33 Dec 02 2023 19:49:22
%S 0,0,12,23,70,105,210,282,468,590,880,1065,1482,1743,2310,2660,3400,
%T 3852,4788,5355,6510,7205,8602,9438,11100,12090,14040,15197,17458,
%U 18795,21390,22920,25872,27608,30940,32895,36630,38817,42978,45410,50020,52710,57792
%N Sum of the areas of the distinct rectangles (and the areas of the squares on their sides) with positive integer sides such that L + W = n, W < L.
%F a(n) = Sum_{i=1..floor((n-1)/2)} 2*i^2 + 2*(n-i)^2 + i*(n-i).
%F Conjectures from _Colin Barker_, Nov 01 2017: (Start)
%F G.f.: x^3*(12 + 11*x + 11*x^2 + 2*x^3) / ((1 - x)^4*(1 + x)^3).
%F a(n) = n*(6*n - 1)*(n - 2) / 8 for n even.
%F a(n) = n*(3*n - 1)*(n - 1) / 4 for n odd.
%F a(n) = a(n-1) + 3*a(n-2) - 3*a(n-3) - 3*a(n-4) + 3*a(n-5) + a(n-6) - a(n-7) for n > 7.
%F (End)
%F a(n) = n*(4-21*n+12*n^2-5*n*(-1)^n)/16. - _Wesley Ivan Hurt_, Dec 02 2023
%t Table[ Sum[2 i^2 + 2 (n - i)^2 + i (n - i), {i, Floor[(n-1)/2]}], {n, 40}]
%o (Magma) [n*(4-21*n+12*n^2-5*n*(-1)^n)/16 : n in [1..60]]; // _Wesley Ivan Hurt_, Dec 02 2023
%Y Cf. A294473.
%K nonn,easy
%O 1,3
%A _Wesley Ivan Hurt_, Oct 31 2017
|