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.

A040342 Continued fraction for sqrt(362).

This page as a plain text file.
%I A040342 #18 Feb 15 2024 01:20:23
%S A040342 19,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,
%T A040342 38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,
%U A040342 38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38
%N A040342 Continued fraction for sqrt(362).
%H A040342 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H A040342 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).
%F A040342 From _Elmo R. Oliveira_, Feb 14 2024: (Start)
%F A040342 a(n) = 38 for n >= 1.
%F A040342 G.f.: 19*(1+x)/(1-x).
%F A040342 E.g.f.: 38*exp(x) - 19.
%F A040342 a(n) = 19*A040000(n). (End)
%e A040342 19 + 1/(38 + 1/(38 + 1/(38 + 1/(38 + ...)))) = sqrt(362).
%p A040342 with(numtheory): Digits := 300: convert(evalf(sqrt(362)),confrac);
%Y A040342 Cf. A040000, A041684/A041685 (convergents).
%K A040342 nonn,cofr,easy
%O A040342 0,1
%A A040342 _N. J. A. Sloane_