login
Continued fraction for sqrt(504).
1

%I #17 Dec 27 2023 01:44:49

%S 22,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,

%T 4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,

%U 44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2,44,2,4,2

%N Continued fraction for sqrt(504).

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

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

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

%t ContinuedFraction[Sqrt[504],100] (* or *) PadRight[{22},120,{44,2,4,2}] (* _Harvey P. Dale_, Jan 26 2017 *)

%K nonn,cofr,easy,less

%O 0,1

%A _N. J. A. Sloane_.