OFFSET
0,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..1285
Weerayuth Nilsrakoo and Achariya Nilsrakoo, On One-Parameter Generalization of Jacobsthal Numbers, WSEAS Trans. Math. (2025) Vol. 24, 51-61. See p. 3.
Index entries for linear recurrences with constant coefficients, signature (5,6).
FORMULA
O.g.f.: (2-5*x) / ((1+x)*(1-6*x)).
E.g.f.: exp(-x) + exp(6*x).
a(n) = 5*a(n-1)+6*a(n-2) for n>1.
MATHEMATICA
Array[6^# + (-1)^# &, 23, 0] (* or *)
LinearRecurrence[{5, 6}, {2, 5}, 23] (* or *)
CoefficientList[ Series[(5x -2)/(6x^2 + 5x -1), {x, 0, 23}], x] (* Robert G. Wilson v, Jan 01 2017 *)
PROG
(PARI) Vec((2-5*x)/((1+x)*(1-6*x)) + O(x^30))
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Colin Barker, Jun 09 2016
STATUS
approved