%I #17 Sep 08 2022 08:44:54
%S 12,25,112,249,6088,12425,55788,124001,3031812,6187625,27782312,
%T 61752249,1509836288,3081424825,13835535588,30752496001,751895439612,
%U 1534543375225,6890068940512,15314681256249
%N Numerators of continued fraction convergents to sqrt(155).
%H Vincenzo Librandi, <a href="/A041284/b041284.txt">Table of n, a(n) for n = 0..200</a>
%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,498,0,0,0,-1).
%F a(n) = 498*a(n-4)-a(n-8). - _Vincenzo Librandi_, Nov 01 2013
%F G.f.: (1+x)*(12 +13*x +99*x^2 +150*x^3 -38*x^4 +13*x^5 -x^6)/(1 -498*x^4 +x^8). [_Bruno Berselli_, Nov 01 2013]
%t Numerator[Convergents[Sqrt[155], 30]] (* _Vincenzo Librandi_, Nov 01 2013 *)
%o (Magma) I:=[12,25,112,249,6088,12425,55788,124001]; [n le 8 select I[n] else 498*Self(n-4)-Self(n-8): n in [1..25]]; // _Vincenzo Librandi_, Nov 01 2013
%Y Cf. A041285.
%K nonn,cofr,frac,easy
%O 0,1
%A _N. J. A. Sloane_.
|