OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (20,-119,232,-132).
FORMULA
a(n) = (2*11^(n+3)-9*6^(n+3)+25*2^(n+3)-18)/900. - Yahia Kahloune, May 21 2013
a(0)=1, a(1)=20; for n>1, a(n) = 17*a(n-1) -66*a(n-2) +2^n -1. - Vincenzo Librandi, Jul 08 2013
a(0)=1, a(1)=20, a(2)=281, a(3)=3472; for n>3, a(n) = 20*a(n-1) -119*a(n-2) +232*a(n-3) -132*a(n-4). - Vincenzo Librandi, Jul 08 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - x) (1 - 2 x) (1 - 6 x) (1 - 11 x)), {x, 0, 30}], x] (* Harvey P. Dale, Mar 12 2011 *)
PROG
(PARI) x='x+O('x^66); Vec(1/((1-x)*(1-2*x)*(1-6*x)*(1-11*x))) \\ Joerg Arndt, May 21 2013
(Magma) I:=[1, 20, 281, 3472]; [n le 4 select I[n] else 20*Self(n-1)-119*Self(n-2)+232*Self(n-3)-132*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Jul 08 2013
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-2*x)*(1-6*x)*(1-11*x)))); // Vincenzo Librandi, Jul 08 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved