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 A040870 #25 Feb 16 2024 11:27:30 %S A040870 30,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60, %T A040870 60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60, %U A040870 60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60 %N A040870 Continued fraction for sqrt(901). %H A040870 <a href="/index/Con#confC">Index entries for continued fractions for constants</a> %H A040870 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1). %F A040870 a(n) = 30*A040000(n). - _Stefano Spezia_, May 14 2023 %F A040870 From _Elmo R. Oliveira_, Feb 16 2024: (Start) %F A040870 a(n) = 60 for n >= 1. %F A040870 G.f.: 30*(1+x)/(1-x). %F A040870 E.g.f.: 60*exp(x) - 30. (End) %e A040870 30 + 1/(60 + 1/(60 + 1/(60 + 1/(60 + ...)))) = sqrt(901). %p A040870 with(numtheory): Digits := 300: convert(evalf(sqrt(901)),confrac); %t A040870 Block[{$MaxExtraPrecision=1000},ContinuedFraction[Sqrt[901],100]] (* or *) PadRight[{30},100,60] (* _Harvey P. Dale_, Sep 01 2014 *) %Y A040870 Cf. A040000, A042740/A042741 (convergents). %K A040870 nonn,cofr,easy %O A040870 0,1 %A A040870 _N. J. A. Sloane_