Let z and \(\omega\) be two complex numbers such that \(\omega = z\overline{z} - 2z + 2\), \(\left|\frac{z+i}{z-3i}\right| = 1\) and Re(\(\omega\)) has minimum value. Then, the minimum value of \(n \in N\) for which \(\omega^n\) is real, is equal to ____________.