OFFSET
1,1
COMMENTS
Correctly indexed version of A032523.
All positive integers <= 49003 occur in the first 15000000000 terms of the c.f. (the first that do not are 49004, 50471, 53486, 56315, 58255, ...) - Eric W. Weisstein, Jul 27 2013
LINKS
Eric W. Weisstein, Table of n, a(n) for n = 1..49003
Eric Weisstein's World of Mathematics, Pi Continued Fraction
FORMULA
a(n) = A032523(n) - 1.
EXAMPLE
The continued fraction of Pi is [a_0; a_1, a_2, ...] = [3; 7, 15, 1, 292, 1, 1, 1, 2, 1, ...], so
a(1) = 3 (1 first occurs at term a_3);
a(2) = 8 (2 first occurs at term a_8);
a(3) = 0 (3 first occurs at term a_0).
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Jul 27 2013
EXTENSIONS
"Escape clause" added to definition by Jianing Song, Apr 06 2019
STATUS
approved