editing
approved
editing
approved
A. J. Macfarlane, <a href="http://www.damtp.cam.ac.uk/user/ajm/Papers2016/GFsForCAsOfEvenRuleNo.ps">Generating functions for integer sequences defined by the evolution of cellular automata with even rule numbers</a>, 2016.
approved
editing
editing
approved
ArrayPlot[CellularAutomaton[158, {{1}, 0}, 20]] (* N. J. A. Sloane, Aug 11 2014 *)
approved
editing
editing
approved
N. J. A. Sloane, <a href="/A071054/a071054.png">TITLE FOR LINK</a>
approved
editing
editing
approved
Number of 1's in n-th row of triangle in A071037.
a(2n)=3n+1, a(2n+1)=2n+2.
Number of ON cells at n-th generation of 1-D CA defined by Rule 158, starting with a single ON cell at generation 0. Equivalently, number of 1's in n-th row of triangle in A071037. - N. J. A. Sloane, Aug 10 2014
Simpler definition from N. J. A. Sloane, Aug 11 2014
approved
editing
editing
approved
a(n) = (5/4)*n + 3/2 + (n/4 - 1/2)*(-1)^n. - Robert Israel, Aug 11 2014
approved
editing