OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..180
Index entries for linear recurrences with constant coefficients, signature (456302,-1).
FORMULA
a(n+2) = 456302*a(n+1)-a(n).
G.f.: 195*x*(x+1) / (x^2-456302*x+1). - Colin Barker, Oct 20 2014
EXAMPLE
a(1)=195 because the first relation is : 3002^2=237*195^2+79.
MATHEMATICA
CoefficientList[Series[195 (x + 1)/(x^2 - 456302 x + 1), {x, 0, 20}], x] (* Vincenzo Librandi, Oct 21 2014 *)
LinearRecurrence[{456302, -1}, {195, 88979085}, 20] (* Harvey P. Dale, Jan 19 2020 *)
PROG
(PARI) Vec(195*x*(x+1)/(x^2-456302*x+1) + O(x^20)) \\ Colin Barker, Oct 20 2014
(Magma) I:=[195, 88979085]; [n le 2 select I[n] else 456302*Self(n-1)-Self(n-2): n in [1..10]]; // Vincenzo Librandi, Oct 21 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Oct 06 2008
EXTENSIONS
Editing and more terms from Colin Barker, Oct 20 2014
STATUS
approved