%I #14 Sep 08 2022 08:44:55
%S 26,53,2782,5617,294866,595349,31253014,63101377,3312524618,
%T 6688150613,351096356494,708880863601,37212901263746,75134683391093,
%U 3944216437600582,7963567558592257,418049729484397946,844063026527388149
%N Numerators of continued fraction convergents to sqrt(702).
%H Vincenzo Librandi, <a href="/A042350/b042350.txt">Table of n, a(n) for n = 0..200</a>
%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (0,106,0,-1).
%F G.f.: (26 +53*x +26*x^2 -x^3)/(1- 106*x^2 +x^4), - _Vincenzo Librandi_, Nov 21 2013
%F a(n) = 106*a(n-2) - a(n-4). - _Vincenzo Librandi_, Nov 22 2013
%t Numerator[Convergents[Sqrt[702], 30]] (* _Harvey P. Dale_, Sep 28 2012 *)
%t CoefficientList[Series[(26 + 53 x + 26 x^2 - x^3)/(1 - 106 x^2 + x^4), {x, 0, 30}], x] (* _Vincenzo Librandi_, Nov 21 2013 *)
%o (Magma) I:=[26, 53, 2782, 5617]; [n le 4 select I[n] else 106*Self(n-2)-Self(n-4): n in [1..30]]; // _Vincenzo Librandi_, Nov 22 2013
%Y Cf. A042351.
%K nonn,cofr,frac,easy
%O 0,1
%A _N. J. A. Sloane_.
|