OFFSET
1,2
FORMULA
n = sqrt(a(1)^2+sqrt(a(2)^2+sqrt(a(3)^2+(....+sqrt(a(n)^2)))...).
Equals main diagonal of triangle A166994. [Paul D. Hanna, Nov 18 2009]
EXAMPLE
k=55 is the least integer such that sqrt(1^2+sqrt(3^2+sqrt(k^2)))=3 is an integer hence a(3)=55.
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jun 18 2003
STATUS
approved