OFFSET
0,3
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,1).
FORMULA
O.g.f.: (x-1)(x^2+1)(x^4-x^2+1)/(-1+2x+x^2). - R. J. Mathar, Jul 16 2008
MATHEMATICA
LinearRecurrence[{2, 1}, {1, 1, 3, 7, 17, 41, 100, 240}, 50] (* Paolo Xausa, Mar 01 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 15 2007
EXTENSIONS
Edited and extended by R. J. Mathar, Jul 16 2008
STATUS
approved