Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #18 Feb 24 2021 02:48:19
%S 0,1,9,21,29,81,93,105,189,225,253,441,453,465,549,585,621,873,909,
%T 945,1197,1305,1397,2025,2037,2049,2133,2169,2205,2457,2493,2529,2781,
%U 2889,2997,3753,3789,3825,4077,4185,4293,5049,5157,5265,6021,6345,6637,8649
%N Number of "ON" cells at n-th stage in simple 2-dimensional cellular automaton (see Comments for precise definition).
%C On the infinite square grid, we start at stage 0 with all cells in OFF state. At stage 1, we turn ON a single cell, in the central position.
%C In order to construct this sequence we use the following rules:
%C - If n is congruent to 0 (mod 3), we turn "ON" the cells around the vertex of every convex corner formed in the structure at the generation n-1. Note that every vertex is surrounded by three new "ON" cells.
%C - If n is congruent to 1 (mod 3), we turn "ON" the possible bridge cells and the possible peninsula cells (For the definition of bridge cell and of peninsula cell see A160117).
%C - If n is congruent to 2 (mod 3), we turn "ON" the cells around the cells turned "ON" at the generation n-1.
%C - Everything that is already ON remains ON.
%C A173461, the first differences, gives the number of cells turned "ON" at n-th stage.
%H Lars Blomberg, <a href="/A173460/b173460.txt">Table of n, a(n) for n = 0..6000</a>
%H David Applegate, Omar E. Pol and N. J. A. Sloane, <a href="/A000695/a000695_1.pdf">The Toothpick Sequence and Other Sequences from Cellular Automata</a>, Congressus Numerantium, Vol. 206 (2010), 157-191. [There is a typo in Theorem 6: (13) should read u(n) = 4.3^(wt(n-1)-1) for n >= 2.]
%H N. J. A. Sloane, <a href="/wiki/Catalog_of_Toothpick_and_CA_Sequences_in_OEIS">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a>
%F a(0)=0, a(n) = a(n-1) + A173461(n), n>=1. - [_Lars Blomberg_, Apr 23 2013]
%e Array begins:
%e 0, 1, 9;
%e 21, 29, 81;
%e 93, 105, 189;
%e 225, 253, 441;
%e 453, 465, 549;
%e ...
%e If we label the generations of cells turned ON by consecutive numbers we get the cell pattern shown below:
%e 7..7.....7..7
%e .66.......66.
%e .65555555556.
%e 7.545545545.7
%e ..553353355..
%e ..553222355..
%e ..545212545..
%e ..553222355..
%e ..553353355..
%e 7.545545545.7
%e .65555555556.
%e .66.......66.
%e 7..7.....7..7
%Y Cf. A160117, A160118, A173456, A173461, A173462, A173463.
%K nonn
%O 0,3
%A _Omar E. Pol_, Feb 18 2010
%E a(18)-a(47) from _Lars Blomberg_, Apr 23 2013