OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..503
Index entries for linear recurrences with constant coefficients, signature (98, -1).
FORMULA
From Colin Barker, Oct 08 2015: (Start)
a(n) = 98*a(n-1) - a(n-2) for n>2.
O.g.f.: 10*x^2 / (x^2-98*x+1). (End)
E.g.f.: exp(49*x)*( (49/(2*sqrt(6)))*sinh(20*sqrt(6)*x) - 10*cosh(20*sqrt(6)*x) ) + 10. - G. C. Greubel, Jul 24 2016
MATHEMATICA
LinearRecurrence[{98, -1}, {0, 10}, 30] (* Harvey P. Dale, Sep 19 2011 *)
CoefficientList[Series[10 x/(x^2 - 98 x + 1), {x, 0, 33}], x] (* Vincenzo Librandi, Oct 13 2015 *)
PROG
(PARI) concat(0, Vec(10*x^2/(x^2-98*x+1) + O(x^30))) \\ Colin Barker, Oct 08 2015
(Magma) I:=[0, 10]; [n le 2 select I[n] else 98*Self(n-1)-Self(n-2): n in [1..40]]; // Vincenzo Librandi, Oct 13 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Nov 28 2009
EXTENSIONS
a(1)=1 changed to a(1)=10, and data changed accordingly, so sequence is a bisection of A004189- Mark Dols, Feb 01 2010
Changed name to match data and offset, Joerg Arndt, Oct 13 2015
STATUS
approved