Difference between revisions of "OCA:2×2"

From LifeWiki
Jump to navigation Jump to search
Line 84: Line 84:
|}
|}


===Common still lifes===
Touchdown! That's a realyl cool way of putting it!
The following table lists the twenty most common [[strict still life]]s that arise after several generations of a [[soup|random starting pattern]].<ref name="freqres">Full results are located [http://www.conwaylife.com/forums/download/file.php?id=18 here].</ref> The "approx. rel. freq." column gives an estimate of the proportion of all randomly-occurring still lifes that will be of the given type.
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="center" width="50%" valign="top">
{| class="wikitable" style="margin-left:auto;margin-right:auto;"
|-
! Rank
! Pattern
! # of cells
! Approx. rel. freq. (out of 1.00)
|-
! 1
| [[Image:2x2_stilllife_rank1.png]]
| 2
| 0.582
|-
! 2
| [[Image:2x2_stilllife_rank2.png]]
| 2
| 0.251
|-
! 3
| [[Image:2x2_stilllife_rank3.png]]
| 5
| 0.052
|-
! 4
| [[Image:2x2_stilllife_rank4.png]]
| 3
| 0.0498
|-
! 5
| [[Image:2x2_stilllife_rank5.png]]
| 6
| 0.0252
|-
! 6
| [[Image:2x2_stilllife_rank6.png]]
| 4
| 0.019
|-
! 7
| [[Image:2x2_stilllife_rank7.png]]
| 5
| 0.00725
|-
! 8
| [[Image:2x2_stilllife_rank8.png]]
| 6
| 0.00384
|-
! 9
| [[Image:2x2_stilllife_rank9.png]]
| 4
| 0.00322
|-
! 10
| [[Image:2x2_stilllife_rank10.png]]
| 5
| 0.00195
|}
</td><td align="center" width="50%">
{| class="wikitable" style="margin-left:auto;margin-right:auto;"
|-
! Rank
! Pattern
! # of cells
! Approx. rel. freq. (out of 1.00)
|-
! 11
| [[Image:2x2_stilllife_rank11.png]]
| 4
| 0.00124
|-
! 12
| [[Image:2x2_stilllife_rank12.png]]
| 7
| 5.8&times;10<sup>-4</sup>
|-
! 13
| [[Image:2x2_stilllife_rank13.png]]
| 6
| 5.63&times;10<sup>-4</sup>
|-
! 14
| [[Image:2x2_stilllife_rank14.png]]
| 6
| 4.04&times;10<sup>-4</sup>
|-
! 15
| [[Image:2x2_stilllife_rank15.png]]
| 7
| 2.56&times;10<sup>-4</sup>
|-
! 16
| [[Image:2x2_stilllife_rank16.png]]
| 6
| 2.23&times;10<sup>-4</sup>
|-
! 17
| [[Image:2x2_stilllife_rank17.png]]
| 8
| 1.94&times;10<sup>-4</sup>
|-
! 18
| [[Image:2x2_stilllife_rank18.png]]
| 8
| 1.28&times;10<sup>-4</sup>
|-
! 19
| [[Image:2x2_stilllife_rank19.png]]
| 5
| 9.6&times;10<sup>-5</sup>
|-
! 20
| [[Image:2x2_stilllife_rank20.png]]
| 6
| 7.68&times;10<sup>-5</sup>
|}
</td></tr></table>


===Oscillators===
===Oscillators===

Revision as of 07:11, 13 April 2011

2×2
x=0, y = 0, rule = B36/S125 ! #C [[ THEME Inverse ]] #C [[ RANDOMIZE2 RANDSEED 1729 THUMBLAUNCH THUMBNAIL THUMBSIZE 2 GRID ZOOM 6 WIDTH 600 HEIGHT 600 LABEL 90 -20 2 "#G" AUTOSTART PAUSE 2 GPS 8 LOOP 256 ]]
LifeViewer-generated pseudorandom soup
Rulestring 125/36
B36/S125
Character Chaotic

2×2 is a Life-like cellular automaton in which cells survive from one generation to the next if they have 1, 2 or 5 neighbours, and are born if they have 3 or 6 neighbours. It thus has rulestring "B36/S125". Patterns under the rule have a chaotic evolution similar to those under the standard Life rules, but the chaos tends to die out much more quickly.

Its name comes from the fact that patterns made up of 2×2 blocks continue to evolve as patterns made up of 2×2 blocks.

Block evolution

The 2×2 rule can emulate a simpler cellular automaton that acts on each 2×2 block. The emulated automaton is a block cellular automaton that makes use of the Margolus neighbourhood and evolves according to the following six rules:

The 2x2 block evolution rule

Note that, as this emulates a Margolus neighbourhood, the resulting block appears at the center of the original four blocks. Thus, patterns that are originally made up of 2×2 blocks will forever be made up of 2×2 blocks, but the block partition will be offset by one cell in the odd generations from the even generations. By examining the image above, one can see that a Life-like cellular automaton will emulate a Margolus block cellular automaton if and only if the following four equations are satisfied: B4 = S4, B5 = S6 = S7, B3 = S5, B1 = B2 = S3, where the first equation for example means that the birth condition for cells with four neighbours must equal the survival condition for cells with four neighbours. There are 212 = 4096 such rules, which emulate 26 = 64 different block cellular automata.

This rule can be seen to satisfy the above equations because 4 is neither a birth condition nor a survival condition, 5 is not a birth condition and 6 and 7 are not survival conditions, 3 is a birth condition and 5 is a survival condition, and 3 is not a survival condition and 1 and 2 are not birth conditions.

Notable patterns

A large variety of still lifes and oscillators appear spontaneously from randomly generated starting states. There is also a somewhat rare naturally-occurring spaceship, which travels at c/8 diagonally.

Still lifes

Still lifes are generally smaller in 2×2 than in Life, with the smallest occurring having a population of just 2 cells. These still life patterns still tend to be similar to Life patterns in terms of structure, for example often having islands that stabilise each other. Many still lifes from Life are also still lifes in 2×2, For example, the beehive, tub, loaf, pond and mango.

Some sample still lifes.
Download RLE: click here

Enumerating still lifes

The following table catalogs all still lifes in the 2x2 rule with 10 or fewer cells.[1]

Size Count Image Links
1 0
2 2 2x22cellstilllifes.png Download RLE: click here
3 1 2x23cellstilllifes.png Download RLE: click here
4 3 2x24cellstilllifes.png Download RLE: click here
5 4 2x25cellstilllifes.png Download RLE: click here
6 9 2x26cellstilllifes.png Download RLE: click here
7 10 2x27cellstilllifes.png Download RLE: click here
8 27 2x28cellstilllifes.png Download RLE: click here
9 48 2x29cellstilllifes.png Download RLE: click here
10 126 2x210cellstilllifes.png Download RLE: click here

Touchdown! That's a realyl cool way of putting it!

Oscillators

A large variety of oscillators of various periods occur naturally in 2×2.

Period two oscillators

Many of the period 2 oscillators in 2×2 have a single-cell 'on-off' rotor, with small variations in the stator of the oscillator. These occur fairly frequently naturally.

Some period 2 oscillators.
Download RLE: click here

Higher-period oscillators

One of the most interesting aspects of the 2×2 rule is the large number of naturally-occurring higher-period oscillators. Oscillators with periods 3, 4, 5, 6, 10, 14, 22 and 26 are all relatively frequent, and oscillators are also known for periods 8, 11, 12, 17, 24 and 60.

Many oscillators with different periods from 2 through 60.
Download RLE: click here

One simple infinite family of oscillators is given by the 2×(4n) boxes of alive cells.[2] Such oscillators can be analyzed by noting that each phase of their oscillation can be represented as an exclusive or (XOR) of rectangles of different sizes that emulate the Rule 90 cellular automaton.[3] The period of these oscillators for n = 1, 2, 3, ... is given by the sequence 2, 6, 14, 14, 62, 126, 30, 30, 1022, ... (Sloane's A160657).

Naturally occurring oscillators

The following table lists the twenty most common oscillators that arise after several generations of a random starting pattern.[4] Of particular interest are some quite high-period oscillators that appear abnormally frequently (in particular, the period 26 stairstep hexomino is the third most common oscillator). The "approx. rel. freq." column gives an estimate of the proportion of all randomly-occurring oscillators that will be of the given type.

Rank Pattern Period Minimum # of cells Approx. rel. freq. (out of 1.00)
1 2x2 oscillator rank1.gif 2 5 0.494
2 2x2 oscillator rank2.gif 2 8 0.204
3 2x2 oscillator rank3.gif 26 6 0.0698
4 2x2 oscillator rank4.gif 2 5 0.0514
5 2x2 oscillator rank5.gif 4 6 0.0332
6 2x2 oscillator rank6.gif 14 7 0.0324
7 2x2 oscillator rank7.gif 4 6 0.0285
8 2x2 oscillator rank8.gif 2 6 0.0217
9 2x2 oscillator rank9.gif 4 6 0.0169
10 2x2 oscillator rank10.gif 4 7 0.0152
Rank Pattern Period Minimum # of cells Approx. rel. freq. (out of 1.00)
11 2x2 oscillator rank11.gif 2 8 0.00848
12 2x2 oscillator rank12.gif 2 6 0.007
13 2x2 oscillator rank13.gif 10 12 0.00457
14 2x2 oscillator rank14.gif 2 7 0.00196
15 2x2 oscillator rank15.gif 2 7 0.00175
16 2x2 oscillator rank16.gif 2 6 0.00175
17 2x2 oscillator rank17.gif 14 6 0.00156
18 2x2 oscillator rank18.gif 2 8 0.00106
19 2x2 oscillator rank19.gif 6 16 0.00106
20 2x2 oscillator rank20.gif 22 8 0.00043
The c/8 glider.
RLE: here

Spaceships

There are a number of spaceships known to occur in 2×2 [5]. Of these, only one is known to occur naturally from soup. It travels at c/8 diagonally.


Infinite growth

The first known infinitely-growing pattern in 2×2 was discovered in June 2009 by Nathaniel Johnston while testing the Online Life-Like CA Soup Search -- a c/8 diagonal wickstretcher based on the above c/8 glider.[6][7] No guns have yet been discovered in 2×2.

The c/8 wickstretcher
RLE: here


References

  1. Computed using the EnumStillLifes.c script located here.
  2. Nathaniel Johnston (May 22, 2009). "Rectangular Oscillators in the 2×2 (B36/S125) Cellular Automaton". Retrieved on May 24, 2009.
  3. "Life 2x2: long oscillator". comp.theory.cell-automata (November 2, 2001). Retrieved on May 24, 2009.
  4. Cite error: Invalid <ref> tag; no text was provided for refs named freqres
  5. "2x2 (B36/S125)". David Eppstein. Retrieved on March 18, 2009.
  6. "First infinite growth in 2x2 (B36/S125)?". ConwayLife.com forums. Retrieved on July 13, 2009.
  7. "The Online Life-Like CA Soup Search". NathanielJohnston.com (July 11, 2009). Retrieved on July 13, 2009.