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.

A265223 Total number of OFF (white) cells after n iterations of the "Rule 150" elementary cellular automaton starting with a single ON (black) cell.

Original entry on oeis.org

0, 0, 2, 4, 10, 12, 20, 24, 38, 48, 60, 68, 88, 100, 118, 128, 158, 184, 212, 236, 268, 284, 314, 328, 372, 408, 446, 476, 522, 548, 588, 608, 670, 728, 788, 844, 908, 956, 1018, 1064, 1136, 1192, 1250, 1292, 1366, 1412, 1472, 1504, 1596, 1680, 1766, 1844
Offset: 0

Views

Author

Robert Price, Dec 07 2015

Keywords

Examples

			From _Michael De Vlieger_, Dec 09 2015: (Start)
First 12 rows, replacing "1" with ".", ignoring "0" outside of range of 1's for better visibility of OFF cells, followed by total number of OFF cells per row and running total up to that row:
                        .                          =  0 ->   0
                      . . .                        =  0 ->   0
                    . 0 . 0 .                      =  2 ->   2
                  . . 0 . 0 . .                    =  2 ->   4
                . 0 0 0 . 0 0 0 .                  =  6 ->  10
              . . . 0 . . . 0 . . .                =  2 ->  12
            . 0 . 0 0 0 . 0 0 0 . 0 .              =  8 ->  20
          . . 0 . . 0 . . . 0 . . 0 . .            =  4 ->  24
        . 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 .          = 14 ->  38
      . . . 0 0 0 0 0 . . . 0 0 0 0 0 . . .        = 10 ->  48
    . 0 . 0 . 0 0 0 . 0 . 0 . 0 0 0 . 0 . 0 .      = 12 ->  60
  . . 0 . 0 . . 0 . . 0 . 0 . . 0 . . 0 . 0 . .    =  8 ->  68
. 0 0 0 . 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 . 0 0 0 .  = 20 ->  88
(End)
		

References

  • S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.

Crossrefs

Cf. A071036.

Programs

  • Mathematica
    lim = 51; a = {}; Do[AppendTo[a, Take[#, 2 (k - 1) + 1] &@ Take[#[[k]], -(lim + k)]], {k, Length@ #}] &@ CellularAutomaton[150, {{1}, 0}, lim]; Accumulate[Count[#, n_ /; n == 0] & /@ a] (* Michael De Vlieger, Dec 09 2015 *)