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!)
A249995 Expansion of 1/((1+2*x)*(1-3*x)*(1-4*x)). 3
1, 5, 27, 121, 539, 2289, 9619, 39737, 162987, 663553, 2690051, 10865673, 43783195, 176086097, 707220723, 2837479129, 11375770763, 45580514721, 182554616035, 730915611305, 2925754935291, 11709295114225, 46856010770387, 187480525633401, 750091566966379, 3000874627609409 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/((1+2*x)*(1-3*x)*(1-4*x)).
a(n) = ((-1)^n*2^(n+1) + 5*2^(2*n+3) - 3^(n+3))/15. - Colin Barker, Dec 29 2014
a(n) = 5*a(n-1) + 2*a(n-2) - 24*a(n-3). - Colin Barker, Dec 29 2014
E.g.f.: (1/15)*(2*exp(-2*x) - 27*exp(3*x) + 40*exp(4*x)). - G. C. Greubel, Oct 10 2022
MATHEMATICA
LinearRecurrence[{5, 2, -24}, {1, 5, 27}, 41] (* G. C. Greubel, Oct 10 2022 *)
CoefficientList[Series[1/((1+2x)(1-3x)(1-4x)), {x, 0, 40}], x] (* Harvey P. Dale, Oct 28 2022 *)
PROG
(PARI) Vec(1/((1+2*x)*(1-3*x)*(1-4*x)) + O(x^50)) \\ Michel Marcus, Dec 29 2014
(Magma) [(5*2^(2*n+3) +(-1)^n*2^(n+1) -3^(n+3))/15: n in [0..40]]; // G. C. Greubel, Oct 10 2022
(SageMath) [(5*2^(2*n+3) +(-1)^n*2^(n+1) -3^(n+3))/15 for n in range(41)] # G. C. Greubel, Oct 10 2022
CROSSREFS
Cf. A016269 for the expansion of 1/((1-2*x)*(1-3*x)*(1-4*x)).
Sequence in context: A202508 A129868 A069993 * A009027 A275540 A037498
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, Dec 28 2014
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 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)