Number of Rooted and Unrooted Trees

Number of unrooted trees for n taxa Nu=(2n-5)*(2n-7)*...*3*1=(2n-5)!/[2n-3*(n-3)!]

Number of rooted trees for n taxa Nr=(2n-3)*(2n-5)*(2n-7)*...*3*1=(2n-3)!/[2n-2*(n-2)!]

Note that the number of unrooted trees for n sequences is equal for the number of rooted trees for (n-1) sequences.

Number of Taxa

Number of unrooted trees

Number of rooted trees

3

1

3

4

3

15

5

15

105

6

105

945

7

945

10395

8

10395

135135

9

135135

2027025

10

2027025

34459425

20

2.22E+020

8.20E+021

30

8.69E+036

4.95E+038

40

1.31E+055

1.01E+057

50

2.84E+074

2.75E+076

60

5.01E+094

5.86E+096

70

5.00E+115

6.85E+117

80

2.18E+137

3.43E+139

For comparison the universe contains only about 1089 protons and has an age of about 5*1017 seconds or 5*1029 picoseconds.