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 sum of the (positive integer) terms in the simple continued fraction of r_n.

A138744

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 sum of the (positive integer) terms in the simple continued fraction of r_n.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =4a(4) =8a(5) =33a(6) =128a(7) =109a(8) =344a(9) =3760a(10) =1829a(11) =18367a(12) =11168a(13) =35246a(14) =41103a(15) =79356a(16) =151643a(17) =344725a(18) =1249071a(19) =1678788a(20) =5385320a(21) =19780986a(22) =17348076a(23) =30966961a(24) =85647848a(25) =160394455a(26) =451333739a(27) =623813606

External references