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.

A151921 Net gain in number of ON cells at stage n of the cellular automaton described in A079317.

Original entry on oeis.org

0, 1, 4, 0, 12, -8, 20, -8, 44, -40, 52, -40, 76, -64, 100, -64, 172, -168, 180, -168, 204, -192, 228, -192, 300, -288, 324, -288, 396, -360, 468, -360, 684, -680, 692, -680, 716, -704, 740, -704, 812, -800, 836, -800, 908, -872, 980, -872, 1196
Offset: 0

Views

Author

N. J. A. Sloane, Aug 05 2009, Aug 06 2009

Keywords

Comments

Start with cell (0,0) ON; at each succeeding stage the cells that share exactly one edge with an active cell change their state.

Crossrefs

Formula

If n is even, a(n) = A079315(n) = A151914(n/2); if n is odd, a(n) = A147582((n+1)/2) - A151914((n-1)/2).
First differences of A079317.