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!)
A016315 Expansion of 1/((1-2x)*(1-7x)*(1-12x)). 1
1, 21, 319, 4305, 55015, 683697, 8369047, 101581473, 1227048295, 14781074385, 177768357559, 2135988547329, 25651240368391, 307950529031985, 3696355860679255, 44362916914251873, 532401529073793703 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 2*2^n/25 - 49*7^n/25 + 72*12^n/25. - R. J. Mathar, Jun 23 2013
From Vincenzo Librandi, Jun 26 2013: (Start)
a(n) = 21*a(n-1) - 122*a(n-2) + 168*a(n-3).
a(n) = 19*a(n-1) - 84*a(n-2) + 2^n. (End)
MATHEMATICA
CoefficientList[Series[1 / ((1 - 2 x) (1 - 7 x) (1 - 12 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 26 2013 *)
PROG
(Magma) I:=[1, 21, 319]; [n le 3 select I[n] else 21*Self(n-1)-122*Self(n-2)+168*Self(n-3): n in [1..20]]; /* or */ m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((1/((1-2*x)*(1-7*x)*(1-12*x))))); // Vincenzo Librandi, Jun 26 2013
(PARI) x='x+O('x^99); Vec(1/((1-2*x)*(1-7*x)*(1-12*x))) \\ Altug Alkan, Sep 21 2018
CROSSREFS
Sequence in context: A016318 A017954 A055434 * A113531 A069572 A260487
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 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)