[go: up one dir, main page]

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

A269440
Alternating sum of 9-gonal (or decagonal) pyramidal numbers.
0
0, -1, 9, -25, 55, -100, 166, -254, 370, -515, 695, -911, 1169, -1470, 1820, -2220, 2676, -3189, 3765, -4405, 5115, -5896, 6754, -7690, 8710, -9815, 11011, -12299, 13685, -15170, 16760, -18456, 20264, -22185, 24225, -26385, 28671, -31084, 33630, -36310, 39130
OFFSET
0,3
LINKS
FORMULA
G.f.: x*(1 - 6*x)/((x - 1)*(x + 1)^4).
a(n) = (-1)^n*(2*n - 1)*(14*n^2 + 34*n + 15)/48 + 5/16.
a(n) = Sum_{k = 0..n} (-1)^k*A007584(k).
MATHEMATICA
Table[(-1)^n (2 n - 1) ((14 n^2 + 34 n + 15)/48) + 5/16, {n, 0, 40}]
LinearRecurrence[{-3, -2, 2, 3, 1}, {0, -1, 9, -25, 55}, 41]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Ilya Gutkovskiy, Feb 26 2016
STATUS
approved