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!)
A078059 Expansion of (1-x)/(1+2*x-x^2+2*x^3). 0
1, -3, 7, -19, 51, -135, 359, -955, 2539, -6751, 17951, -47731, 126915, -337463, 897303, -2385899, 6344027, -16868559, 44852943, -119262499, 317115059, -843198503, 2242037063, -5961502747, 15851439563, -42148455999, 112071357055, -297994049235, 792356367523, -2106849498391 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1, a(1) = -3, a(2) = 7, a(n) = -2*a(n-1) + a(n-2) - 2*a(n-3) for n > 2. - Jinyuan Wang, Apr 07 2020
PROG
(PARI) Vec((1-x)/(1+2*x-x^2+2*x^3) + O(x^50)) \\ Jinyuan Wang, Apr 07 2020
CROSSREFS
Sequence in context: A087224 A308398 A341703 * A018031 A052948 A026325
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
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 26 10:56 EDT 2024. Contains 372824 sequences. (Running on oeis4.)