%I #16 Jun 24 2021 04:50:30
%S 1,4,10,20,33,48,64,82,103,128,156,186,217,250,286,326,369,414,460,
%T 508,559,614,672,732,793,856,922,992,1065,1140,1216,1294,1375,1460,
%U 1548,1638,1729,1822,1918,2018,2121
%N Partial sums of A028357.
%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,0,3,-3,1).
%F G.f.: ( -1-x-x^2-2*x^3 ) / ( (1+x)*(x^2-x+1)*(x-1)^3 ). - _R. J. Mathar_, Dec 15 2015
%F a(n) = (9 + 72*n + 30*n^2 + 32*cos((n + 1)*Pi/3) - (-1)^n)/24. - _Greg Dresden_, Jun 22 2021
%t LinearRecurrence[{3,-3,0,3,-3,1},{1,4,10,20,33,48},50] (* _Harvey P. Dale_, Jun 14 2021 *)
%t Table[(9 + 72n + 30n^2 + 32Cos[(n + 1)Pi/3] - (-1)^n)/24, {n, 0, 40}] (* _Greg Dresden_, Jun 22 2021 *)
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_.