Let $a=(a_n)$ with $a_n\in\mathbb{C}$ be a vector indexed over all $n\in\mathbb{Z}$, and consider the system of equations $\sum\limits_{-\infty}^\infty\overline{a_n}a_{n+k}=\delta_{k0}$ for all $k\in\mathbb{Z}$. One may verify this has a family of trivial solutions given by $a_n=\delta_{nm}$ for some nonzero integer $m$. Assuming $a_0=0$, are there any other solutions?
This problem is inspired by (unsuccessful) attempts to find a tractable solution to an earlier question of mine. What I wanted was a closed curve $z(s)\in\mathbb{C}$ whose Fourier series was arc-length parametrized i.e. $z(s)=\sum\limits_{n=-\infty}^\infty c_n e^{i n s}$ with $|z'(s)|^2=\sum\limits_{nm}(n\overline{c_n})(m c_m)e^{i (m-n)s}=1$ for all $s\in\mathbb{R}$. This requires $\sum\limits_{-\infty}^\infty nm\overline{c_n}c_{m}=\delta_{nm}$ for all $m$, which upon identifying $m=n+k$ and $a_n=n c_n$ yields the system of equations above.
Unfortunately, the only solutions which are obvious to me are the trivial ones given above (i.e. a single mode $e^{i m s}$). Any nontrivial solutions appear to involve all frequencies; a construction of such would clarify my questions greatly.
Let $f(z)$ be holomorphic in a neighborhood of the unit circle such that $|f(z)|=1$ whenever $|z|=1$. There are plenty of such functions. Examples are $z^k$ for $k\in \mathbb{Z}$ and the Möbius functions $$\frac{z-a}{1-\overline{a}\,z}$$ for $|a|\neq 1$. Then you can take products of such functions or compositions etc. The key observation is the following. Let the Laurent expansion of $f$ on the unit circle be $$f(z)=\sum_{n\in \mathbb Z}a_nz^n.$$ Let $f^{\ast}$ be the holomorphic function defined by $f^{\ast}(z)=\overline{f(1/\overline{z})}$ then $$f(z)f^{\ast}(z)=\sum_{n\in\mathbb{Z}}\left(\sum_{k\in\mathbb{Z}}a_{k+n}\overline{a}_k\right) z^n.$$ If $|z|=1$ then $f(z)f^{\ast}(z)=|f(z)|^2=1$ and therefore (since it is holomorphic) $f(z)f^{\ast}(z)$ is constant on a neighborhood of the unit circle. In other words, all its Laurent coefficients except the constant term are equal to zero. So the Laurent coefficients of $f$ itself have the required property.
For $f(z)=z^k$ this gives the trivial examples. For $0<|a|<1$ the Möbius function $$f(z)=\frac{z-a}{1-\overline{a}\,z}=-a +(1-|a|^2)\sum_{n=0}^{\infty}\overline{a}^n z^{n+1}$$ gives non-trivial examples.
Edit: I overlooked the requirement $a_0=0$ but this can be fixed: Since the Möbius example above is a holomorphic function on the unit disc all its negative-index coefficients are $0$ so one can instead consider $z^kf(z)$ for some $k\geq 1$ to get $a_0=0$.