[go: up one dir, main page]

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!)
A219758 Expansion of x^4*(2-6*x+5*x^2+2*x^3-4*x^4)/((1-x)^2*(1-2*x)^5). 2
0, 0, 0, 0, 2, 18, 99, 432, 1641, 5674, 18315, 56076, 164621, 466958, 1287183, 3463184, 9125905, 23617554, 60162067, 151126036, 374931477, 919863318, 2234253335, 5377622040, 12836667417, 30410801178, 71546437659, 167252066332, 388677763101, 898319253534 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
M. H. Albert, M. D. Atkinson and Robert Brignall, The enumeration of three pattern classes, arXiv:1206.3183 [math.CO] (2012), p. 26.
Index entries for linear recurrences with constant coefficients, signature (12,-61,170,-280,272,-144,32).
FORMULA
G.f.: x^4*(2-6*x+5*x^2+2*x^3-4*x^4)/((1-x)^2*(1-2*x)^5).
a(n) = 2^(n-7)*(n^4-2*n^3-25*n^2+194*n-576)/3 +n+1 with n>1, a(0)=a(1)=0. [Bruno Berselli, Nov 29 2012]
MATHEMATICA
CoefficientList[Series[x^4 (2 - 6 x + 5 x^2 + 2 x^3 - 4 x^4)/((1 - x)^2 (1 - 2 x)^5), {x, 0, 29}], x] (* Bruno Berselli, Nov 30 2012 *)
LinearRecurrence[{12, -61, 170, -280, 272, -144, 32}, {0, 0, 0, 0, 2, 18, 99, 432, 1641}, 30] (* Harvey P. Dale, Jul 07 2017 *)
PROG
(Maxima) makelist(coeff(taylor(x^4*(2-6*x+5*x^2+2*x^3-4*x^4)/((1-x)^2*(1-2*x)^5), x, 0, n), x, n), n, 0, 29); /* Bruno Berselli, Nov 29 2012 */
(Magma) I:=[0, 0, 0, 0, 2, 18, 99, 432, 1641, 5674]; [n le 10 select I[n] else 12*Self(n-1) - 61*Self(n-2) + 170*Self(n-3) - 280*Self(n-4) + 272*Self(n-5) - 144*Self(n-6) + 32*Self(n-7): n in [1..30]]; // Vincenzo Librandi, Dec 14 2012
CROSSREFS
Sequence in context: A055357 A087291 A267691 * A005969 A094251 A345969
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 28 2012
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 August 29 19:56 EDT 2024. Contains 375518 sequences. (Running on oeis4.)