OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,17).
FORMULA
a(n) = 2*a(n-1) + 17*a(n-2) for n>1.
a(n)/a(n-1) ~ 1 + 3*sqrt(2).
a(n) = ((1 - 3*sqrt(2))^n*(-16+3*sqrt(2)) + (1+3*sqrt(2))^n*(16 + 3*sqrt(2))) / (6*sqrt(2)). - Colin Barker, Dec 14 2019
MATHEMATICA
CoefficientList[Series[(1+15x)/(1-2x-17x^2), {x, 0, 30}], x] (* or *) LinearRecurrence[{2, 17}, {1, 17}, 30] (* Harvey P. Dale, Jul 31 2021 *)
PROG
(PARI) Vec((1 + 15*x) / (1 - 2*x - 17*x^2) + O(x^25)) \\ Colin Barker, Jan 25 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Kyle MacLean Smith, Dec 13 2019
STATUS
approved