A080235 Number of terms in the continued fraction for (Pi truncated to n decimal digits).
1, 2, 3, 6, 6, 8, 7, 11, 12, 13, 14, 21, 21, 23, 29, 28, 26, 31, 37, 36, 36, 42, 45, 48, 51, 47, 50, 53, 53, 62, 57, 55, 55, 68, 69, 52, 63, 66, 71, 79, 63, 66, 78, 90, 83, 82, 78, 85, 80, 91, 91, 90, 92, 93, 93, 107, 110, 103, 119, 120, 113, 115, 118, 121, 125, 125, 130, 135
Offset: 0
Examples
Pi truncated to 4 decimal places gives 3.1415 . The continued fraction for 3.1415 is [3, 7, 14, 1, 8, 2] which contains 6 terms, hence a(3)=6.
Crossrefs
Cf. A065019.