login
Continued fraction for sqrt(942).
1

%I #17 Dec 26 2023 07:43:12

%S 30,1,2,4,20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4,20,4,

%T 2,1,60,1,2,4,20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4,

%U 20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4,20,4,2,1,60,1,2,4

%N Continued fraction for sqrt(942).

%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(942)),confrac);

%t ContinuedFraction[Sqrt[942],120] (* or *) PadRight[{30},120,{60,1,2,4,20,4,2,1}] (* _Harvey P. Dale_, Apr 15 2019 *)

%K nonn,cofr,easy

%O 0,1

%A _N. J. A. Sloane_.