OFFSET
1,2
COMMENTS
No other terms < 4.61 * 10^11. - Jud McCranie, Dec 29 2019
EXAMPLE
A005132(7)=20, 20/7 = 2.857..., larger than the ratio for any smaller value of n. So 7 is in the sequence.
MATHEMATICA
Block[{s = Nest[Append[#1, If[And[#3 > 0, FreeQ[#1, #3]], #3, #1[[-1]] + #2]] & @@ {#1, #2, #1[[-1]] - #2} & @@ {#, Length@ #} &, {0}, 10^5], t}, t = MapIndexed[#1/First@ #2 &, s]; -1 + Rest@ Map[FirstPosition[t, #][[1]] &, Union@ FoldList[Max, t]] ] (* Michael De Vlieger, Dec 29 2019 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jud McCranie, Sep 26 2001
EXTENSIONS
Two more terms from John W. Layman and N. J. A. Sloane, Oct 12 2001
Offset changed, a(19)-a(20) from Jud McCranie, Dec 28 2019
STATUS
approved