OFFSET
0,1
COMMENTS
A001203 is the continued fraction for Pi.
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..20000
G. Xiao, Contfrac
EXAMPLE
6.283185307179586476925286766... = 6 + 1/(3 + 1/(1 + 1/(1 + 1/(7 + ...)))). - Harry J. Smith, May 31 2009
MATHEMATICA
ContinuedFraction[ 2Pi, 100 ]
PROG
(PARI) contfrac(2*Pi)
(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(2*Pi); for (n=0, 20000, write("b058291.txt", n, " ", x[n+1])); } \\ Harry J. Smith, May 31 2009
CROSSREFS
KEYWORD
cofr,nonn,easy
AUTHOR
Robert G. Wilson v, Dec 07 2000
EXTENSIONS
More terms from Jason Earls, Jul 24 2001
STATUS
approved