OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,1,2).
FORMULA
a(n) = a(n-2) + 2*a(n-3) for n >= 7.
G.f.: -(x+1)^2*(x^2+1)^2/(2*x^3+x^2-1). - Alois P. Heinz, Jun 03 2024
MATHEMATICA
LinearRecurrence[{0, 1, 2}, {1, 2, 4, 8, 11, 18, 28}, 50] (* Paolo Xausa, Jun 24 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Miquel A. Fiol, Jun 03 2024
STATUS
approved