Find the fundamental period of $x[n] = \cos(\frac{\pi}{8}n^2)$ where $x[n]$ is defined over the integers.
I start by trying to show that $x[n] = x[n+N]$, where $N$ is the period, and replace $x[n] = \cos(\frac{\pi}{8}n^2)$ with $x[n] = e^{\frac{j\pi}{8}n^2}$ and after substitution I find that for the equality to be true: $16 = 2nN + N^2$m but from here I can't see how I would find the fundamental period.
Anyone have any ideas?