OCA:H-trees: Difference between revisions
DroneBetter (talk | contribs) Note sequences of population of single-cell evolution (and the existence of a recurrence but not an explicit form), the T-square fractal to which it converges and the von Neumann equivalent (the Ulam-Warburton automaton) |
DroneBetter (talk | contribs) Note seeming diagonal periodicity, crown shyness, densities of cell types (I cannot seem to find forms for the complementary tree's branches and stems so it is commented out for now) and hexagonal equivalent |
||
| Line 12: | Line 12: | ||
No gliders can exist in this rule: with B1, any pattern expands in all directions. | No gliders can exist in this rule: with B1, any pattern expands in all directions. | ||
It seems that for any finite initial pattern, choosing any cell and casting a ray pointing diagonally from it, the sequence of eventual states of cells along this ray becomes periodic, with a period of a power of <tt>2</tt>. | |||
==Single-cell evolution== | ==Single-cell evolution== | ||
The number of cells on generation <tt>n</tt> is given by the OEIS sequence <tt>{{OEIS|A151725|tt=tt}}(n+1)</tt>, and the number of births in the <tt>n</tt>th iteration is given by its first differences, <tt>{{OEIS|A151726|tt=tt}}(n+1)</tt>. Recurrences are known that allow these sequences to be computed efficiently, but explicit forms and generating functions are not.<!--Finding a logarithmic-time g.f. is harder than one would expect :-(--><ref>David Applegate, Omar E. Pol and N. J. A. Sloane, [https://oeis.org/A000695/a000695_1.pdf ''The Toothpick Sequence and Other Sequences from Cellular Automata''], Congressus Numerantium, Vol. 206 (2010), p. 30-34</ref> | The number of cells on generation <tt>n</tt> is given by the OEIS sequence <tt>{{OEIS|A151725|tt=tt}}(n+1)</tt>, and the number of births in the <tt>n</tt>th iteration is given by its first differences, <tt>{{OEIS|A151726|tt=tt}}(n+1)</tt>. Recurrences are known that allow these sequences to be computed efficiently, but explicit forms and generating functions are not.<!--Finding a logarithmic-time g.f. is harder than one would expect :-(--><ref>David Applegate, Omar E. Pol and N. J. A. Sloane, [https://oeis.org/A000695/a000695_1.pdf ''The Toothpick Sequence and Other Sequences from Cellular Automata''], Congressus Numerantium, Vol. 206 (2010), p. 30-34</ref> | ||
It "completes" a <tt>(2*n+1)<sup>2</sup></tt> square on generations <tt>n</tt> that are one less than powers of <tt>2</tt>, and on generations shortly preceding these, the set of cells within the neighbourhood of its living cells approaches the {{LinkWikipedia|T-square_(fractal)|T-square fractal|nobullet=no|nosuffix=no}}. | |||
On generation <tt>2<sup>n</sup>-1</tt>, within the <tt>(2<sup>n+1</sup>-1)<sup>2</sup></tt> bounding box, it has | |||
:*<tt>(16*4<sup>n</sup>+24*n-7)/9</tt> alive cells, and a total edge length of <tt>4*(8*4<sup>n</sup>+12*n-17)/9</tt>. Its asymptotic density is <tt>4/9</tt>, and cells have on average <tt>2</tt> exposed edges. | |||
:Apart from an asymptotically infinitesimal proportion of cells along the diagonals, it creates a binary tree structure at which trunk cells have two edges, branching cells have only one and leaf cells have three. | |||
:*<tt>4*(4<sup>n</sup>+6*n-10)/9</tt> branch cells, density <tt>1/9</tt> (for <tt>n>=1</tt>) | |||
:*<tt>4*(2*4<sup>n</sup>-6*n+7)/9</tt> stem cells, density <tt>2/9</tt> (for <tt>n>=1</tt>) | |||
:*<tt>4*(4<sup>n</sup>+6*n-1)/9</tt> leaf cells, density <tt>1/9</tt> | |||
:When two branches of the tree meet, they exhibit {{LinkWikipedia|Crown_shyness|name=crown shyness|nobullet=no|nosuffix=no}}, and a <tt>3×(2<sup>n</sup>-1)</tt> rectangular region is left unfilled. | |||
:*<tt>(5*4<sup>n</sup>-24*n-32)/6</tt> dead cells are in these rectangles, with density <tt>5/24</tt>, | |||
:*<tt>(4<sup>n</sup>+32)/6-4*n</tt> cells are in the rectangles' central rows or columns (off with no on neighbours), with density <tt>1/24</tt>.<!-- | |||
:The dead cells are all connected by paths of orthogonal moves through edges, and form a tree also. Excluding the shyness rectangles, there are | |||
:*<tt>4<sup>n</sup>/2</tt> leaves, density <tt>1/8</tt> (for <tt>n>=1</tt>) | |||
:*stems | |||
:*branches [hmm, I cannot seem to get my generating-function-finding program to regress for these]--> | |||
It can be seen as a generalisation from the [[von Neumann neighbourhood]] to the [[Moore neighbourhood]] of the {{LinkWikipedia|Ulam–Warburton_automaton|name=Ulam-Warburton automaton|nosuffix=nosuffix|nobullet=nobullet}} (encodable as the [[isotropic non-totalistic rule]] B1e2ak3nqy4ny5e/S012345678, with population sequence <tt>{{OEIS|A147562|tt=tt}}</tt>). The change to population on the <tt>n</tt>th iteration is <tt>4*3<sup>n.bit_count()-1</sup></tt>, where <tt>n.bit_count()</tt> is the number of bits set to <tt>1</tt> in <tt>n</tt>'s binary representation. | |||
It | It may also be defined in the [[hexagonal grid]] as B1/S0123456H, with population sequence <tt>{{OEIS|A151723|tt=tt}}</tt>. | ||
{|style="margin:auto;width:300px;" | {|style="margin:auto;width:300px;" | ||
|{{EmbedViewer | |{{EmbedViewer | ||
| Line 34: | Line 52: | ||
|position = center | |position = center | ||
|caption = The Ulam-Warburton automaton | |caption = The Ulam-Warburton automaton | ||
|style = width:300px; | |||
}}<br /><br /><!--make them align--> | |||
|{{EmbedViewer | |||
|rle = x = 7, y = 3, rule = B1/S0123456H | |||
o! | |||
|viewerconfig = #C [[ X 0 Y 0 THUMBNAIL THUMBSIZE 3 ZOOM 12 THEME 6 GRID OFF WIDTH 750 HEIGHT 750 GPS 5 AUTOSTART T 0 PAUSE 3 T 27 PAUSE 2 LOOP 28 ]] | |||
|position = center | |||
|caption = The hexagonal equivalent | |||
|style = width:300px; | |style = width:300px; | ||
}}<br /><br /><!--make them align--> | }}<br /><br /><!--make them align--> | ||
Revision as of 10:04, 20 August 2023
| H-trees | |
| Rulestring | 012345678/1 B1/S012345678 |
|---|---|
| Rule integer | 261634 |
| Character | Explosive |
| Black/white reversal | B/S01234568 |
| This article is a stub. You can help LifeWiki by expanding it. |
| This article may not meet the LifeWiki notability guidelines.
Please help to establish notability by adding external, independent sources about the topic. If notability cannot be established, the article is likely to be merged or deleted. |
H-trees is a Life-like cellular automaton with rulestring B1/S012345678.
It is an exploding rule where H-shaped branches grow from pattern borders.
No gliders can exist in this rule: with B1, any pattern expands in all directions.
It seems that for any finite initial pattern, choosing any cell and casting a ray pointing diagonally from it, the sequence of eventual states of cells along this ray becomes periodic, with a period of a power of 2.
Single-cell evolution
The number of cells on generation n is given by the OEIS sequence A151725(n+1), and the number of births in the nth iteration is given by its first differences, A151726(n+1). Recurrences are known that allow these sequences to be computed efficiently, but explicit forms and generating functions are not.[1]
It "completes" a (2*n+1)2 square on generations n that are one less than powers of 2, and on generations shortly preceding these, the set of cells within the neighbourhood of its living cells approaches the H-trees .
On generation 2n-1, within the (2n+1-1)2 bounding box, it has
- (16*4n+24*n-7)/9 alive cells, and a total edge length of 4*(8*4n+12*n-17)/9. Its asymptotic density is 4/9, and cells have on average 2 exposed edges.
- Apart from an asymptotically infinitesimal proportion of cells along the diagonals, it creates a binary tree structure at which trunk cells have two edges, branching cells have only one and leaf cells have three.
- 4*(4n+6*n-10)/9 branch cells, density 1/9 (for n>=1)
- 4*(2*4n-6*n+7)/9 stem cells, density 2/9 (for n>=1)
- 4*(4n+6*n-1)/9 leaf cells, density 1/9
- When two branches of the tree meet, they exhibit crown shyness , and a 3×(2n-1) rectangular region is left unfilled.
- (5*4n-24*n-32)/6 dead cells are in these rectangles, with density 5/24,
- (4n+32)/6-4*n cells are in the rectangles' central rows or columns (off with no on neighbours), with density 1/24.
It can be seen as a generalisation from the von Neumann neighbourhood to the Moore neighbourhood of the Ulam-Warburton automaton (encodable as the isotropic non-totalistic rule B1e2ak3nqy4ny5e/S012345678, with population sequence A147562). The change to population on the nth iteration is 4*3n.bit_count()-1, where n.bit_count() is the number of bits set to 1 in n's binary representation.
It may also be defined in the hexagonal grid as B1/S0123456H, with population sequence A151723.
|
|
|
References
- ↑ David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, Congressus Numerantium, Vol. 206 (2010), p. 30-34
External links
- Totalistic Growth Rules with Moore Neighborhood
- Christmas Life (discussion thread) at the ConwayLife.com forums
- H-trees at Adam P. Goucher's Catagolue
- H-trees at David Eppstein's Glider Database
- Interesting Rules at Fano Experimental Web Server (archived copy)