M\left(\frac a 2\right)^2+2N\left(\frac a 2\right)^2=a^2-1