(MAGMAMagma) I:=[53000, 350754]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..40]];
(MAGMAMagma) I:=[53000, 350754]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..40]];
editing
approved
297754n a(n) = 297754*n - 244754.
Vincenzo Librandi, <a href="http://mathforum.org/kb/message.jspa?messageID=5785989&tstart=0">X^2-AY^2=1</a>
G.f.: x*(53000 + 244754*x)/(x-1-x)^2.
LinearRecurrence[{2, -1}, {53000, 350754}, 30]
(PARI) a(n) = 297754*n - 244754.;
approved
editing
<a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1).
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (2,-1).
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (2,-1).
<a href="/Sindx_Rea.htmlindex/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (2,-1).
_Vincenzo Librandi (vincenzo.librandi(AT)tin.it), _, Mar 06 2009
editing
approved
G.f.: x*(-53000-+244754*x)/(x-1)^2.
approved
editing