OFFSET
1,4
COMMENTS
LINKS
Peter Kagey, Table of n, a(n) for n = 1..500
Code Golf Stack Exchange, The square root of the square root of the square root of the...
EXAMPLE
(Let s(k) = sqrt(k) for brevity.)
For n = 14, the a(14) = 8 valid compositions are:
14 = 2+2+2+2+2+3+1 and 2 = s(2+s(2+s(2+s(2+s(2+s(3+s(1)))))))
14 = 1+7+2+3+1 and 2 = s(1+s(7+s(2+s(3+s(1)))))
14 = 2+1+7+3+1 and 2 = s(2+s(1+s(7+s(3+s(1)))))
14 = 2+2+1+8+1 and 2 = s(2+s(2+s(1+s(8+s(1)))))
14 = 2+2+2+2+2+4 and 2 = s(2+s(2+s(2+s(2+s(2+s(4))))))
14 = 1+7+2+4 and 2 = s(1+s(7+s(2+s(4))))
14 = 2+1+7+4 and 2 = s(2+s(1+s(7+s(4))))
14 = 2+2+1+9 and 2 = s(2+s(2+s(1+s(9))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Kagey, Oct 19 2020
STATUS
approved