"Show that if a continuous function $f:[0,1]\to\mathbb{R}$ satisfies
\begin{align}\label{1}
\int_0^1f(x)x^{1/(2n+1)}=0
\end{align}
for $n=1,2,\dots$, then $f(x)=0$ for all $x\in[0,1]$. Does the statement hold true if the interval $[0,1]$ is replaced by $[-1,1]$?"