OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (14,-43,30).
FORMULA
a(0)=1, a(1)=14, a(n)=13*a(n-1)-30*a(n-2)+1. - Vincenzo Librandi, Feb 10 2011
a(n) = (1/18)-(9/14)*(3)^n+(100/63)*(10)^n. Antonio Alberto Olivares, May 12, 2012
MAPLE
a:= n-> add((10^(n+1-j)-3^(n+1-j))/7, j=0..n): seq(a(n), n=0..20); # Zerinvary Lajos, Jan 15 2007
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-3x)(1-10x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{14, -43, 30}, {1, 14, 153}, 30] (* Harvey P. Dale, Aug 17 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved