OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5, -6)
FORMULA
a(n) = A293881(n+2,n).
a(n) = 5*a(n-1) - 6*a(n-2) for n > 5.
a(n) = A293156(n) - 5*2^(n-1).
G.f.: x*(10 - 24*x + 9*x^2 + 13*x^3 + 10*x^4)/((1 - 2*x)*(1 - 3*x)). - Andrew Howroyd, Nov 17 2018
2*3^4*a(n) = 2^3*73*3^n-5*3^4*2^n for n>3. - R. J. Mathar, Jan 25 2023
MATHEMATICA
Join[{10, 26, 79}, LinearRecurrence[{5, -6}, {252, 796}, 24]] (* Jean-François Alcover, Nov 24 2018 *)
PROG
(PARI) Vec((10 - 24*x + 9*x^2 + 13*x^3 + 10*x^4)/((1 - 2*x)*(1 - 3*x)) + O(x^40)) \\ Andrew Howroyd, Nov 17 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Nov 17 2018
STATUS
approved