Given that the values of the four infinitely nested radical expressions above can be expressed
where are positive integers with for , find
Clarification: as a sequence, is defined in the following way:
where is -th term of the sequence.
is defined analogously.
Warning: in you may need to extract square root from a negative number. This root is always principal (i.e , not ).