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.

A040043 Continued fraction for sqrt(51).

This page as a plain text file.
%I A040043 #25 Dec 27 2023 00:38:41
%S A040043 7,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,
%T A040043 14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,7,14,
%U A040043 7,14,7,14,7,14,7,14,7,14,7
%N A040043 Continued fraction for sqrt(51).
%H A040043 Harry J. Smith, <a href="/A040043/b040043.txt">Table of n, a(n) for n = 0..20000</a>
%H A040043 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A040043 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H A040043 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 1).
%e A040043 7.1414284285428499979993998... = 7 + 1/(7 + 1/(14 + 1/(7 + 1/(14 + ...)))). - _Harry J. Smith_, Jun 06 2009
%p A040043 Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%t A040043 ContinuedFraction[Sqrt[51],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 07 2011 *)
%t A040043 PadRight[{7},120,{14,7}] (* _Harvey P. Dale_, May 22 2020 *)
%o A040043 (PARI) { allocatemem(932245000); default(realprecision, 41000); x=contfrac(sqrt(51)); for (n=0, 20000, write("b040043.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 06 2009
%Y A040043 Cf. A010504 Decimal expansion. - _Harry J. Smith_, Jun 06 2009
%K A040043 nonn,cofr,easy
%O A040043 0,1
%A A040043 _N. J. A. Sloane_