cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A071029 Triangle read by rows giving successive states of cellular automaton generated by "Rule 22".

This page as a plain text file.
%I A071029 #27 Jan 30 2016 14:39:21
%S A071029 1,1,1,1,1,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,
%T A071029 1,1,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,
%U A071029 0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
%N A071029 Triangle read by rows giving successive states of cellular automaton generated by "Rule 22".
%C A071029 Row n has length 2n+1.
%D A071029 S. Wolfram, A New Kind of Science, Wolfram Media, 2002; Chapter 3.
%H A071029 Michael De Vlieger, <a href="/A071029/b071029.txt">Table of n, a(n) for n = 0..10000</a>
%H A071029 Michael De Vlieger, <a href="/A071029/a071029.png">Illustration of first 256 generations</a>
%H A071029 S. Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>
%H A071029 <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>
%H A071029 <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>
%e A071029 From _Michael De Vlieger_, Oct 05 2015: (Start)
%e A071029 First 8 rows, replacing "0" with "." for better visibility of ON cells:
%e A071029                 1
%e A071029               1 1 1
%e A071029             1 . . . 1
%e A071029           1 1 1 . 1 1 1
%e A071029         1 . . . . . . . 1
%e A071029       1 1 1 . . . . . 1 1 1
%e A071029     1 . . . 1 . . . 1 . . . 1
%e A071029   1 1 1 . 1 1 1 . 1 1 1 . 1 1 1
%e A071029 1 . . . . . . . . . . . . . . . 1
%e A071029 (End)
%t A071029 clip[lst_] := Block[{p = Flatten@ Position[lst, 1]}, Take[lst, {Min@ p, Max@ p}]]; clip /@ CellularAutomaton[22, {{1}, 0}, 9] // Flatten (* _Michael De Vlieger_, Oct 05 2015 *)
%Y A071029 For number of ON cells see A071044.
%K A071029 nonn,tabf
%O A071029 0,1
%A A071029 _Hans Havermann_, May 26 2002
%E A071029 Corrected by _Hans Havermann_, Jan 07 2012