|
Search: id:A063894
|
|
|
| A063894 |
|
Start with x, y; then concatenate each word in turn with all preceding words, getting x y xy xxy yxy xxxy yxxy xyxxy ...; sequence gives number of words of length n. Also binary trees by degree: x y (x,y) (x,(x,y)) (y,(x,y)) (x,(x,(x,y))) (y,(x,(x,y))) ((x,y),(x,(x,y)))... |
|
+0 3
|
|
| 2, 1, 2, 4, 10, 25, 68, 187, 532, 1532, 4492, 13308, 39870, 120433, 366656, 1123504, 3463050, 10729234, 33396202, 104381385, 327477814, 1030903514, 3255394686, 10309154738, 32732315724, 104177891232, 332308237666, 1062192108053
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
FORMULA
|
G.f. A(x)=1-sqrt(1-4x+A(x^2)) satisfies A(x)^2-2A(x)+4x-A(x^2)=0, A(0)=0. - Michael Somos, Sep 06 2003
a(n)=(sum a(i)a(j), i+j=n, i<j)+(if n=2k, (a(k)-1)a(k)/2), n>1. a(1)=2.
|
|
PROGRAM
|
(PARI) a(n)=local(A, m); if(n<0, 0, m=1; A=O(x); while(m<=n, m*=2; A=1-sqrt(1-4*x+subst(A, x, x^2))); polcoeff(A, n))
|
|
CROSSREFS
|
Cf. A063895.
Sequence in context: A029728 A135547 A146307 this_sequence A024500 A000087 A145667
Adjacent sequences: A063891 A063892 A063893 this_sequence A063895 A063896 A063897
|
|
KEYWORD
|
easy,nonn,nice
|
|
AUTHOR
|
Claude Lenormand (claude.lenormand(AT)free.fr), Aug 29 2001
|
|
|
Search completed in 0.002 seconds
|