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,-1,-1)
FORMULA
From R. J. Mathar, Jan 03 2009: (Start)
G.f.: 2x(4+x-4x^2)/((1-x)(1+x)(1-x-x^2)).
MATHEMATICA
LinearRecurrence[{1, 2, -1, -1}, {0, 8, 10, 18}, 50] (* Paolo Xausa, Jan 19 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 25 2008
EXTENSIONS
Extended by R. J. Mathar, Jan 03 2009
STATUS
approved