%I #27 Aug 13 2024 19:07:17
%S 5,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,
%T 3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,3,2,3,10,
%U 3,2,3,10,3,2,3,10,3,2,3,10
%N Continued fraction for sqrt(28).
%H Harry J. Smith, <a href="/A040022/b040022.txt">Table of n, a(n) for n = 0..20000</a>
%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%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).
%e 5.29150262212918118100323150... = 5 + 1/(3 + 1/(2 + 1/(3 + 1/(10 + ...)))). - _Harry J. Smith_, Jun 04 2009
%p Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%t ContinuedFraction[Sqrt[28], 300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 05 2011 *)
%t PadRight[{5},120,{10,3,2,3}] (* _Harvey P. Dale_, Aug 13 2024 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 25000); x=contfrac(sqrt(28)); for (n=0, 20000, write("b040022.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 04 2009
%Y Cf. A010483 Decimal expansion. - _Harry J. Smith_, Jun 04 2009
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_