OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Index entries for linear recurrences with constant coefficients, signature (1454,-1).
FORMULA
a(n+2) = 1454*a(n+1)-a(n).
G.f.: -182*x*(x-1) / (x^2-1454*x+1). - Colin Barker, Oct 21 2014
EXAMPLE
a(1)=182 because the first relation is 182^2=273*11^2+91.
MATHEMATICA
LinearRecurrence[{1454, -1}, {182, 264446}, 20] (* Harvey P. Dale, Nov 03 2012 *)
CoefficientList[Series[182 (1 - x)/(x^2 - 1454 x + 1), {x, 0, 20}], x] (* Vincenzo Librandi, Oct 21 2014 *)
PROG
(PARI) Vec(-182*x*(x-1)/(x^2-1454*x+1) + O(x^20)) \\ Colin Barker, Oct 21 2014
(Magma) I:=[182, 264446]; [n le 2 select I[n] else 1454*Self(n-1)-Self(n-2): n in [1..15]]; // Vincenzo Librandi, Oct 21 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Oct 12 2008
EXTENSIONS
Editing from Colin Barker, Oct 21 2014
STATUS
approved