%I #39 Apr 23 2023 22:25:01
%S 1,3,7,14,28,53,99,181,327,584,1034,1817,3173,5511,9527,16402,28136,
%T 48109,82023,139481,236631,400588,676822,1141489,1921993,3231243,
%U 5424679,9095126,15230452,25475429,42566379,71052157,118489383
%N Numerators of convergents of the continued fraction with the n+1 partial quotients: [1;1,1,...(n 1's)...,1,n+1], starting with [1], [1;2], [1;1,3], [1;1,1,4], ...
%C Denominators form the Les Marvin sequence: A007502(n+1).
%H Reinhard Zumkeller, <a href="/A088209/b088209.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (2,1,-2,-1).
%F G.f.: (1+x-x^3)/(1-x-x^2)^2. [Corrected by _Georg Fischer_, Aug 16 2021]
%F a(n) = Fibonacci(n) + (n+1)*Fibonacci(n+1). - _Paul Barry_, Apr 20 2004
%F a(n) = a(n-1) + a(n-2) + Lucas(n). - _Yuchun Ji_, Apr 23 2023
%e a(3)/A007502(4) = [1;1,1,4] = 14/9.
%t f[n_] := Numerator@ FromContinuedFraction@ Join[ Table[1, {n}], {n + 1}]; Array[f, 30, 0] (* _Robert G. Wilson v_, Mar 04 2012 *)
%t CoefficientList[Series[(1+x-x^3)/(-1+x+x^2)^2,{x,0,40}],x] (* or *) LinearRecurrence[{2,1,-2,-1},{1,3,7,14},40] (* _Harvey P. Dale_, Jul 13 2021 *)
%o (Haskell)
%o a088209 n = a088209_list !! n
%o a088209_list = zipWith (+) a000045_list $ tail a045925_list
%o -- _Reinhard Zumkeller_, Oct 01 2012, Mar 04 2012
%o (Julia) # The function 'fibrec' is defined in A354044.
%o function A088209(n)
%o n == 0 && return BigInt(1)
%o a, b = fibrec(n)
%o a + (n + 1)*b
%o end
%o println([A088209(n) for n in 0:32]) # _Peter Luschny_, May 18 2022
%Y a(n) = A109754(n, n+2) = A101220(n, 0, n+2).
%Y Cf. A007502 (the denominators), A000045, A045925.
%K frac,nonn
%O 0,2
%A _Paul D. Hanna_, Sep 23 2003