Solution (source code)

= Solution

If $g\in L^2$ is orthogonal to every translate of $f$, then the correlation $g*\widetilde f$ vanishes. By <convolution theorem>,
$\widehat g\,\overline{\widehat f}=0$ almost everywhere. Since $\widehat f$ vanishes only at one point, a null set, $\widehat g=0$ almost everywhere. By <Plancherel theorem>, $g=0$. Orthogonal-complement characterization proves density in $L^2$.