May be this a duplicate, but I did not find any question related.
I found the following formula, but there was no proof of it:
$$2\sin\left(\frac{\pi}{2^{n+1}}\right)=\sqrt{2_1-\sqrt{2_2+\sqrt{2_3+\sqrt{2_4+\cdots\sqrt{2_n}}}}}$$
where
$$2_k=\underbrace{222\cdots222}_{k\text { times}}.$$
(The number $22$ is twenty-two for instance, and not $2\times 2=4$.)
Do you know a proof of this result? Do you know any references?
I think one way to prove it would be to deal with regular polygons inside a circle and play the angles and trigonometry.
Do you think it would work?
Is there a different way to proceed?
