%I #25 Dec 27 2023 00:50:40
%S 5,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,
%T 10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,2,10,
%U 2,10,2,10,2,10,2,10,2,10,2
%N Continued fraction for sqrt(30).
%H Harry J. Smith, <a href="/A040024/b040024.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_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 1).
%e 5.4772255750516611345696978... = 5 + 1/(2 + 1/(10 + 1/(2 + 1/(10 + ...)))). - _Harry J. Smith_, Jun 04 2009
%p Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%t ContinuedFraction[Sqrt[30],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 06 2011 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 28000); x=contfrac(sqrt(30)); for (n=0, 20000, write("b040024.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 04 2009
%Y Cf. A010485 (decimal expansion).
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_