OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (17,-82,120).
FORMULA
a(0)=1, a(1)=17, a(2)=207, a(n)=17*a(n-1)-82*a(n-2)+120*a(n-3). - Harvey P. Dale, Aug 25 2012
a(n) = 9*3^n/7 -8*4^n/3 +50*10^n/21. - R. J. Mathar, Jun 23 2013
a(n) = 14*a(n-1) -40*a(n-2) +3^n for n>1, a(0)=1, a(1)=17. - Vincenzo Librandi, Jun 26 2013
MATHEMATICA
CoefficientList[Series[1/((1-3x)(1-4x)(1-10x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{17, -82, 120}, {1, 17, 207}, 30] (* Harvey P. Dale, Aug 25 2012 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-4*x)*(1-10*x)))); // Vincenzo Librandi, Jun 26 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved