Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108643
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108643 Number of binary rooted trees with n nodes and internal path length n. +0
3
1, 1, 0, 2, 0, 1, 4, 0, 4, 2, 8, 6, 8, 8, 8, 40, 4, 29, 40, 52, 56, 64, 116, 112, 200, 86, 296, 366, 360, 432, 652, 800, 840, 1470, 1116, 2048, 2356, 3052, 3524, 4220, 5648, 6964, 9660, 8688, 14128, 17024, 19432, 23972, 32784, 37873, 44912, 59672, 67560, 93684 (list; graph; listen)
OFFSET

0,4

COMMENT

Self-convolution equals A095830 (number of binary trees of path length n). - Paul D. Hanna (pauldhanna(AT)juno.com), Aug 20 2007

REFERENCES

Knuth Vol. 1 Sec. 2.3.4.5, Problem 5.

FORMULA

G.f. = B(w, w) where B(w, z) is defined in A095830.

G.f.: A(x) = 1 + x*(A_2)^2; A_2 = 1 + x^2*(A_3)^2; A_3 = 1 + x^3*(A_4)^2; ... A_n = 1 + x^n*(A_{n+1})^2 for n>=1 with A_1 = A(x). - Paul D. Hanna (pauldhanna(AT)juno.com), Aug 20 2007

MAPLE

A := proc(n, k) option remember; if n=0 then 1 else convert (series (1+ x^k*A(n-1, k+1)^2, x, n+1), polynom) fi end: a:= n-> coeff (A(n, 1), x, n): seq (a(n), n=0..53); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Aug 22 2008]

PROGRAM

(PARI) {a(n)=local(A=1+x*O(x^n)); for(j=0, n-1, A=1+x^(n-j)*A^2); polcoeff(A, n)} - Paul D. Hanna (pauldhanna(AT)juno.com), Aug 20 2007

CROSSREFS

Adjacent sequences: A108640 A108641 A108642 this_sequence A108644 A108645 A108646

Sequence in context: A131487 A039991 A081265 this_sequence A133838 A121583 A124915

KEYWORD

nonn

AUTHOR

njas and Nadia Heninger (nadiah(AT)cs.princeton.edu), Jul 08 2005

EXTENSIONS

More terms from Vladeta Jovovic (vladeta(AT)Eunet.yu), Jul 08 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research