z[n] = z[n-1]^2 + (-2), z[0] = 0