if 2-ary tree and 'i' is internal node then no of leaves are (i+1)

if 3-ary tree and 'i' is internal node then no of leaves are (2i+1)

if 4-ary tree and 'i' is internal node then no of leaves are (3i+1)

if n-ary tree and 'i' is internal node then no of leaves are (n-1)i+1

given that leaves L=41,internal node i=10,,

then L=(n-1)i+1

41=10n-10+1

10n=50

n=5