Hello I was wondering if anyone knows how the following was derived:
$$\Phi_{{n}} \left( x \right) =\prod _{k=1}^{n} \left( {x}^{{\it \gcd} \left( k,n \right) }-1 \right) ^{\cos \left( {\frac {2\pi \,k}{n}} \right) }$$
I know that there are a lot of other related expressions like the Euler totient function, the gcd itself, the Mobius function, the modulo function that all have expressions that contain the real part of ${{\rm e}^{{\frac {2\pi \,ik}{n}}}}$ or ${{\rm e}^{{\frac {-2\pi \,ik}{n}}}}$ in a finite summation or product with another arithmetic function being a part of its summand formula, and I can see this is related to the roots of unity, but each of these formulas have unique characteristics and I have not been able to find what I can only assume to be a generalized method for finding them.
For the totient we have
$$\varphi \left( n \right) =\sum _{k=1}^{n}\gcd \left( k,n \right) { {\rm e}^{-{\frac {2\pi \,ik}{n}}}}. $$
And I am aware that this is a discrete Fourier transform, but as you can see from comparison of the two, this is not the generalized method that I am assuming to exist.