login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A373866 a(n) = maximum element in the continued fraction for Pi truncated to n decimal digits after the decimal point. 3
3, 10, 7, 10, 14, 25, 84, 243, 288, 291, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 351, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
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.
MATHEMATICA
A373866[n_] := Max[ContinuedFraction[Floor[Pi*10^n]/10^n]];
Array[A373866, 100, 0]
CROSSREFS
Cf. A000796, A001203, A081836 (analogous for phi), A081837 (analogous for e).
Sequence in context: A195922 A261836 A301937 * A185139 A300786 A182241
KEYWORD
nonn,base,look,new
AUTHOR
Paolo Xausa, Jun 19 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 28 23:21 EDT 2024. Contains 373826 sequences. (Running on oeis4.)