P397: Enumeration of all $k$-ary trees with $n$ vertices

P397: Enumeration of all $k$-ary trees with $n$ vertices
Input:
Integers $k$ and $n$.
Output:
All $k$-ary trees with $n$ vertices
Complexity:
Comment:
Reference:
[Zaks1979] (Bibtex)