OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-1,1,-2,2,-2,1).
MATHEMATICA
LinearRecurrence[{2, -2, 2, -1, 1, -2, 2, -2, 1}, {1, 4, 10, 19, 29, 42, 60, 81, 103}, 100] (* Paolo Xausa, Feb 28 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 10 2021
STATUS
approved