KaryTree

KaryTree[n]
gives a binary tree with n vertices.

KaryTree[n, k]
gives a -ary tree with n vertices.

Details and OptionsDetails and Options

New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »