login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A187673
Partial sums of the tricapped prism numbers A005920.
0
1, 10, 43, 125, 290, 581, 1050, 1758, 2775, 4180, 6061, 8515, 11648, 15575, 20420, 26316, 33405, 41838, 51775, 63385, 76846, 92345, 110078, 130250, 153075, 178776, 207585, 239743, 275500, 315115, 358856
OFFSET
0,2
FORMULA
a(n) = Sum_{i=0..n} A005920(i).
a(n) = (n+2)*(n+1)*(9*n^2 + 19*n + 12)/24.
a(n) = A002419(n+1) + A050534(n+1).
G.f.: ( -1-5*x-3*x^2 ) / (x-1)^5. - R. J. Mathar, Mar 29 2011
MATHEMATICA
Accumulate[LinearRecurrence[{4, -6, 4, -1}, {1, 9, 33, 82}, 40]] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {1, 10, 43, 125, 290}, 40] (* Harvey P. Dale, Feb 15 2015 *)
CROSSREFS
Cf. A005920.
Sequence in context: A336288 A211070 A251936 * A297655 A198695 A227728
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Mar 12 2011
EXTENSIONS
Typo in formula fixed by Colin Barker, Apr 19 2013
STATUS
approved