The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A017161 Expansion of 1/((1-3x)(1-4x)(1-12x)). 1
1, 19, 265, 3355, 41041, 495859, 5964505, 71633035, 859838881, 10319056099, 123832690345, 1486008529915, 17832167873521, 213986278134739, 2567836397009785, 30814041016037995, 369768509243184961 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 3^n - 2*4^n + 2*12^n. - R. J. Mathar, Jun 23 2013
From Vincenzo Librandi, Jun 26 2013: (Start)
a(n) = 19*a(n-1) - 96*a(n-2) + 144*a(n-3).
a(n) = 16*a(n-1) - 48*a(n-2) + 3^n. (End)
MATHEMATICA
CoefficientList[Series[1 / ((1 - 3 x) (1 - 4 x) (1 - 12 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 26 2013 *)
PROG
(Magma) I:=[1, 19, 265]; [n le 3 select I[n] else 19*Self(n-1)-96*Self(n-2)+144*Self(n-3): n in [1..20]]; /* or */ m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-4*x)*(1-12*x)))); // Vincenzo Librandi, Jun 26 2013
(PARI) x='x+O('x^20); Vec(1/((1-3*x)*(1-4*x)*(1-12*x))) \\ Altug Alkan, Sep 23 2018
CROSSREFS
Sequence in context: A016257 A021104 A209075 * A036736 A016254 A016302
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 May 25 04:47 EDT 2024. Contains 372782 sequences. (Running on oeis4.)