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.

A118111 Binary representation of n-th iteration of the Rule 190 elementary cellular automaton starting with a single black cell.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1
Offset: 0

Views

Author

Eric W. Weisstein, Apr 13 2006

Keywords

Comments

Row n has length 2*n+1. - Hans Havermann, May 26 2002

Examples

			From _Michael De Vlieger_, Aug 21 2020: (Start)
Irregular array begins:
0:                             1
1:                          1  1  1
2:                       1  1  1  0  1
3:                    1  1  1  0  1  1  1
4:                 1  1  1  0  1  1  1  0  1
5:              1  1  1  0  1  1  1  0  1  1  1
6:           1  1  1  0  1  1  1  0  1  1  1  0  1
7:        1  1  1  0  1  1  1  0  1  1  1  0  1  1  1
8:     1  1  1  0  1  1  1  0  1  1  1  0  1  1  1  0  1
9:  1  1  1  0  1  1  1  0  1  1  1  0  1  1  1  0  1  1  1
... (End)
		

Crossrefs

Cf. A265688 (binary rows), A037576 (decimal rows), A032766 (num 1's).

Programs

  • Mathematica
    With[{nn = 9}, MapIndexed[#1[[#2 + 1 ;; 2 nn - #2 + 1]] & @@ {#1, nn - First[#2] + 1} &, CellularAutomaton[190, {{1}, 0}, nn]]] // Flatten (* Michael De Vlieger, Aug 21 2020 *)