GATE 2021 BT – Question 13
Number of unrooted trees in a phylogeny of five sequences is
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) 15
Explanation
The number of **unrooted binary trees** for $n$ sequences is
$$(2n-5)!!=(2n-5)(2n-7)\cdots3\cdot1 .$$
For $n=5$:
$$(2\cdot5-5)!!=5!!=5\times3\times1=\mathbf{15}.$$
(Check with smaller cases: $n=3$ gives 1 tree, $n=4$ gives 3 trees, $n=5$ gives 15 trees. The number of rooted trees is $(2n-3)!!=105$ for $n=5$, which is option C and is a different quantity.)