Let $A, B \subset \mathbb{R}$. We know that $A' = B' = \varnothing$ and $(A + B)' = [0, 1]$, where $$A + B = \{a + b \; | \; a \in A, b \in B\}$$ Find $A, B $.
I am trying to solve that problem for the second day in a row and the only thing that seems reasonable to me is taking $A = B = \frac{1}{n}$. If so, we can get a fraction any close to each point from $[0, 1]$. But in this case we have $A' = B' = \{0\}$ and that ruins the solution.
Would be thankful for any help!