# A recursive algorithm for trees and forests

**Authors:** Song Guo, Victor J. W. Guo

arXiv: 1702.01744 · 2017-02-08

## TL;DR

This paper introduces recurrence relations for counting rooted forests with varying numbers of roots, enabling derivation of classical formulas for different types of trees.

## Contribution

It presents a recursive approach to relate counts of rooted forests with k and k+1 roots, simplifying derivation of known tree enumeration formulas.

## Key findings

- Derived recurrence relations for rooted forests with k and k+1 roots.
- Unified framework for counting various types of trees.
- Simplified derivation of classical tree enumeration formulas.

## Abstract

Trees or rooted trees have been generously studied in the literature. A forest is a set of trees or rooted trees. Here we give recurrence relations between the number of some kind of rooted forest with $k$ roots and that with $k+1$ roots on $\{1,2,\ldots,n\}$. Classical formulas for counting various trees such as rooted trees, bipartite trees, tripartite trees, plane trees, $k$-ary plane trees, $k$-edge colored trees follow immediately from our recursive relations.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1702.01744/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/1702.01744/full.md

## References

21 references — full list in the complete paper: https://tomesphere.com/paper/1702.01744/full.md

---
Source: https://tomesphere.com/paper/1702.01744