OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (24,-216,864,-1296).
FORMULA
From R. J. Mathar, Dec 19 2008: (Start)
G.f.: 216*x^2/(1-6*x)^4.
a(n) = 216*A081144(n+1). (End)
a(n) = 24*a(n-1) - 216*a(n-2) + 864*a(n-3) - 1296*a(n-4). - Vincenzo Librandi, Feb 11 2013
From Amiram Eldar, Jan 04 2022: (Start)
Sum_{n>=2} 1/a(n) = 25*log(6/5)/12 - 3/8.
Sum_{n>=2} (-1)^n/a(n) = 49*log(7/6)/12 - 5/8. (End)
MATHEMATICA
CoefficientList[Series[216 x/(1 - 6 x)^4, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 11 2013 *)
PROG
(Magma) [(n^3-n)*6^n: n in [0..25]]; (* or *) I:=[0, 216, 5184, 77760]; [n le 4 select I[n] else 24*Self(n-1) -216*Self(n-2) +864*Self(n-3) -1296*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Feb 11 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 28 2007
EXTENSIONS
Corrected offset. - Mohammad K. Azarian, Nov 20 2008
STATUS
approved