%I
%S 1,2,5,3,10,4,17,8,6,11,7,18,13,12,19,20,29,9,27,14,28,21,40,15,39,22,
%T 53,16,52,23,68,24,85,25,104,26,125,36,30,41,31,54,32,69,33,86,34,105,
%U 35,126,47,42,55,43,70,44,87,45,106,46,127,60,56,71,57,88,58,107,59,128,75,72
%N Lexicographically earliest sequence of distinct positive integers such that the nested square root sqrt(a(n)  sqrt(a(n1)  ...  sqrt(a(1))...)) is an integer.
%H Ivan Neretin, <a href="/A323637/b323637.txt">Table of n, a(n) for n = 1..10000</a>
%Y Cf. A323638 (values of the square roots), A323635 (similar definition with plus).
%K nonn,look
%O 1,2
%A _Ivan Neretin_, Jan 21 2019
