Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: 2, 4, 9, 20, 48, 115, 286, 719
Displaying 1-7 of 7 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A000081 Number of rooted trees with n nodes (or connected functions with a fixed point).
(Formerly M1180 N0454)
+20
137
0, 1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4766, 12486, 32973, 87811, 235381, 634847, 1721159, 4688676, 12826228, 35221832, 97055181, 268282855, 743724984, 2067174645, 5759636510, 16083734329, 45007066269, 126186554308, 354426847597 (list; graph; listen)
OFFSET

0,4

COMMENT

Also, number of ways of arranging n-1 nonoverlapping circles: e.g. there are 4 ways to arrange 3 circles, as represented by ((O)), (OO), (O)O, OOO. (Of course the rules here are different from the usual counting parentheses problems - compare A000108, A001190, A001699.) See link below for proof.

Euler transform is sequence itself with offset -1.

Take a string of n x's and insert n-1 ^'s and n-1 pairs of parentheses in all possible legal ways (cf. A003018). Sequence gives number of distinct functions. The single node tree is "x". Making a node f2 a child of f1 represents f1^f2. Since (f1^f2)^f3 is just f1^(f2*f3) we can think of it as f1 raised to both f2 and f3, that is, f1 with f2 and f3 as children. E.g. for n=4 the distinct functions are ((x^x)^x)^x; (x^(x^x))^x; x^((x^x)^x); x^(x^(x^x )). - Edwin Clark (eclark(AT)math.usf.edu) and Russ Cox (rsc(AT)swtch.com) Apr 29, 2003; corrected by Keith Briggs (keith.briggs(AT)bt.com), Nov 14 2005

Triangle A144963: row sums = (1, 2, 4, 9, 20,...), right border = (1, 1, 2, 4, 9,...); and left border = A051573: (1, 1, 1, 2, 3, 8, 16,...). [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 27 2008]

REFERENCES

F. Bergeron, G. Labelle and P. Leroux, Combinatorial Species and Tree-Like Structures, Camb. 1998, p. 279.

N. L. Biggs et al., Graph Theory 1736-1936, Oxford, 1976, p. 42, 49.

A. Cayley, On the analytical forms called trees, Amer. J. Math., 4 (1881), 266-268.

A. Cayley, On the analytical forms called trees, with application to the theory of chemical combinations, Reports British Assoc. Advance. Sci. 45 (1875), 257-305 = Math. Papers, Vol. 9, 427-460 (see p. 451).

F. Goebel, On a 1-1-correspondence between rooted trees and natural numbers, J. Combin. Theory, B 29 (1980), 141-143.

F. Goebel and R. P. Nederpelt, The number of numerical outcomes of iterated powers, Amer. Math. Monthly, 80 (1971), 1097-1103.

J. L. Gross and J. Yellen, eds., Handbook of Graph Theory, CRC Press, 2004; p. 526.

R. K. Guy and J. L. Selfridge, The nesting and roosting habits of the laddered parenthesis. Amer. Math. Monthly 80 (1973), 868-876.

F. Harary, Graph Theory. Addison-Wesley, Reading, MA, 1969, p. 232.

F. Harary and E. M. Palmer, Graphical Enumeration, Academic Press, NY, 1973, pp. 54 and 244.

D. E. Knuth, The Art of Computer Programming, Vol. 1: Fundamental Algorithms, 3d Ed. 1997, pp. 386-388.

D. E. Knuth, TAOCP, Vol. 4, Section 7.2.1.6.

D. Matula, A natural rooted tree enumeration by prime factorization, SIAM Rev. 10 (1968).

N. Pippenger, Enumeration of equicolorable trees, SIAM J. Discrete Math., 14 (2001), 93-115.

G. Polya, Kombinatorische Anzahlbestimmungen fuer Gruppen, Graphen und chemische Verbindungen, Acta Math. 68 (1937), 145-254.

G. Polya and R. C. Read, Combinatorial Enumeration of Groups, Graphs and Chemical Compounds, Springer-Verlag, 1987, p. 63.

R. C. Read and R. J. Wilson, An Atlas of Graphs, Oxford, 1998. [Comment from Neven Juric: Page 64 incorrectly gives a(21)=35224832.]

J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 138.

N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 2, 1999; see Proposition 5.3.1, p. 23.

D. E. Knuth, The Art of Computer Programming, vol. 1, 3rd ed., Fundamental Algorithms, p. 395, ex. 2.

LINKS

N. J. A. Sloane, Table of n, a(n) for n = 0..200

P. Flajolet, S. Gerhold and B. Salvy, On the non-holonomic character of logarithms, powers and the n-th prime function

P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009; see page 71

Ivan Gutman and Yeong-Nan Yeh, Deducing properties of trees from their Matula numbers

INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 57

F. Ruskey, Information on Rooted Trees

N. J. A. Sloane, Illustration of initial terms

N. J. A. Sloane, Bijection between rooted trees and arrangements of circles

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics (1).

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics (2).

G. Xiao, Contfrac

Index entries for "core" sequences

Index entries for sequences related to rooted trees

Index entries for sequences related to trees

Index entries for sequences related to parenthesizing

Index entries for continued fractions for constants

FORMULA

G.f. A(x) = x + x^2 + 2*x^3 + 4*x^4 + ... satisfies A(x) = x exp(A(x)+A(x^2)/2+A(x^3)/3+A(x^4)/4+...) [Polya]

Also A(x) = Sum_{n >= 1} a(n)*x^n = x / Product_{n >= 1} (1-x^n)^a(n).

Recurrence: a(n+1) = (1/n) * sum_{k=1..n} ( sum_{d|k} d*a(d) ) * a(n-k+1).

EXAMPLE

Asymptotically c * d^n * n^(-3/2), where c = 0.4399... and d = 2.9558... [Polya; Knuth, section 7.2.1.6].

MAPLE

N := 30: a := [1, 1]; for n from 3 to N do x*mul( (1-x^i)^(-a[i]), i=1..n-1); series(%, x, n+1); b := coeff(%, x, n); a := [op(a), b]; od: a; A000081 := proc(n) if n=0 then 1 else a[n]; fi; end; G000081 := series(add(a[i]*x^i, i=1..N), x, N+2); # also used in A000055

spec := [ T, {T=Prod(Z, Set(T))} ]; A000081 := n-> combstruct[count](spec, size=n); [seq(combstruct[count](spec, size=n), n=0..40)];

Comment from Joe Riel (joer(AT)san.rr.com), Jun 23 2008; (Start) Here is a much more efficient method for computing the result with Maple. It uses two procedures.

a := proc(n) local k; a(n) := add(k*a(k)*s(n-1, k), k=1..n-1)/(n-1) end proc:

a(0) := 0: a(1) := 1: s := proc(n, k) local j; s(n, k) := add(a(n+1-j*k), j=1..iquo(n, k)); (End)

Contribution from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Sep 06 2008: (Start)

# even more efficient, uses the Euler transform:

with (numtheory): a:= proc(n) option remember; local d, j; if n<=1 then n else (add (d*a(d), d=divisors(n-1)) +add (add (d*a(d), d=divisors(j)) *a(n-j), j=1..n-2))/ (n-1) fi end: seq (a(n), n=0..50); (End)

MATHEMATICA

s[ n_, k_ ] := s[ n, k ]=a[ n+1-k ]+If[ n<2k, 0, s[ n-k, k ] ]; a[ 1 ]=1; a[ n_ ] := a[ n ]=Sum[ a[ i ]s[ n-1, i ]i, {i, 1, n-1} ]/(n-1); Table[ a[ i ], {i, 1, 30} ] (from Robert A. Russell)

<<NumericalMath`Butcher`; ButcherTreeCount[30]

PROGRAM

(PARI) a(n)=local(A=x); if(n<1, 0, for(k=1, n-1, A/=(1-x^k+x*O(x^n))^polcoeff(A, k)); polcoeff(A, n))

(PARI) a(n)=local(A, A1, an, i); if(n<1, 0, an=Vec(A=A1=1+O('x^n)); for(m=2, n, i=m\2; an[m]=sum(k=1, i, an[k]*an[m-k])+polcoeff(if(m%2, A*=(A1-'x^i)^-an[i], A), m-1)); an[n])

CROSSREFS

Cf. A000041 (partitions), A000055 (unrooted trees), A000169, A005200, A051491, A051492, A093637, A001858.

A144963 [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 27 2008]

Sequence in context: A145548 A145549 A145550 this_sequence A124497 A093637 A068051

Adjacent sequences: A000078 A000079 A000080 this_sequence A000082 A000083 A000084

KEYWORD

nonn,easy,core,nice,eigen

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

Corrected typo in arxiv number R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 06 2009

A145547 Number of distinct values taken by 7^7^...^7 (with n 7's and parentheses inserted in all possible ways). +20
9
1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1841, 4762, 12470, 32918, 87628, 234795, 633000, 1715435, 4671098, 12772707, 35059815, 96567161, 266818396, 739344427 (list; graph; listen)
OFFSET

1,3

REFERENCES

R. K. Guy and J. L. Selfridge, The nesting and roosting habits of the laddered parenthesis. Amer. Math. Monthly 80 (1973), 868-876.

LINKS

Index entries for sequences related to parenthesizing

CROSSREFS

Cf. A002845, A003018, A003019, A145545, A145546, A145548, A145549, A145550, A000081.

Sequence in context: A034825 A145546 A034826 this_sequence A123467 A145548 A145549

Adjacent sequences: A145544 A145545 A145546 this_sequence A145548 A145549 A145550

KEYWORD

more,nonn

AUTHOR

Jon E. Schoenfield (jonscho(AT)hiwaay.net), Oct 13 2008

A145548 Number of distinct values taken by 8^8^...^8 (with n 8's and parentheses inserted in all possible ways). +20
9
1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4765, 12482, 32957, 87756, 235198, 634261, 1719312, 4682952, 12808650, 35168306, 96893138, 267794711, 742260014, 2062792103 (list; graph; listen)
OFFSET

1,3

REFERENCES

R. K. Guy and J. L. Selfridge, The nesting and roosting habits of the laddered parenthesis. Amer. Math. Monthly 80 (1973), 868-876.

LINKS

Index entries for sequences related to parenthesizing

CROSSREFS

Cf. A002845, A003018, A003019, A145545, A145546, A145547, A145549, A145550, A000081.

Sequence in context: A034826 A145547 A123467 this_sequence A145549 A145550 A000081

Adjacent sequences: A145545 A145546 A145547 this_sequence A145549 A145550 A145551

KEYWORD

more,nonn

AUTHOR

Jon E. Schoenfield (jonscho(AT)hiwaay.net), Oct 13 2008

A145549 Number of distinct values taken by 9^9^...^9 (with n 9's and parentheses inserted in all possible ways). +20
9
1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4766, 12485, 32969, 87795, 235326, 634664, 1720573, 4686829, 12820504, 35204254, 97001655, 268120807, 743236814, 2065709551, 5755253457 (list; graph; listen)
OFFSET

1,3

REFERENCES

R. K. Guy and J. L. Selfridge, The nesting and roosting habits of the laddered parenthesis. Amer. Math. Monthly 80 (1973), 868-876.

LINKS

Index entries for sequences related to parenthesizing

CROSSREFS

Cf. A002845, A003018, A003019, A145545, A145546, A145547, A145548, A145550, A000081.

Sequence in context: A145547 A123467 A145548 this_sequence A145550 A000081 A124497

Adjacent sequences: A145546 A145547 A145548 this_sequence A145550 A145551 A145552

KEYWORD

more,nonn

AUTHOR

Jon E. Schoenfield (jonscho(AT)hiwaay.net), Oct 13 2008

A145550 Number of distinct values taken by 10^10^...^10 (with n 10's and parentheses inserted in all possible ways). +20
9
1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4766, 12486, 32972, 87807, 235365, 634792, 1720976, 4688090, 12824381, 35216108, 97037603, 268229329, 743562936, 2066686470, 5758171390, 16079351152 (list; graph; listen)
OFFSET

1,3

REFERENCES

R. K. Guy and J. L. Selfridge, The nesting and roosting habits of the laddered parenthesis. Amer. Math. Monthly 80 (1973), 868-876.

LINKS

Index entries for sequences related to parenthesizing

CROSSREFS

Cf. A002845, A003018, A003019, A145545, A145546, A145547, A145548, A145549, A000081.

Sequence in context: A123467 A145548 A145549 this_sequence A000081 A124497 A093637

Adjacent sequences: A145547 A145548 A145549 this_sequence A145551 A145552 A145553

KEYWORD

more,nonn

AUTHOR

Jon E. Schoenfield (jonscho(AT)hiwaay.net), Oct 13 2008

A034826 Number of n-node rooted trees of height at most 9. +20
2
1, 1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1841, 4755, 12410, 32558, 85849, 226980, 601373, 1594870, 4232100, 11230771, 29798539, 79034638, 209526631, 555172356, 1470195001, 3891131705, 10292857772, 27212082536, 71905725130, 189911518888 (list; graph; listen)
OFFSET

0,4

LINKS

N. J. A. Sloane, Table of n, a(n) for n=0..200

N. J. A. Sloane, Transforms

Index entries for sequences related to rooted trees

FORMULA

Take Euler transform of A034825 and shift right. (Christian G. Bower (bowerc(AT)usa.net)).

MAPLE

For Maple program see link in A000235.

with (numtheory): etr:= proc(p) local b; b:=proc(n) option remember; local d, j; if n=0 then 1 else add (add (d*p(d), d=divisors(j)) *b(n-j), j=1..n)/n fi end end: shr:= proc(p) n->`if`(n=0, 1, p(n-1)) end: b[0]:= etr(n->1): for j from 1 to 7 do b[j]:= etr (shr(b[j-1])) od: a:= shr(b[7]): seq (a(n), n=0..31); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Sep 08 2008]

CROSSREFS

See A001383 for details.

Sequence in context: A145545 A034825 A145546 this_sequence A145547 A123467 A145548

Adjacent sequences: A034823 A034824 A034825 this_sequence A034827 A034828 A034829

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

A123467 Number of trivially perfect graphs on n nodes. +20
1
1, 2, 4, 9, 20, 48, 115, 286, 719, 1842 (list; graph; listen)
OFFSET

1,2

COMMENT

Is this the same as A000081 with a different offset?

REFERENCES

S. Hougardy, Classes of perfect graphs, Discr. Math. 306 (2006), 2529-2571.

LINKS

S. Hougardy, Home Page

CROSSREFS

Sequence in context: A145546 A034826 A145547 this_sequence A145548 A145549 A145550

Adjacent sequences: A123464 A123465 A123466 this_sequence A123468 A123469 A123470

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Oct 18 2006

page 1

Search completed in 0.007 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research