P344: Enumeration of all $k$-ary trees in natural order

P344: Enumeration of all $k$-ary trees in natural order
Input:
Two integers $k$ and $n$.
Output:
All $k$-ary trees with $n$ vertices.
Complexity:
Comment:
Reference:
[Er1992] (Bibtex)