login
A161685
Continued fraction for (3*Pi)/8.
5
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,2
LINKS
EXAMPLE
1.178097245096172464423491268... = 1 + 1/(5 + 1/(1 + 1/(1 + 1/(1 + ...))))
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 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(3*Pi/8); for (n=0, 20000, write("b161685.txt", n, " ", x[n+1])); }
(Magma) SetDefaultRealField(RealField(105)); R:= RealField(); ContinuedFraction(3*Pi(R)/8); // G. C. Greubel, Aug 11 2019
(Sage) continued_fraction_list(3*pi/8, nterms=105) # G. C. Greubel, Aug 11 2019
CROSSREFS
Cf. A093828 (decimal expansion).
Sequence in context: A340366 A031261 A188796 * A257461 A129398 A109009
KEYWORD
nonn,cofr
AUTHOR
Harry J. Smith, Jun 18 2009
STATUS
approved