# Automorphism in NTT representation
In the polynomial ring $R=\mathbb{Z}[X]/(X^n+1)$, the transformation $X\mapsto X^k$ for $k$ satisfying $\gcd(k,n)=1$ is an automorphism.
The polynomial are considered in standard or CRT representation. The output is a permutation of the coefficients with possible change in sign.
when $n$ is a power of 2, the set of all $k