 Thus, the choice of "N" is crucial.For example, it could be done as,

The ring "Z"/"NZ" would thus have a (2"m")th root of unity, namely 8.Also, it can be checked that "ck" < "N", and thus no wrap around will occur.