OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..730
Index entries for linear recurrences with constant coefficients, signature (30,-144).
FORMULA
G.f.: 1/((1-3*2*1*x)*(1-4*3*2*x)).
a(n) = A089504(n+2, 2), n>=0.
a(n) = (4*(4*3*2)^n - (3*2*1)^n)/3 = (2^n)*(2^(2*(n+1))-1)*3^(n-1).
a(n) = 6^n*(4^(n+1)-1)/3. - Vincenzo Librandi, Oct 18 2017
MATHEMATICA
CoefficientList[Series[1/((1-6x)(1-24x)), {x, 0, 20}], x] (* or *) LinearRecurrence[{30, -144}, {1, 30}, 20] (* Harvey P. Dale, Sep 25 2017 *)
PROG
(Magma) [6^n*(4^(n+1)-1)/3: n in [0..15]]; // Vincenzo Librandi, Oct 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Dec 01 2003
STATUS
approved