OFFSET
1,3
LINKS
Reed Kelly and others, Discussion of this sequence
EXAMPLE
a(3)=2 because there are 2 different expressions: sqrt(sqrt(1)), 1+1.
PROG
(PARI) allocatemem(2*10^8); \
a=L=vector(28); eps=10^(-20); a[1]=[1]; L[1]=1; print1(1", "); \
for(i=2, 28, b=vector(L[i-1]+sum(j=1, (i-1)\2, L[j]*L[i-j-1])); \
up=0; for(j=1, L[i-1], up++; b[up]=sqrt(a[i-1][j])); \
for(j=1, (i-1)\2, for(k=1, L[j], for(l=1, L[i-1-j], \
up++; b[up]=a[j][k]+a[i-1-j][l]))); \
c=vector(up, j, b[j]); c=vecsort(c); s=0; \
for(j=1, up, if((j==1)||(c[j]>c[j-1]+eps), s++)); \
a[i]=vector(s); s=0; \
for(j=1, up, if((j==1)||(c[j]>c[j-1]+eps), s++; a[i][s]=c[j])); \
L[i]=s; print1(L[i]", ")) \\ Robert Gerbicz, Mar 22 2009
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Vladimir Reshetnikov, Mar 18 2009
EXTENSIONS
a(19)-a(28) from Robert Gerbicz, Mar 22 2009
STATUS
approved