login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265106 Expansion of (x^5-x^4-2*x^3+x^2-x)/(-x^4+x^3-2*x^2+3*x-1). 5
0, 1, 2, 6, 16, 36, 80, 178, 394, 870, 1920, 4236, 9344, 20610, 45458, 100262, 221136, 487732, 1075728, 2372594, 5232922, 11541574, 25455744, 56144412, 123830400, 273116546, 602377506, 1328585414, 2930287376, 6462952260, 14254489936, 31439267250, 69341486762 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

M. Diepenbroek, M. Maus, A. Stoll, Pattern Avoidance in Reverse Double Lists, Preprint 2015. See Table 3.

Index entries for linear recurrences with constant coefficients, signature (3,-2,1,-1).

FORMULA

a(n) = 3*a(n-1)-2*a(n-2)+a(n-3)-a(n-4) for n>5. - Colin Barker, Apr 12 2016

MATHEMATICA

CoefficientList[Series[(x^5-x^4-2x^3+x^2-x)/(-x^4+x^3-2x^2+3x-1), {x, 0, 40}], x] (* or *) LinearRecurrence[{3, -2, 1, -1}, {0, 1, 2, 6, 16, 36}, 40] (* Harvey P. Dale, Feb 05 2019 *)

PROG

(PARI) concat(0, Vec(x*(1-x+2*x^2+x^3-x^4)/((1-x)*(1-2*x-x^3)) + O(x^50))) \\ Colin Barker, Apr 12 2016

CROSSREFS

Cf. A002605, A265107, A265278, A270810.

Sequence in context: A257198 A053210 A066641 * A306332 A026540 A128232

Adjacent sequences:  A265103 A265104 A265105 * A265107 A265108 A265109

KEYWORD

nonn,easy

AUTHOR

Alois P. Heinz, Apr 06 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 19:25 EDT 2019. Contains 328037 sequences. (Running on oeis4.)