Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #549923

Re: For WM, a 2-ary infinite tree:

From "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups sci.math
Subject Re: For WM, a 2-ary infinite tree:
Date 2022-01-03 01:17 -0800
Organization A noiseless patient Spider
Message-ID <squf07$ov6$1@dont-email.me> (permalink)
References <sqotum$6ja$1@dont-email.me> <squ1dn$k44$1@dont-email.me> <squ1vo$mno$1@dont-email.me> <squb29$2v5$1@dont-email.me>

Show all headers | View raw


On 1/3/2022 12:10 AM, Chris M. Thomasson wrote:
> On 1/2/2022 9:35 PM, Chris M. Thomasson wrote:
>> On 1/2/2022 9:26 PM, Chris M. Thomasson wrote:
>>> On 12/31/2021 10:56 PM, Chris M. Thomasson wrote:
>>>> Root 0, 2-ary:
[...]
> What about 3-ary? God damn ASCII art! Anyway:
> 
> 
> 
> 
> [0]                 0
>                    /|\
>                   / | \
>                  /  |  \
>                 /   |   \
>                /    |    \
>               /     |     \
>              /      |      \
> [1]         1       2       3
>            /|\     /|\     /|\
>           / | \   / | \   / | \
> [2]      4  5  6 7  8  9 10 11 12
> ..............................................

The infinite levels are a bit different now in 3-ary:

[0] = { 0 }
[1] = { 1, 2, 3 }
[2] = { 4, 5, 6, 7, 8, 9, 10, 11, 12 }
...

The three children of 4 should be, 13, 14, 15:

child_left   = 3*4 + 1 = 13
child_middle = 3*4 + 2 = 14
child_right  = 3*4 + 3 = 15


The three children of 12 should be, 37, 38, 39:

child_left   = 3*12 + 1 = 37
child_middle = 3*12 + 2 = 38
child_right  = 3*12 + 3 = 39

We have a new level [13...39]




Back to sci.math | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-31 22:56 -0800
  Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-01 00:00 -0800
  Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-01 00:03 -0800
    Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-01 23:46 -0800
    Re: For WM, a 2-ary infinite tree: FredJeffries <fredjeffries@gmail.com> - 2022-01-02 07:48 -0800
  Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 09:29 -0800
    Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 09:54 -0800
      Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 10:23 -0800
        Re: For WM, a 2-ary infinite tree: Serg io <invalid@invalid.com> - 2022-01-02 13:20 -0600
          Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 11:27 -0800
            Re: For WM, a 2-ary infinite tree: Serg io <invalid@invalid.com> - 2022-01-02 13:53 -0600
              Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 11:55 -0800
                Re: For WM, a 2-ary infinite tree: Serg io <invalid@invalid.com> - 2022-01-02 14:01 -0600
                Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 12:05 -0800
                Re: For WM, a 2-ary infinite tree: Scot Dino <cvb@nmo.er> - 2022-01-02 23:30 +0000
                Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 15:38 -0800
                Re: For WM, a 2-ary infinite tree: "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2022-01-02 20:48 -0800
    Re: For WM, a 2-ary infinite tree: Scot Dino <cvb@nmo.er> - 2022-01-02 18:08 +0000
  Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-02 21:26 -0800
    Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-02 21:35 -0800
      Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-03 00:10 -0800
        Re: For WM, a 2-ary infinite tree: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-01-03 01:17 -0800

csiph-web