When n=4 then we can draw like this,

Number of Leaves = Total Arrangement = 5

If you draw a Tree like this for n=5, then you will get 14.

I am not sure but this looks like Catalan Number i.e. if $n=4$ then Catalan Number $C_3=5$ and for $n=5$ $C_4=14$