Given the following system of integral equations for an integrable function $f(x)$:
For all integers $k \ge 1$ holds
$\int_{0}^{2\pi} [f(x)]^k e^{(ikx)} dx = 0$.
If $f(x)$ is real-valued and non-negative, is $f(x)=const$ almost everywhere the only solution to the system? Any ideas are very much appreciated.