Liste des Groupes | Revenir à s math |
Am 03.12.2024 um 07:24 schrieb Moebius:(l, l) means take two left branches from the root.Am 03.12.2024 um 07:17 schrieb Chris M. Thomasson:Another one (without numbers) but /left/ (l), /right/ (r):
>>>
0
/ \
/ \
/ \
/ \
1 2
/ \ / \
/ \ / \
3 4 5 6
.........................
Though we may take 1 for the root too. This way we would get (using binary representation):
>
>>> 1
>>> / \
>>> / \
>>> / \
>>> / \
>>> 10 11
>>> / \ / \
>>> / \ / \
>>> 100 101 110 111
>>> .........................
>
I guess you get the pattern. :-P
>>> *This way we may even "identify" each node in the tree with a (finite) l- r-sequence:
>>> / \
>>> / \
>>> / \
>>> / \
>>> l r
>>> / \ / \
>>> / \ / \
>>> ll lr rl rr
>>> .........................
>>> () [<<< the "empty l-r-sequence"]:-P
>>> / \
>>> / \
>>> / \
>>> / \
>>> (l) (r)
>>> / \ / \
>>> / \ / \
>>> (l,l) (l,r) (r,l) (r,r)
>>> .........................
So each node actually "is" (or represents) the path leading to it. :-P
Les messages affichés proviennent d'usenet.