OFFSET
1,1
COMMENTS
See A167190, where this sequence arises as the integer part of the quotient.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f. 24*x*(111+413*x+96*x^2) / (x-1)^4 . - R. J. Mathar, Jan 27 2012
a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) -a(n-4). - Vincenzo Librandi, Jul 02 2012
MATHEMATICA
CoefficientList[Series[24*(111+413*x+96*x^2)/(x-1)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Jul 02 2012 *)
LinearRecurrence[{4, -6, 4, -1}, {2664, 20568, 68592, 161616}, 40] (* Harvey P. Dale, Jun 15 2014 *)
PROG
(Magma) I:=[2664, 20568, 68592, 161616]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..40]]; // Vincenzo Librandi, Jul 02 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
A.K. Devaraj, Oct 30 2009
EXTENSIONS
Extended beyond a(6) by R. J. Mathar, Nov 17 2009
STATUS
approved