OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,99,0,-2450).
FORMULA
G.f.: 8*(1+x)/(1-50*x^2)-7/(1-49*x^2);
a(n) = 99*a(n-2) - 2450*a(n-4);
a(n) = (4 + 2*sqrt(50)/25)*(sqrt(50))^n + (4 - 2*sqrt(50)/25)*(-sqrt(50))^n - 7^(n+1)*(1 + (-1)^n)/2;
a(n) = Sum_{k=0..n} binomial(floor(n/2), floor(k/2))*7^k.
MATHEMATICA
CoefficientList[Series[(1+8x-42x^2-392x^3)/(1-99x^2+2450x^4), {x, 0, 20}], x] (* or *) LinearRecurrence[ {0, 99, 0, -2450}, {1, 8, 57, 400}, 20] (* Harvey P. Dale, Aug 03 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 25 2004
STATUS
approved