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.

A373866 a(n) = maximum element in the continued fraction for Pi truncated to n decimal digits after the decimal point.

This page as a plain text file.
%I A373866 #34 Jan 06 2025 15:38:11
%S A373866 3,10,7,10,14,25,84,243,288,291,292,292,292,292,292,292,292,292,292,
%T A373866 292,292,292,292,292,292,292,292,292,292,292,292,292,292,292,292,351,
%U A373866 292,292,292,292,292,292,292,292,292,292,292,292,292,292,292,292,292,292
%N A373866 a(n) = maximum element in the continued fraction for Pi truncated to n decimal digits after the decimal point.
%H A373866 Paolo Xausa, <a href="/A373866/b373866.txt">Table of n, a(n) for n = 0..10000</a>
%H A373866 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%e A373866 For n = 5, Pi truncated to 5 digits after the decimal point is 3.14159. The corresponding continued fraction is [3, 7, 15, 1, 25, 1, 7], whose maximum element is 25.
%t A373866 A373866[n_] := Max[ContinuedFraction[Floor[Pi*10^n]/10^n]];
%t A373866 Array[A373866, 100, 0]
%Y A373866 Cf. A000796, A001203, A081836 (analogous for phi), A081837 (analogous for e).
%K A373866 nonn,base,look
%O A373866 0,1
%A A373866 _Paolo Xausa_, Jun 19 2024