%I #35 Feb 16 2024 18:52:16
%S 8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
%T 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
%U 16,16,16,16,16,16,16,16,16
%N Continued fraction for sqrt(65).
%H Harry J. Smith, <a href="/A040056/b040056.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/Di#divseq">Index to divisibility sequences</a>
%H <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).
%F From _Elmo R. Oliveira_, Feb 10 2024: (Start)
%F a(n) = 16 for n >= 1.
%F G.f.: 8*(1+x)/(1-x).
%F E.g.f.: 16*exp(x) - 8.
%F a(n) = 8*A040000(n) = 4*A040002(n) = 2*A040012(n). (End)
%e 8.06225774829854965236661... = 8 + 1/(16 + 1/(16 + 1/(16 + 1/(16 + ...)))).
%p Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%t ContinuedFraction[Sqrt[65],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 08 2011 *)
%t PadRight[{8},120,{16}] (* _Harvey P. Dale_, Nov 27 2020 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 49000); x=contfrac(sqrt(65)); for (n=0, 20000, write("b040056.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 07 2009
%Y Cf. A010517 (decimal expansion), A041112/A041113 (convergents), A248289 (Egyptian fraction).
%Y Cf. A040000, A040002, A040012.
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_