A165568 a(n) = -1 - 2*n + n^2 + 2*n^3 + n^4.
-1, 1, 31, 137, 391, 889, 1751, 3121, 5167, 8081, 12079, 17401, 24311, 33097, 44071, 57569, 73951, 93601, 116927, 144361, 176359, 213401, 255991, 304657, 359951, 422449, 492751, 571481, 659287, 756841, 864839, 984001, 1115071, 1258817, 1416031, 1587529, 1774151
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Programs
-
Magma
[-1 -2*n +n^2 +2*n^3 +n^4: n in [0..40]]; // Vincenzo Librandi, May 21 2011
Formula
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + 24.
G.f.: (-1 + 6*x + 16*x^2 + 2*x^3 + x^4)/(1-x)^5.
Extensions
Edited and extended by R. J. Mathar, Feb 02 2010
Comments