%I #30 Sep 05 2017 04:19:37
%S 1,1,2,5,13,35,95,260,713,1959,5386,14815,40759,112151,308609,849240,
%T 2337009,6431246,17698332,48704714,134032593,368850417,1015056867,
%U 2793383746,7687248186,21154913043,58217239536,160210872557,440892153268,1213312738702,3338974845151,9188688696438
%N G.f.: 1/(1 - q/G(0)) where G(k) = 1 - q^(k+1) / (1 - q^(k+1) / G(k+1) ).
%H Vaclav Kotesovec, <a href="/A227045/b227045.txt">Table of n, a(n) for n = 0..1000</a>
%F G.f.: 1/(1-q/ (1-q/(1-q/ (1-q^2/(1-q^2/ (1-q^3/(1-q^3/ (1-q^4/(1-q^4/ (1-q^5/(1-q^5/ (1-...))))))))))) ).
%F G.f. A(x) = 1/(1 - B(x)) where B(x) is the g.f. of A006958.
%F a(n) ~ c * d^n, where d = 2.751949072495748078279227332764623096815571855905843246297955690122791154... and c = 0.215973947378529032758849789768859077066690378163074586384819930605436492... - _Vaclav Kotesovec_, Sep 05 2017
%t nmax = 40; CoefficientList[Series[1/(1 - x/Fold[(1 - #2/#1) &, 1, Reverse[x^(Range[nmax + 2] - Floor[Range[nmax + 2]/2])]]), {x, 0, nmax}], x] (* _Vaclav Kotesovec_, Sep 05 2017 *)
%o (PARI) N = 66; q = 'q + O('q^N);
%o G(k) = if(k>N, 1, 1 - q^(k+1) / (1 - q^(k+1) / G(k+1) ) );
%o gf = 1 /(1- q/G(0));
%o Vec(gf)
%Y Cf. A006958 (g.f.: 1/G(0), where G(k) = 1 - q^(k+1) / (1 - q^(k+1)/G(k+1) ) ).
%Y Cf. A226729 (g.f.: 1/G(0), where G(k) = 1 - q^(k+1) / (1 - q^(k+1)/G(k+2) ) ).
%Y Cf. A226728 (g.f.: 1/G(0), where G(k) = 1 + q^(k+1) / (1 - q^(k+1)/G(k+2) ) ).
%Y Cf. A227309 (g.f.: 1/G(0), where G(k) = 1 - q^(k+1) / (1 - q^(k+2)/G(k+1) ) ).
%Y Cf. A227310 (g.f.: 1/G(0), where G(k) = 1 + (-q)^(k+1) / (1 - (-q)^(k+1)/G(k+1) ) ).
%K nonn
%O 0,3
%A _Joerg Arndt_, Jul 06 2013