OFFSET
1,1
COMMENTS
See Comments at A245215.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
FORMULA
a(n)*inf{f(n,1)} = 1.
EXAMPLE
c = 2.7077787160050781243402066659631316299233... The first 16 numbers f(n,1) comprise S(16) = {1, 2, 1/2, 3/2, 5/2, 2/5, 7/5, 12/5, 5/12, 17/12, 12/17, 29/17}; min(S(16)) = 17/46 = 0.36956... and max(S(12)) = 46/17 = 2.7058...
MATHEMATICA
tmpRec = $RecursionLimit; $RecursionLimit = Infinity; u[x_] := u[x] = x + 1; d[x_] := d[x] = 1/x; r = E/(E-1); w = Table[Floor[k*r], {k, 2000}]; s[1] = 1; s[n_] := s[n] = If[MemberQ[w, n - 1], u[s[n - 1]], d[s[n - 1]]]; $RecursionLimit = tmpRec;
m = Max[N[Table[s[n], {n, 1, 4000}], 300]]
RealDigits[m] (* A245224 *)
(* Peter J. C. Moses, Jul 04 2014 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Jul 14 2014
STATUS
approved