OFFSET
2,1
COMMENTS
a(20) = 111604.
The corresponding values of the a(n)-th elements are 4, 18, 183, 32, 61, 9283, 462, 1483, 3530, 3484, 10812, 8954, ...
EXAMPLE
The continued fraction of zeta(3) is [1; 4, 1, 18, 1, 1, ...]. The first element which is larger than 4 is 18 whose position is 4. Therefore, a(3) = 4.
MATHEMATICA
a[n_] := Module[{c = ContinuedFraction[Zeta[n], 10000]}, FirstPosition[c, _?(# > c[[2]] &)][[1]]]; Array[a, 10, 2]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Apr 08 2021
STATUS
approved