login
A046998
a(n) = 1 - (7/6)*n + (2/3)*n^3 + (1/2)*n^4.
0
1, 1, 12, 56, 167, 391, 786, 1422, 2381, 3757, 5656, 8196, 11507, 15731, 21022, 27546, 35481, 45017, 56356, 69712, 85311, 103391, 124202, 148006, 175077, 205701, 240176, 278812, 321931, 369867, 422966, 481586, 546097, 616881, 694332, 778856, 870871, 970807
OFFSET
0,3
FORMULA
G.f.: -(2*x^4-4*x^3+17*x^2-4*x+1)/(x-1)^5. - Harvey P. Dale, Aug 04 2023
MATHEMATICA
Table[1-(7n)/6+(2n^3)/3+n^4/2, {n, 0, 40}] (* Harvey P. Dale, Aug 04 2023 *)
CROSSREFS
Sequence in context: A069552 A035005 A001386 * A212507 A212508 A331771
KEYWORD
nonn,easy
STATUS
approved