This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A040022 #30 Jul 26 2025 10:20:53 %S A040022 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 A040022 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 A040022 3,2,3,10,3,2,3,10,3,2,3,10 %N A040022 Continued fraction for sqrt(28). %D A040022 James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 276. %H A040022 Harry J. Smith, <a href="/A040022/b040022.txt">Table of n, a(n) for n = 0..20000</a> %H A040022 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a> %H A040022 <a href="/index/Con#confC">Index entries for continued fractions for constants</a> %H A040022 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,1). %F A040022 G.f.: (5 + 3*x + 2*x^2 + 3*x^3 + 5*x^4)/(1 - x^4). - _Stefano Spezia_, Jul 26 2025 %e A040022 5.29150262212918118100323150... = 5 + 1/(3 + 1/(2 + 1/(3 + 1/(10 + ...)))). - _Harry J. Smith_, Jun 04 2009 %p A040022 Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'): %t A040022 ContinuedFraction[Sqrt[28], 300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 05 2011 *) %t A040022 PadRight[{5},120,{10,3,2,3}] (* _Harvey P. Dale_, Aug 13 2024 *) %o A040022 (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 A040022 Cf. A010483 Decimal expansion. - _Harry J. Smith_, Jun 04 2009 %K A040022 nonn,cofr,easy %O A040022 0,1 %A A040022 _N. J. A. Sloane_