OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..4925
YĆ¼ksel Soykan, Summing Formulas For Generalized Tribonacci Numbers, arXiv:1910.03490 [math.GM], 2019.
Index entries for linear recurrences with constant coefficients, signature (-1,-2,1).
FORMULA
G.f.: (-1 + x)/(-1 - x - 2*x^2 + x^3). - Michael De Vlieger, Jan 09 2020
MATHEMATICA
LinearRecurrence[{-1, -2, 1}, {1, -2, 0}, 50] (* Harvey P. Dale, Oct 27 2015 *)
PROG
(PARI) Vec((1-x)/(1+x+2*x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
EXTENSIONS
Deleted certain dangerous or potentially dangerous links. - N. J. A. Sloane, Jan 30 2021
STATUS
approved