%I #22 Dec 26 2023 07:41:12
%S 31,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,
%T 2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,
%U 1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2,62,2,1,1,2
%N Continued fraction for sqrt(985).
%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).
%F G.f.: -(x+1)*(31*x^4-29*x^3+30*x^2-29*x+31)/((x-1)*(x^4+x^3+x^2+x+1)). [_Colin Barker_, Aug 11 2012]
%p with(numtheory): Digits := 300: convert(evalf(sqrt(985)),confrac);
%t ContinuedFraction[Sqrt[985],100] (* or *) PadRight[{31},100,{62,2,1,1,2}] (* _Harvey P. Dale_, Sep 06 2019 *)
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_.