OFFSET
2,1
LINKS
Indranil Ghosh, Table of n, a(n) for n = 2..2607
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,1).
FORMULA
G.f.: x^2(2x+5)/(1-2x-x^2). a(n) = A000129(n+1), as proved by Tomislav Doslic. - Ralf Stephan, Nov 16 2004
a(n) = 2*a(n-1)+a(n-2). [Philippe Deléham, Nov 20 2008]
MATHEMATICA
LinearRecurrence[{2, 1}, {5, 12}, 50] (* Paolo Xausa, Jul 19 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Mar 14 2002
STATUS
approved