%I #40 Oct 21 2022 15:17:34
%S 140,417,1164,1005,3141,2835,8797,7918,7268,23415,21576,20648,65342,
%T 62390,60038,59165,177559,158105,144487,136744,398009,345711,317176,
%U 293203,256688,822470,760976,731808,714462,650945,2087659,1914317,1818736,1811165,1670837
%N The number of parents of successive approximations used in a greedy approach to creating a Garden of Eden in Conway's Game of Life.
%C In order to create a Garden of Eden (i.e., a pattern with no parents) in Conway's Game of Life, we greedily proceed as follows:
%C Consider one cell. If it is ON it has 140 parents, and if it is OFF it has 372 parents. Therefore we set it ON so as to have a smaller number of parents.
%C Then we consider an adjacent cell. If it is ON then the two-cell pattern has 417 parents, and if it is OFF then it has 703 parents. Therefore we set it ON so as to have a smaller number of parents.
%C We continue in this way, considering cells one at a time in a pattern that spirals around the starting cell. For each cell, we choose it to be ON or OFF based on which of those options results in the pattern having fewer parents.
%C This algorithm eventually produces a Garden of Eden -- that is, a pattern with no parents. This happens when adding cell 266. This sequence is the numbers of parents at each stage during creation of such a Garden of Eden.
%C All OFF cell numbers are enumerated in sequence A197734.
%C The Garden of Eden created by this algorithm does not have the minimum possible number of cells, but it is easier to understand and create than most other Gardens of Eden.
%H Nicolay Beluchenko, <a href="/A196447/b196447.txt">Table of n, a(n) for n = 1..266</a> (complete sequence)
%H Randall D. Beer, <a href="https://arxiv.org/abs/2210.07837">Cultivating the Garden of Eden</a>, arXiv:2210.07837 [nlin.CG], 2022.
%H LifeWiki, <a href="http://www.conwaylife.com/wiki/Garden_of_Eden">Garden of Eden</a>
%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Garden_of_Eden_(cellular_automaton)">Garden of Eden</a>
%e a(1) = 140 because the one-cell configuration produced by this algorithm (with one ON cell) has 140 parents
%e a(2) = 417 because the two-cell configuration produced by this algorithm (with both cells ON) has 417 parents
%e a(266) = 0 because the 266-cell configuration produced by this algorithm has 0 parents (i.e., it is a Garden of Eden)
%Y Cf. A197734.
%K nonn,fini,full
%O 1,1
%A _Nicolay Beluchenko_, Oct 13 2011
%E Edited by _Nathaniel Johnston_, May 11 2016