Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #18 Dec 14 2021 10:30:33
%S 11,29,55,89,131,181,239,305,379,461,551,661,769,898,1023,1171,1313,
%T 1480,1639,1825,2001,2206,2399,2623,2833,3076,3303,3565,3809,4090,
%U 4351,4651,4961,5249,5578,5917,6231,6589,6957,7297,7684,8081,8447,8863,9289,9681,10126
%N a(n) = least m such that if r and s in {1/1, 1/2, 1/3, ..., 1/n} satisfy r < s, then r < k/m < (k+4)/m < s for some integer k.
%C For a guide to related sequences, see A001000. - _Clark Kimberling_, Aug 08 2012
%H Clark Kimberling, <a href="/A024846/b024846.txt">Table of n, a(n) for n = 2..100</a>
%e Using the terminology introduced at A001000, the 5th separator of the set {1/3, 1/2, 1} is a(3) = 29, since 1/3 < 10/29 < 14/29 < 1/2 < 15/29 < 19/29 < 1, and 29 is the least m for which 1/3, 1/2, 1 are thus separated using numbers k/m. - _Clark Kimberling_, Aug 08 2012
%t leastSeparatorS[seq_, s_] := Module[{n = 1},
%t Table[While[Or @@ (Ceiling[n #1[[1]]] <
%t s + 1 + Floor[n #1[[2]]] &) /@ (Sort[#1, Greater] &) /@
%t Partition[Take[seq, k], 2, 1], n++]; n, {k, 2, Length[seq]}]];
%t t = Map[leastSeparatorS[1/Range[50], #] &, Range[5]];
%t TableForm[t]
%t t[[5]] (* _Peter J. C. Moses_, Aug 08 2012 *)
%Y Cf. A001000.
%K nonn
%O 2,1
%A _Clark Kimberling_