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.
%I A071037 #31 Feb 16 2025 08:32:46 %S A071037 1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,0,0, %T A071037 1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,1,1,0, %U A071037 1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1 %N A071037 Triangle read by rows giving successive states of cellular automaton generated by "Rule 158". %C A071037 Row n has length 2n+1. %H A071037 Robert Price, <a href="/A071037/b071037.txt">Table of n, a(n) for n = 0..9999</a> %H A071037 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Rule158.html">Rule 158</a> %H A071037 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a> %H A071037 Stephen Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>, Wolfram Media, 2002; Chapter 3. %H A071037 <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a> %H A071037 <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a> %e A071037 1; %e A071037 1, 1, 1; %e A071037 1, 1, 1, 0, 1; %e A071037 1, 1, 1, 0, 0, 1, 1; %e A071037 1, 1, 1, 0, 1, 1, 1, 0, 1; %e A071037 ... %t A071037 A071037list[rowmax_]:=MapIndexed[ArrayPad[#1, #2-rowmax-1]&,CellularAutomaton[158,{{1},0},rowmax]];A071037list[10] (* Generates 11 rows *) (* _Paolo Xausa_, Jul 27 2023 *) %Y A071037 Cf. A118171 (rows decimal), A265379 (rows binary), A265381 (central column decimal), A265380 (central column binary). %K A071037 nonn,tabf %O A071037 0,1 %A A071037 _Hans Havermann_, May 26 2002 %E A071037 Corrected by _Hans Havermann_, Jan 07 2012