cp's OEIS Frontend

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.

A010168 Continued fraction for sqrt(97).

This page as a plain text file.
%I A010168 #32 Dec 27 2023 00:12:54
%S A010168 9,1,5,1,1,1,1,1,1,5,1,18,1,5,1,1,1,1,1,1,5,1,18,1,5,1,1,1,1,1,1,5,1,
%T A010168 18,1,5,1,1,1,1,1,1,5,1,18,1,5,1,1,1,1,1,1,5,1,18,1,5,1,1,1,1,1,1,5,1,
%U A010168 18,1,5,1,1,1,1,1,1,5,1,18
%N A010168 Continued fraction for sqrt(97).
%H A010168 Harry J. Smith, <a href="/A010168/b010168.txt">Table of n, a(n) for n = 0..20000</a>
%H A010168 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A010168 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H A010168 <a href="/index/Rec#order_11">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,0,0,1).
%e A010168 9.848857801796104721746211414... = 9 + 1/(1 + 1/(5 + 1/(1 + 1/(1 + ...)))). - _Harry J. Smith_, Jun 12 2009
%t A010168 ContinuedFraction[Sqrt[97],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 10 2011 *)
%t A010168 PadRight[{9},120,{18,1,5,1,1,1,1,1,1,5,1}] (* _Harvey P. Dale_, Jun 07 2016 *)
%o A010168 (PARI) { allocatemem(932245000); default(realprecision, 15000); x=contfrac(sqrt(97)); for (n=0, 20000, write("b010168.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 12 2009
%Y A010168 Cf. A010548 (decimal expansion).
%Y A010168 Cf. A041174/A041175 (convergents).
%K A010168 nonn,cofr,easy
%O A010168 0,1
%A A010168 _N. J. A. Sloane_