OFFSET
0,2
LINKS
Robert Price, Table of n, a(n) for n = 0..999
Eric Weisstein's World of Mathematics, Rule 54
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
Stephen Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
FORMULA
Conjectures from Colin Barker, Dec 08 2015 and Apr 17 2019: (Start)
a(n) = 11*a(n-1) - 11*a(n-2) + 11*a(n-3) - 10*a(n-4) for n>3.
G.f.: 1 / ((1-x)*(1-10*x)*(1+x^2)).
(End)
EXAMPLE
From Michael De Vlieger, Dec 09 2015: (Start)
First 8 rows at left, ignoring "0" outside of range of 1's, the center column values in parentheses, and at right the value of center column cells up to that row:
(1) -> 1
1 (1) 1 -> 11
1 0 (0) 0 1 -> 110
1 1 1 (0) 1 1 1 -> 1100
1 0 0 0 (1) 0 0 0 1 -> 11001
1 1 1 0 1 (1) 1 0 1 1 1 -> 110011
1 0 0 0 1 0 (0) 0 1 0 0 0 1 -> 1100110
1 1 1 0 1 1 1 (0) 1 1 1 0 1 1 1 -> 11001100
1 0 0 0 1 0 0 0 (1) 0 0 0 1 0 0 0 1 -> 110011001
(End)
MATHEMATICA
lim = 20; Take[Last@ Take[#, Ceiling[Length[#]/2]] & /@ CellularAutomaton[54, {{1}, 0}, lim], #] & /@ Range@ lim (* Michael De Vlieger, Dec 09 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 05 2015
STATUS
approved
