OFFSET
0,1
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..1000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (1,1).
FORMULA
G.f.: (2+17*x)/(1-x-x^2). - Philippe Deléham, Nov 19 2008
MATHEMATICA
LinearRecurrence[{1, 1}, {2, 19}, 50] (* Paolo Xausa, May 29 2026 *)
PROG
(PARI) a(n)=([0, 1; 1, 1]^n*[2; 19])[1, 1] \\ Charles R Greathouse IV, May 28 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
