OFFSET
0,3
COMMENTS
a(2^n) is 1, 5, 5, 5, 5, ...
a(2^n+1) is 5, 1, 17, 17, 17, ...
a(2*(2^n+1)) is 5, 85, 85, 85, ...
a(2^n)*a(2^n+1) is 5, 5, 85, 85, 85, ...
Also, decimal representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 4", based on the 5-celled von Neumann neighborhood. Initialized with a single black (ON) cell at stage zero. - Robert Price, Nov 03 2016
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.
LINKS
Stefano Spezia, Table of n, a(n) for n = 0..1500
Robert Price, Diagrams of first 20 stages of the cellular automaton
N. J. A. Sloane, On the Number of ON Cells in Cellular Automata, arXiv:1503.01168 [math.CO], 2015
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
S. Wolfram, A New Kind of Science
FORMULA
a(n) = Sum_{k=0..n} (binomial(2*n+2, k) mod 2)*2^k.
a(n) = Sum_{k=0..n} A128937(n, k)*2^(n-k). - Philippe Deléham, Oct 09 2007
MATHEMATICA
a[n_]:= Sum[Mod[Binomial[2*n+2, k], 2]*2^k, {k, 0, n}]; Array[a, 43, 0] (* Stefano Spezia, Aug 04 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Dec 11 2004
STATUS
approved
