Key points are not available for this paper at this time.
We derive a simple algorithm for the ranking of binary sequences of length n and weight w . This algorithm is then used for source encoding a memoryless binary source that generates O's with probability q and l's with probability p = 1 - q .
J. Schalkwijk (Mon,) studied this question.