Let $X$ and $Y$ be independent random variables taking values in $[0,1]$ where $X$ is uniform. Question is, what distribution on $Y$ will yield a uniform distribution on $[0,2]$ for the sum $Z=X+Y$?
Somehow, by inspection, since the distribution of the sum is $F_Z(z)=\int F_Y(z-x)\,dF_X(x)$, I figured out $Y=0$ or $1$ with prob. $1/2$ each works.
Is there an intutive way to guess the answer?