Infinite patterns (generation 0 being infinite)

For discussion of specific patterns or specific families of patterns in Conway's Game of Life, both newly-discovered and well-known.
Post Reply
evert823
Posts: 4
Joined: February 20th, 2022, 10:48 am

Infinite patterns (generation 0 being infinite)

Post by evert823 »

Have infinite patterns ever being studied somewhere?

Here, by infinite I mean that generation 0 has an infinite amount of cells that are alive.

We could define such an infinite 0-generation in a function such as:

Code: Select all

    def IsAlive_G0(self, x, y):

        if self.ff.IsPrime((12 * x) + 1):
            return True
        if self.ff.IsPrime((8 * y) + 1):
            return True
        if self.ff.IsPrime((12 * (x - 1)) + 1):
            return True
        if self.ff.IsPrime((8 * (y - 1)) + 1):
            return True

        return False
Then for any given x, y and generation g, we could determine if (x,y) is alive in generation g with recursion:

Code: Select all

    def IsAlive(self, x, y, g):
        if g == 0:
            return self.IsAlive_G0(x, y)

        n = 0
        for i in range(x - 1, x + 2):
            for j in range(y -1, y + 2):
                if (i != x or j != y):
                    if self.IsAlive(i, j, g - 1):
                        n = n + 1
        
        if self.IsAlive(x, y, g - 1):
            if n < 2 or n > 3:
                return False
            else:
                return True
        else:
            if n == 3:
                return True
            else:
                return False
(Performance-wise this is far from optimal, I know, but it shows what I mean.)

An infinite pattern is essentially different from a finite subset of it that runs in Golly, it will only be similar in the first so many generations.
hotdogPi
Moderator
Posts: 2286
Joined: August 12th, 2020, 8:22 pm

Re: Infinite patterns (generation 0 being infinite)

Post by hotdogPi »

This is an infinite number of pi-heptominoes spaced 24 apart on the x axis and 16 apart on the y axis, with the pattern repeating for every 24×16 segment of the grid. Note the notation in "rule".

Code: Select all

x = 3, y = 3, rule = B3/S23:T24,16
3o$2bo$3o!
User:HotdogPi/My discoveries

Periods discovered:

All evens ≤128 except 52,58,78,82,92,94,98,104,118,122

5-15,㉕-㉛,㉟㊺,51,63,65,73,75
1㊳㊵㊹㊼㊽,54,56,72,74,80,90,92
217,240,300,486,576

Guns: 20,21,32,54,55,57,114,117,124,126
SKOPs: 32,74,76,102,196
evert823
Posts: 4
Joined: February 20th, 2022, 10:48 am

Re: Infinite patterns (generation 0 being infinite)

Post by evert823 »

Thanks, very awesome to see that this was already implemented in Golly!
Post Reply