OFFSET
1,1
COMMENTS
MAPLE
Digits := 220 ; A134473 := proc(n) option remember ; local su, mu ; if n =1 then 2; else su := add(1/procname(k), k=1..n-1) ; mu := mul(1/(1+1/procname(j)), j=1..n-1) ; ceil( (1+su+sqrt((su-1)^2+4*mu))/2/(mu-su) ) ; fi; end: A134475 := proc(n) add(1/A134473(k), k=1..n) ; denom(%) ; end: seq(A134475(n), n=1..9) ; # R. J. Mathar, Jul 20 2009
MATHEMATICA
b[n_] := b[n] = If[n == 1, 2, With[{x = Product[1/(1 + 1/b[j]), {j, 1, n-1}], y = Sum[1/b[j], {j, 1, n-1}]}, Ceiling[(1 + y + Sqrt[(y-1)^2 + 4 x])/(2 (x-y))]]];
a[n_] := Sum[1/b[k], {k, 1, n}] // Denominator;
Table[a[n], {n, 1, 7}] (* Jean-François Alcover, Sep 26 2022 *)
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Leroy Quet, Oct 27 2007
EXTENSIONS
More terms from R. J. Mathar, Jul 20 2009
STATUS
approved