OFFSET
0,4
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..20000
Michael A. Filaseta, Allen Stenger, D. Callan and Z. Franco, Solution to Problem 10640: When a Multiple of Pi/2 is Close to an Integer, Amer. Math. Monthly, 107 (2000), 177-178.
I. Rosenholtz, Tangent sequences, world records, ..., Math. Mag., 72 (No. 5, 1999), 367-376.
G. Xiao, Contfrac
EXAMPLE
1.57079632679489661923132169... = 1 + 1/(1 + 1/(1 + 1/(3 + 1/(31 + ...)))). - Harry J. Smith, May 31 2009
MATHEMATICA
ContinuedFraction[ Pi/2, 100 ]
PROG
(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(Pi/2); for (n=0, 20000, write("b053300.txt", n, " ", x[n+1])); } \\ Harry J. Smith, May 31 2009
(Magma) R:= RealField(); ContinuedFraction(Pi(R)/2); // G. C. Greubel, May 24 2018
CROSSREFS
KEYWORD
nonn,cofr
AUTHOR
N. J. A. Sloane, Mar 21 2000
STATUS
approved