%I #21 Jun 26 2022 23:51:53
%S 1,1,2,17,19,36,2251,2287,4538,38591,43129,81720,5109769,5191489,
%T 10301258,87601553,97902811,185504364,11599173379,11784677743,
%U 23383851122,198855486719,222239337841,421094824560,26330118460561,26751213285121,53081331745682
%N Denominators of continued fraction convergents to sqrt(994).
%H Vincenzo Librandi, <a href="/A042925/b042925.txt">Table of n, a(n) for n = 0..200</a>
%H <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 2270, 0, 0, 0, 0, 0, -1).
%F G.f.: -(x^4 - x^3 + 2*x^2 + x + 1)*(x^6 - 18*x^3 - 1) / (x^12 - 2270*x^6 + 1). - _Colin Barker_, Dec 25 2013
%F a(n) = 2270*a(n-6) - a(n-12) for n>11. - _Vincenzo Librandi_, Feb 01 2014
%t Denominator[Convergents[Sqrt[994], 30]] (* _Vincenzo Librandi_, Feb 01 2014 *)
%t LinearRecurrence[{0,0,0,0,0,2270,0,0,0,0,0,-1},{1,1,2,17,19,36,2251,2287,4538,38591,43129,81720},30] (* _Harvey P. Dale_, Oct 27 2018 *)
%o (Magma) I:=[1,1,2,17,19,36,2251,2287,4538,38591,43129, 81720]; [n le 12 select I[n] else 2270*Self(n-6)-Self(n-12): n in [1..30]]; // _Vincenzo Librandi_, Feb 01 2014
%Y Cf. A042924, A040962.
%K nonn,frac,easy
%O 0,3
%A _N. J. A. Sloane_
%E More terms from _Colin Barker_, Dec 25 2013
|