Consider the structure of a rooted tree independent of its underlying set, (i.e. in the sense of trees as combinatorial species). I know a number of ways which we can encode any such tree in natural numbers, but all of them fail to be a bijective, i.e. Some numbers can not be decoded into any sensible tree structure. I would be very pleased to see such concrete correspondence. Thank you.
Asked
Active
Viewed 567 times
2 Answers
6
See Y. Abe, Tree representation of positive integers, Applied Mathematics Letters Volume 7, Issue 1, January 1994, Page 57:
Abstract. We define a natural one-to-one correspondence between the set of positive integers and the set of equivalence classes of isomorphic rooted trees. By this correspondence, one can translate number-theoric concepts or quantities of a positive integer into graph-theoretic ones of a rooted tree. For example, a positive integer is prime if and only if the corresponding rooted tree is planted, that is, the valency of the root is equal to $1$.
-
1Note that this result was first discovered by Matula (1968): “A natural rooted tree enumeration by prime factorization”. – Arya McCarthy Apr 01 '21 at 14:19
3
-
1Repeating my comment above: this result was first discovered by Matula (1968): “A natural rooted tree enumeration by prime factorization”, predating Cappello by 20 years. – Arya McCarthy Apr 01 '21 at 14:19