OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,2).
FORMULA
G.f.: (x^2-4*x+2)*x/((1-2*x)*(x+1)). - Alois P. Heinz, Jan 21 2021
MATHEMATICA
LinearRecurrence[{1, 2}, {0, 2, -2, 3}, 50] (* Paolo Xausa, Nov 07 2023 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Feb 01 2009
EXTENSIONS
More terms from Alois P. Heinz, Jan 21 2021
STATUS
approved