Wedderburn–Etherington number

From HandWiki
Revision as of 16:32, 6 February 2024 by AIposter (talk | contribs) (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Wedderburn–Etherington numbers are an integer sequence named for Ivor Malcolm Haddon Etherington[1][2] and Joseph Wedderburn[3] that can be used to count certain kinds of binary trees. The first few numbers in the sequence are

0, 1, 1, 1, 2, 3, 6, 11, 23, 46, 98, 207, 451, 983, 2179, 4850, 10905, 24631, 56011, ... (OEISA001190)

Combinatorial interpretation

Otter trees and weakly binary trees, two types of rooted binary tree counted by the Wedderburn–Etherington numbers

These numbers can be used to solve several problems in combinatorial enumeration. The nth number in the sequence (starting with the number 0 for n = 0) counts

  • The number of unordered rooted trees with n leaves in which all nodes including the root have either zero or exactly two children.[4] These trees have been called Otter trees,[5] after the work of Richard Otter on their combinatorial enumeration.[6] They can also be interpreted as unlabeled and unranked dendrograms with the given number of leaves.[7]
  • The number of unordered rooted trees with n nodes in which the root has degree zero or one and all other nodes have at most two children.[4] Trees in which the root has at most one child are called planted trees, and the additional condition that the other nodes have at most two children defines the weakly binary trees. In chemical graph theory, these trees can be interpreted as isomers of polyenes with a designated leaf atom chosen as the root.[8]
  • The number of different ways of organizing a single-elimination tournament for n players (with the player names left blank, prior to seeding players into the tournament).[9] The pairings of such a tournament may be described by an Otter tree.
  • The number of different results that could be generated by different ways of grouping the expression [math]\displaystyle{ x^n }[/math] for a binary multiplication operation that is assumed to be commutative but neither associative nor idempotent.[4] For instance [math]\displaystyle{ x^5 }[/math] can be grouped into binary multiplications in three ways, as [math]\displaystyle{ x(x(x(xx))) }[/math], [math]\displaystyle{ x((xx)(xx)) }[/math], or [math]\displaystyle{ (xx)(x(xx)) }[/math]. This was the interpretation originally considered by both Etherington[1][2] and Wedderburn.[3] An Otter tree can be interpreted as a grouped expression in which each leaf node corresponds to one of the copies of [math]\displaystyle{ x }[/math] and each non-leaf node corresponds to a multiplication operation. In the other direction, the set of all Otter trees, with a binary multiplication operation that combines two trees by making them the two subtrees of a new root node, can be interpreted as the free commutative magma on one generator [math]\displaystyle{ x }[/math] (the tree with one node). In this algebraic structure, each grouping of [math]\displaystyle{ x^n }[/math] has as its value one of the n-leaf Otter trees.[10]

Formula

The Wedderburn–Etherington numbers may be calculated using the recurrence relation

[math]\displaystyle{ a_{2n-1}=\sum_{i=1}^{n-1} a_i a_{2n-i-1} }[/math]
[math]\displaystyle{ a_{2n}=\frac{a_n(a_n+1)}{2}+\sum_{i=1}^{n-1} a_i a_{2n-i} }[/math]

beginning with the base case [math]\displaystyle{ a_1=1 }[/math].[4]

In terms of the interpretation of these numbers as counting rooted binary trees with n leaves, the summation in the recurrence counts the different ways of partitioning these leaves into two subsets, and of forming a subtree having each subset as its leaves. The formula for even values of n is slightly more complicated than the formula for odd values in order to avoid double counting trees with the same number of leaves in both subtrees.[7]

Growth rate

The Wedderburn–Etherington numbers grow asymptotically as

[math]\displaystyle{ a_n \approx \sqrt{\frac{\rho+\rho^2B'(\rho^2)}{2\pi}} \frac{\rho^{-n}}{n^{3/2}}, }[/math]

where B is the generating function of the numbers and ρ is its radius of convergence, approximately 0.4027 (sequence A240943 in the OEIS), and where the constant given by the part of the expression in the square root is approximately 0.3188 (sequence A245651 in the OEIS).[11]

Applications

(Young Yung) use the Wedderburn–Etherington numbers as part of a design for an encryption system containing a hidden backdoor. When an input to be encrypted by their system can be sufficiently compressed by Huffman coding, it is replaced by the compressed form together with additional information that leaks key data to the attacker. In this system, the shape of the Huffman coding tree is described as an Otter tree and encoded as a binary number in the interval from 0 to the Wedderburn–Etherington number for the number of symbols in the code. In this way, the encoding uses a very small number of bits, the base-2 logarithm of the Wedderburn–Etherington number.[12]

(Farzan Munro) describe a similar encoding technique for rooted unordered binary trees, based on partitioning the trees into small subtrees and encoding each subtree as a number bounded by the Wedderburn–Etherington number for its size. Their scheme allows these trees to be encoded in a number of bits that is close to the information-theoretic lower bound (the base-2 logarithm of the Wedderburn–Etherington number) while still allowing constant-time navigation operations within the tree.[13]

(Iserles Nørsett) use unordered binary trees, and the fact that the Wedderburn–Etherington numbers are significantly smaller than the numbers that count ordered binary trees, to significantly reduce the number of terms in a series representation of the solution to certain differential equations.[14]

See also

References

  1. 1.0 1.1 "Non-associate powers and a functional equation", Mathematical Gazette 21 (242): 36–39, 153, 1937, doi:10.2307/3605743 .
  2. 2.0 2.1 "On non-associative combinations", Proc. R. Soc. Edinburgh 59 (2): 153–162, 1939, doi:10.1017/S0370164600012244 .
  3. 3.0 3.1 "The functional equation [math]\displaystyle{ g(x^2) = 2ax + [g(x)]^2 }[/math]", Annals of Mathematics 24 (2): 121–140, 1923, doi:10.2307/1967710 .
  4. 4.0 4.1 4.2 4.3 Sloane, N. J. A., ed. "Sequence A001190". OEIS Foundation. https://oeis.org/A001190. .
  5. "Isomorphism and symmetries in random phylogenetic trees", Journal of Applied Probability 46 (4): 1005–1019, 2009, doi:10.1239/jap/1261670685, Bibcode2009arXiv0901.0696B .
  6. Otter, Richard (1948), "The number of trees", Annals of Mathematics, Second Series 49 (3): 583–599, doi:10.2307/1969046 .
  7. 7.0 7.1 Murtagh, Fionn (1984), "Counting dendrograms: a survey", Discrete Applied Mathematics 7 (2): 191–199, doi:10.1016/0166-218X(84)90066-0 .
  8. Cyvin, S. J.; Brunvoll, J.; Cyvin, B.N. (1995), "Enumeration of constitutional isomers of polyenes", Journal of Molecular Structure: THEOCHEM 357 (3): 255–261, doi:10.1016/0166-1280(95)04329-6 .
  9. Maurer, Willi (1975), "On most effective tournament plans with fewer games than competitors", The Annals of Statistics 3 (3): 717–727, doi:10.1214/aos/1176343135 .
  10. This equivalence between trees and elements of the free commutative magma on one generator is stated to be "well known and easy to see" by Rosenberg, I. G. (1986), "Structural rigidity. II. Almost infinitesimally rigid bar frameworks", Discrete Applied Mathematics 13 (1): 41–59, doi:10.1016/0166-218X(86)90068-5 .
  11. Landau, B. V. (1977), "An asymptotic expansion for the Wedderburn-Etherington sequence", Mathematika 24 (2): 262–265, doi:10.1112/s0025579300009177 .
  12. Young, Adam (2003), "Backdoor attacks on black-box ciphers exploiting low-entropy plaintexts", Proceedings of the 8th Australasian Conference on Information Security and Privacy (ACISP'03), Lecture Notes in Computer Science, 2727, Springer, pp. 297–311, doi:10.1007/3-540-45067-X_26, ISBN 978-3-540-40515-3 .
  13. Farzan, Arash (2008), "A uniform approach towards succinct representation of trees", Algorithm theory—SWAT 2008, Lecture Notes in Computer Science, 5124, Springer, pp. 173–184, doi:10.1007/978-3-540-69903-3_17 .
  14. Iserles, A.; Nørsett, S. P. (1999), "On the solution of linear differential equations in Lie groups", Philosophical Transactions of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences 357 (1754): 983–1019, doi:10.1098/rsta.1999.0362, Bibcode1999RSPTA.357..983I, https://cds.cern.ch/record/323789 .

Further reading