Chapter 5: Q33E (page 167)
Show that for any integer n that is a power of 2 , there is an instance of the set cover problem (Section 5.4) with the following properties:
- There are n elements in the base set.
- The optimal cover uses just two sets.
- The greedy algorithm picks at least log n sets.
Thus the approximation ratio we derived in the chapter is tight.
Short Answer
Any integer which count with 2 or count with power of 2 it gives elements in base set and optimal cover using two set in greedy algorithm.