For a sequence , the Levine-O'Sullivan greedy algorithm is given by
See also Greedy Algorithm, Levine-O'Sullivan Sequence
References
Levine, E. and O'Sullivan, J. ``An Upper Estimate for the Reciprocal Sum of a Sum-Free Sequence.'' Acta
Arith. 34, 9-24, 1977.