login
Continued fraction for sqrt(522).
2

%I #17 Dec 27 2023 00:44:05

%S 22,1,5,1,1,4,1,1,5,1,44,1,5,1,1,4,1,1,5,1,44,1,5,1,1,4,1,1,5,1,44,1,

%T 5,1,1,4,1,1,5,1,44,1,5,1,1,4,1,1,5,1,44,1,5,1,1,4,1,1,5,1,44,1,5,1,1,

%U 4,1,1,5,1,44,1,5,1,1,4,1,1,5,1,44,1,5,1,1,4,1,1,5,1

%N Continued fraction for sqrt(522).

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

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

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

%t ContinuedFraction[Sqrt[522],100] (* or *) PadRight[{22},100,{44,1,5,1,1,4,1,1,5,1}] (* _Harvey P. Dale_, Jul 25 2017 *)

%K nonn,cofr,easy,less

%O 0,1

%A _N. J. A. Sloane_.