login
Continued fraction for sqrt(420).
1

%I #16 Dec 27 2023 01:41:53

%S 20,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,

%T 2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,

%U 40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40,2,40

%N Continued fraction for sqrt(420).

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

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

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

%t Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[420],100]] (* or *) PadRight[{20},100,{40,2}] (* _Harvey P. Dale_, Jun 25 2023 *)

%K nonn,cofr,easy

%O 0,1

%A _N. J. A. Sloane_.