login
Continued fraction for sqrt(416).
2

%I #16 Dec 27 2023 00:33:29

%S 20,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,

%T 40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,

%U 40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2,40,2,1,1,9,1,1,2

%N Continued fraction for sqrt(416).

%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>

%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 1).

%p with(numtheory): Digits := 300: convert(evalf(sqrt(416)),confrac);

%t ContinuedFraction[Sqrt[416],100] (* or *) PadRight[{20},100,{40,2,1,1,9,1,1,2}] (* _Harvey P. Dale_, Jan 21 2021 *)

%K nonn,cofr,easy

%O 0,1

%A _N. J. A. Sloane_.