OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (16,-61,66).
FORMULA
a(n) = 4*2^n/9 - 9*3^n/8 + 121*11^n/72. - Antonio Alberto Olivares, Feb 06 2010
a(n) = 16*a(n-1) - 61*a(n-2) + 66*a(n-3). - Vincenzo Librandi, Jun 25 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - 2 x) (1 - 3 x) (1 - 11 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 25 2013 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-2*x)*(1-3*x)*(1-11*x)))); /* or */ I:=[1, 16, 195]; [n le 3 select I[n] else 16*Self(n-1)-61*Self(n-2)+66*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jun 25 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved