[go: up one dir, main page]

login
A152100
G.f.: 1 - 2*x*(-7 - 10*x + x^2)/(x - 1)^4.
2
1, 14, 76, 218, 472, 870, 1444, 2226, 3248, 4542, 6140, 8074, 10376, 13078, 16212, 19810, 23904, 28526, 33708, 39482, 45880, 52934, 60676, 69138, 78352, 88350, 99164, 110826, 123368, 136822, 151220, 166594, 182976, 200398, 218892, 238490
OFFSET
0,2
FORMULA
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), n > 4. a(n) = 2*n*(8*n^2 + 12*n + 1)/3, n > 0. - R. J. Mathar, Sep 22 2009
MATHEMATICA
Join[{1}, LinearRecurrence[{4, -6, 4, -1}, {14, 76, 218, 472}, 40]] (* Harvey P. Dale, Aug 07 2012 *)
CROSSREFS
Cf. A006071.
Sequence in context: A296996 A270704 A200554 * A173962 A200547 A240045
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 21 2009, based on email from R. J. Mathar, Mar 22 2009
EXTENSIONS
More terms from R. J. Mathar, Sep 22 2009
STATUS
approved