OFFSET
1,1
COMMENTS
See Comments at A245215.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
FORMULA
a(n)*sup{f(n,1)} = 1.
EXAMPLE
c = 0.29099502708659063074051166818377765138543201... The first 12 numbers f(n,1) comprise S(12) = {1, 2, 3, 1/3, 4/3, 7/3, 3/7, 10/7, 17/7, 24/7, 7/24, 31/24}; min(S(12)) = 7/24 = 0.29166...
MATHEMATICA
tmpRec = $RecursionLimit; $RecursionLimit = Infinity; u[x_] := u[x] = x + 1; d[x_] := d[x] = 1/x; r = Sqrt[2]; 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 = Min[N[Table[s[n], {n, 1, 4000}], 300]]
t = RealDigits[m] (* A245217 *)
(* Peter J. C. Moses, Jul 04 2014 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Jul 13 2014
STATUS
approved