A102878 Increasing partial quotients in the continued fraction expansion of the prime constant (A051006).
0, 2, 3, 12, 131, 169, 199, 279, 413, 851, 2771, 18514, 20740, 20780, 147756, 207783, 312134, 361393, 6931243
Offset: 0
Keywords
Programs
-
Mathematica
cf = ContinuedFraction[ FromDigits[ {{Table[ If[ PrimeQ[n], 1, 0], {n, 10^7}]}, 0}, 2]]; a = 0; Do[ If[ cf[[n]] > a, a = cf[[n]]; Print[a]], {n, 5842783}]
Comments