(MAGMAMagma) I:=[10081, 40897, 92449]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jan 28 2012
(MAGMAMagma) I:=[10081, 40897, 92449]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jan 28 2012
reviewed
approved
proposed
reviewed
editing
proposed
10368na(n) = 10368*n^2 - 288n 288*n + 1.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - _Vincenzo Librandi, _, Jan 28 2012
G.f.: x*(-10081 - 10654*x - x^2)/(x-1)^3. - _Vincenzo Librandi, _, Jan 28 2012
(MAGMA) I:=[10081, 40897, 92449]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // _Vincenzo Librandi, _, Jan 28 2012
(PARI) for(n=1, 40, print1(10368*n^2 - 288*n + 1", ")); \\ _Vincenzo Librandi, _, Jan 28 2012
approved
editing
<a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (3,-3,1).
<a href="/Sindx_Rea.htmlindex/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (3,-3,1).
LinearRecurrence[{3, -3, 1}, {10081, 40897, 92449}, 40] (* _Vincenzo Librandi, _, Jan 28 2012 *)