OFFSET
0,3
LINKS
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
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved