As the title says, I would like to know how to construct a compact subset of $\mathbb{R}$ which does not have interior points but positive Lebesgue-measure?
As a hint, it is given $(0,1)\setminus K$...
As the title says, I would like to know how to construct a compact subset of $\mathbb{R}$ which does not have interior points but positive Lebesgue-measure?
As a hint, it is given $(0,1)\setminus K$...
Yes, indeed. A more generalized version of the construction of the Cantor set is something called a "fat Cantor set." As with the usual Cantor set, it is compact and has no interior points, but unlike the usual Cantor set, it has positive measure.
In fact, for any $0<a<1,$ there is a fat Cantor set of measure $1-a$. See Brian M. Scott's excellent answer here for more details, but the idea is to remove the middle $\frac{a}3$ of each component interval at each stage, rather than the entire middle third.