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”).

A256716
a(n) = n*(n+1)*(22*n-19)/6.
3
0, 1, 25, 94, 230, 455, 791, 1260, 1884, 2685, 3685, 4906, 6370, 8099, 10115, 12440, 15096, 18105, 21489, 25270, 29470, 34111, 39215, 44804, 50900, 57525, 64701, 72450, 80794, 89755, 99355, 109616, 120560, 132209, 144585, 157710, 171606, 186295, 201799
OFFSET
0,3
COMMENTS
This sequence is related to the tridecagonal numbers (A051865) by a(n) = n*A051865(n) - Sum_{i=0..n-1} A051865(i).
REFERENCES
E. Deza and M. M. Deza, Figurate numbers, World Scientific Publishing (2012), page 93 (22nd row of the table).
FORMULA
G.f.: x*(1 + 21*x)/(1 - x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) with n>3, a(0)=0, a(1)=1, a(2)=25, a(3)=94.
a(n) = Sum_{i=0..n-1} (n-i)*(22*i+1) for n>0.
MATHEMATICA
Table[n (n + 1) (22 n - 19)/6, {n, 0, 40}]
PROG
(PARI) vector(40, n, n--; n*(n+1)*(22*n-19)/6)
(Sage) [n*(n+1)*(22*n-19)/6 for n in (0..40)]
(Magma) [n*(n+1)*(22*n-19)/6: n in [0..40]];
CROSSREFS
Partial sums of A051876.
Cf. similar sequences listed in A237616.
Cf. A051865.
Sequence in context: A280297 A090659 A010013 * A063769 A099771 A266818
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Apr 09 2015
STATUS
approved