login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018054 Expansion of 1/((1-3*x)*(1-7*x)*(1-11*x)). 3
1, 21, 310, 3990, 48031, 557571, 6338620, 71164380, 792891661, 8792412321, 97210822930, 1072779241170, 11824793506891, 130242283148271, 1433852001421240, 15780680237514360, 173645640208869721, 1910509145600189421, 21018450325107861550, 231222901641889183950 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0)=1, a(1)=21, a(2)=310; for n > 2, a(n) = 21*a(n-1) - 131*a(n-2) + 231*a(n-3). - Vincenzo Librandi, Jul 02 2013
a(n) = 18*a(n-1) - 77*a(n-2) + 3^n. - Vincenzo Librandi, Jul 02 2013
a(n) = (11^(n+2) - 2*7^(n+2) + 3^(n+2))/32. - Yahia Kahloune, Jul 06 2013
O.g.f.: 1/((1-3*x) * (1-7*x) * (1-11*x)).
E.g.f.: (d^2/dx^2)(exp(3*x)*(exp(4*x)-1)^2/(4^2*2!)) = exp(3*x)*(121*exp(8*x) - 98*exp(4*x) + 9)/32. - Wolfdieter Lang, Apr 13 2017
MAPLE
a:= n-> (Matrix(3, (i, j)-> `if`(i=j-1, 1, `if`(j=1, [21, -131, 231][i], 0)))^n)[1, 1]: seq (a(n), n=0..25); # Alois P. Heinz, Jul 02 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - 3 x) (1 - 7 x) (1 - 11 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 02 2013 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-7*x)*(1-11*x)))); /* or */ I:=[1, 21, 310]; [n le 3 select I[n] else 21*Self(n-1)-131*Self(n-2)+231*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 02 2013
CROSSREFS
Cf. Column k=2 of A225469.
Sequence in context: A021244 A183463 A125478 * A021484 A198376 A306428
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)