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

A171129
a(n)=(n^4-n^3-n^2-n)/2.
0
0, -1, 1, 21, 86, 235, 519, 1001, 1756, 2871, 4445, 6589, 9426, 13091, 17731, 23505, 30584, 39151, 49401, 61541, 75790, 92379, 111551, 133561, 158676, 187175, 219349, 255501, 295946, 341011, 391035, 446369, 507376, 574431, 647921, 728245, 815814
OFFSET
0,4
COMMENTS
From Chai Wah Wu, Mar 16 2017: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n > 4.
G.f.: x*(-x^3 - 6*x^2 - 6*x + 1)/(x - 1)^5. (End)
EXAMPLE
(2^4 - 2^3 - 2^2 - 2)/2 = 1, (3^4 - 3^3 - 3^2 - 3)/2 = 21,..
MATHEMATICA
f[n_]:=(n^4-n^3-n^2-n)/2; Table[f[n], {n, 0, 5!}]
CROSSREFS
Sequence in context: A063651 A220613 A045016 * A301540 A240518 A219850
KEYWORD
sign
AUTHOR
EXTENSIONS
Offset corrected by Chai Wah Wu, Mar 16 2017
STATUS
approved