OFFSET
0,2
LINKS
FORMULA
a(n) = 6*a(n-1) + 7*a(n-2) + 50^floor((n-2)/2).
a(n) = Sum_{k=0..floor(n/2)} binomial(floor(n/2), k)*7^(n-2*k).
E.g.f.: cosh(5*sqrt(2)*x) + 7*sinh(5*sqrt(2)*x)/(5*sqrt(2)). - Stefano Spezia, Mar 31 2023
MATHEMATICA
a[n_]:=Sum[Binomial[Floor[n/2], k]7^(n-2k), {k, 0, Floor[n/2]}]; Array[a, 25, 0] (* Stefano Spezia, Mar 31 2023 *)
LinearRecurrence[{0, 50}, {1, 7}, 30] (* Harvey P. Dale, Sep 20 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 14 2004
EXTENSIONS
More terms from Stefano Spezia, Mar 31 2023
STATUS
approved