I have been playing around with circles lately, and I have found an interesting limited relationship between prime factors and cosine. Have the form of:
$$\cos{\left(2\pi\frac{1}{p}\right)}$$
And that $p=f_1\cdot f_2\cdot f_3\cdot\ldots\cdot f_n$ where $f$ is a prime factor.
Say, for example, that $p=12$. Its prime factorization is $2\cdot 2\cdot 3$. I found that disregarding the first two $2$'s, and putting $3$ in a squareroot, thus $\sqrt{3}$ and halving it, thus $\frac{\sqrt{3}}{2}$, is equal to $\cos{\left(2\pi\frac{1}{12}\right)}$.
Another example, $p=8$. Its prime factorization is $2\cdot 2\cdot 2$. Applying the same "algorithm" as before, we yield $\frac{\sqrt{2}}{2}$. We find that $\cos{\left(2\pi\frac{1}{8}\right)}=\frac{\sqrt{2}}{2}$.
And as long as $f=2$ and that $f_n=2$ or $f_n=3$, then this applies. Take for example $p=768$. Its prime factorization is $2^8\cdot 3$. Yielding $\frac{\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{3}}}}}}}}{2}$ find that it is equal to $\cos{\left(2\pi\frac{1}{8}\right)}$.
My question is why would it not apply to $f_n>3$ ? and why always $f=2$ ? Is there some way that all cosine results can be represented by nested roots of, not only two, but of any prime numbers?
I have been trying to resolve the constraint of $f_n>3$ by turning any prime factor larger than $3$ into the form of $2^n+1$. For example, $20=2^2\cdot 5$ can be represented by $2^2(2^2+1)=2^4+2^2$ but I cannot find a way to represent this in any other way, not even as nested roots.
I don't have a degree in mathematics, or a major in it so I'm kind of new to this whole thing.