A153240 Balance of general trees as ordered by A014486, variant A.
0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 1, 0, 2, 2, -1, 0, -2, 0, 1, -2, -1, 0, 0, 0, 1, 1, 2, 2, -1, 1, 0, 3, 3, 0, 3, 3, 3, -1, 0, -1, 1, 1, -2, -1, -3, 0, 1, -3, 0, 2, 2, -2, -1, -3, -1, 0, -3, -2, 0, 1, -3, -2, -1, 0, 0, 0, 1, 1, 2, 2, 0, 2, 2, 3, 3, 2, 3, 3, 3, -1, 0, 0, 2, 2, -2, 1, 0, 4, 4, 1, 4
Offset: 0
Keywords
Examples
A014486(25) encodes the following general tree: ......o ......| o.o...o.o .\.\././ ....*.. which consists of four subtrees, of which the second from right is one larger than the others, so we have a(25) = (0+1)-(0+0) = 1.
Links
- A. Karttunen, Table of n, a(n) for n = 0..2055
Comments