login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138743 Let r_1 = 1. Let r_{m+1} = r_1 + 1/(r_2 + 1/(r_3 +...(r_{m-1} + 1/r_m)...)), a continued fraction of rational terms. Then a(n) is the number of (positive integer) terms in the simple continued fraction of r_n. 2
1, 1, 1, 3, 6, 6, 11, 26, 48, 82, 201, 379, 836, 1554, 3197, 6420, 12639, 25298, 50675, 101675, 203379, 405946, 811519, 1622692, 3249540, 6494117, 12998399, 25991681 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
This sequence is the number of terms in the n-th row of irregular array A138742.
LINKS
Lucas A. Brown, A138742+3+4.py
EXAMPLE
{r_n}: 1, 1, 2, 5/3, 31/18, 1231/720,...
r_5 = 31/18, for instance, equals the simple continued fraction 1+ 1/(1 + 1/(2 + 1/(1 + 1/(1 +1/2)))). There are six integer terms (1,1,2,1,1,2) in this continued fraction, so a(5) = 6.
CROSSREFS
Sequence in context: A132384 A201155 A200534 * A184284 A287882 A066297
KEYWORD
nonn,more
AUTHOR
Leroy Quet, Mar 27 2008
EXTENSIONS
a(7)-a(28) from Lucas A. Brown, Apr 12 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 04:12 EDT 2024. Contains 375044 sequences. (Running on oeis4.)