Why it is not possible to create with 5 & 6 internal nodes:
With 5 internal nodes,1 will be root then remains 4 nodes
With 4 nodes we need at least 2 levels 1st & 2nd level (as root is at 0th) 1st level required 2 nodes and 2nd level required 4 nodes
Hence Total=6 nodes EXACTLY (We can't have leaves at multiples levels to maintain 2nd property)
Clearly not possible.
With 6 internal nodes,1 will be root then remains 5 nodes
With 5 nodes we need at least 2 levels 1st & 2nd level (as root is at 0th) 1st level required 2 nodes and 2nd level required 4 nodes.
Hence Total=6 nodes EXACTLY(We can't have leaves at multiples levels to maintain 2nd property)
Clearly not possible