[go: up one dir, main page]

login
A027382
a(n) = n^4 - 6*n^3 + 12*n^2 - 4*n + 1.
0
1, 4, 9, 16, 49, 156, 409, 904, 1761, 3124, 5161, 8064, 12049, 17356, 24249, 33016, 43969, 57444, 73801, 93424, 116721, 144124, 176089, 213096, 255649, 304276, 359529, 421984, 492241, 570924, 658681
OFFSET
0,2
FORMULA
G.f.: ( -1+x+x^2-x^3-24*x^4 ) / (x-1)^5. - R. J. Mathar, Jun 09 2016
MATHEMATICA
Table[n^4 - 6n^3 + 12n^2 - 4n + 1, {n, 0, 39}] (* Alonso del Arte, Dec 28 2016 *)
LinearRecurrence[{5, -10, 10, -5, 1}, {1, 4, 9, 16, 49}, 40] (* Harvey P. Dale, Mar 12 2018 *)
CROSSREFS
Sequence in context: A029784 A112735 A059931 * A164840 A023110 A277699
KEYWORD
nonn,easy
STATUS
approved