A161685 Continued fraction for (3*Pi)/8.
1, 5, 1, 1, 1, 1, 2, 12, 12, 6, 1, 1, 1, 1, 11, 1, 4, 1, 3, 2, 1, 6, 1, 4, 4, 3, 3, 4, 10, 1, 4, 37, 1, 1, 20, 1, 1, 1, 4, 1, 1, 3, 1, 1, 1, 1, 2, 2, 15, 2, 1, 2, 2, 1, 1, 1, 3, 1, 4, 3, 83, 9, 19, 1, 2, 2, 4, 1, 1, 1, 4, 3, 4, 1, 1, 8, 2, 1, 2, 1, 7, 3, 2, 1, 1, 5, 1, 6, 1, 5, 1, 7, 17, 9, 6, 3, 1, 1, 1, 1, 2
Offset: 0
Examples
1.178097245096172464423491268... = 1 + 1/(5 + 1/(1 + 1/(1 + 1/(1 + ...))))
Links
- Harry J. Smith, Table of n, a(n) for n = 0..20000
Crossrefs
Cf. A093828 (decimal expansion).
Programs
-
Magma
SetDefaultRealField(RealField(105)); R:= RealField(); ContinuedFraction(3*Pi(R)/8); // G. C. Greubel, Aug 11 2019
-
Maple
convert(3*Pi/8, confrac, 105); # G. C. Greubel, Aug 11 2019
-
Mathematica
ContinuedFraction[(3*Pi)/8,120] (* Harvey P. Dale, Mar 13 2016 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(3*Pi/8); for (n=0, 20000, write("b161685.txt", n, " ", x[n+1])); }
-
Sage
continued_fraction_list(3*pi/8, nterms=105) # G. C. Greubel, Aug 11 2019