login
A018091
Expansion of 1/((1-3x)(1-9x)(1-11x)).
2
1, 23, 370, 5150, 66451, 819413, 9810340, 115087100, 1330524901, 15216894803, 172615989910, 1945847389850, 21827965327351, 243920416546193, 2717439768299080, 30200674142257400, 334986945826585801
OFFSET
0,2
FORMULA
a(0)=1, a(1)=23, a(2)=370; for n>2, a(n) = 23*a(n-1) -159*a(n-2) +297*a(n-3). - Vincenzo Librandi, Jul 02 2013
a(n) = 20*a(n-1) -99*a(n-2) +3^n. - Vincenzo Librandi, Jul 02 2013
a(n) = (3*11^(n+2) - 4*9^(n+2) + 3^(n+2))/48. [Yahia Kahloune, Jul 06 2013]
MATHEMATICA
CoefficientList[Series[1 / ((1 - 3 x) (1 - 9 x) (1 - 11 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jul 02 2013 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-9*x)*(1-11*x)))); /* or */ I:=[1, 23, 370]; [n le 3 select I[n] else 23*Self(n-1)-159*Self(n-2)+297*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 02 2013
CROSSREFS
Sequence in context: A019869 A021294 A019628 * A021279 A018071 A016325
KEYWORD
nonn,easy
AUTHOR
STATUS
approved