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!)
A322753 Expansion of x*(1 + 2*x - 3*x^2 + 4*x^3) / (1 - x - x^2 + x^3 - x^4). 1
0, 1, 3, 1, 7, 6, 15, 15, 31, 37, 68, 89, 151, 209, 339, 486, 767, 1123, 1743, 2585, 3972, 5937, 9067, 13617, 20719, 31206, 47375, 71479, 108367, 163677, 247940, 374729, 567359, 857825, 1298395, 1963590, 2971519, 4494539, 6800863, 10287473, 15565316 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
REFERENCES
Miklos Bona, editor, Handbook of Enumerative Combinatorics, CRC Press, 2015, page 48.
LINKS
FORMULA
a(n) = a(n-1) + a(n-2) - a(n-3) + a(n-4) for n>4. - Colin Barker, Jan 06 2019
MATHEMATICA
CoefficientList[Series[(x + 2*x^2 - 3*x^3 + 4*x^4)/(1 - x - x^2 + x^3 - x^4), {x, 0, 50}], x] (* Amiram Eldar, Jan 11 2019 *)
LinearRecurrence[{1, 1, -1, 1}, {0, 1, 3, 1, 7}, 50] (* Harvey P. Dale, Jan 29 2023 *)
PROG
(PARI) concat(0, Vec(x*(1 + 2*x - 3*x^2 + 4*x^3) / (1 - x - x^2 + x^3 - x^4) + O(x^50))) \\ Colin Barker, Jan 06 2019
CROSSREFS
Sequence in context: A359079 A245684 A082053 * A136035 A132307 A372968
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 25 2018
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 July 10 00:52 EDT 2024. Contains 374191 sequences. (Running on oeis4.)