login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077902 Expansion of (1-x)^(-1)/(1 + x - x^2 + x^3). 2
1, 0, 2, -2, 5, -8, 16, -28, 53, -96, 178, -326, 601, -1104, 2032, -3736, 6873, -12640, 23250, -42762, 78653, -144664, 266080, -489396, 900141, -1655616, 3045154, -5600910, 10301681, -18947744, 34850336, -64099760, 117897841, -216847936, 398845538, -733591314, 1349284789, -2481721640 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..37.

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

MATHEMATICA

a=0; b=0; c=0; lst={}; Do[z=a+b+c+1; AppendTo[lst, z]; a=b; b=c; c=z; z=a+b+c-1; AppendTo[lst, z]; a=b; b=c; c=z, {n, 5!}]; lst(*Abs values*) (* Vladimir Joseph Stephan Orlovsky, Feb 17 2010 *)

PROG

(PARI) Vec((1-x)^(-1)/(1+x-x^2+x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012

CROSSREFS

Sequence in context: A042982 A006367 A246807 * A005834 A052531 A257517

Adjacent sequences:  A077899 A077900 A077901 * A077903 A077904 A077905

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 01:16 EDT 2020. Contains 334858 sequences. (Running on oeis4.)