The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A267623 Binary representation of the middle column of the "Rule 187" elementary cellular automaton starting with a single ON (black) cell. 4

%I #48 Jul 06 2023 13:25:14

%S 1,10,101,1011,10111,101111,1011111,10111111,101111111,1011111111,

%T 10111111111,101111111111,1011111111111,10111111111111,

%U 101111111111111,1011111111111111,10111111111111111,101111111111111111,1011111111111111111,10111111111111111111

%N Binary representation of the middle column of the "Rule 187" elementary cellular automaton starting with a single ON (black) cell.

%C Also, The binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood, initialized with a single black (ON) cell at stage zero. See A283508.

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

%H Robert Price, <a href="/A267623/b267623.txt">Table of n, a(n) for n = 0..1000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a>

%H S. Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>

%H <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>

%H <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>

%F Conjectures from _Colin Barker_, Jan 19 2016 and Apr 16 2019: (Start)

%F a(n) = 11*a(n-1)-10*a(n-2) for n>2.

%F G.f.: (1-x+x^2) / ((1-x)*(1-10*x)).

%F (End)

%F Empirical: a(n) = (91*10^n - 10) / 90 for n>0. - _Colin Barker_, Mar 10 2017

%F It also appears that a(n) = floor(91*10^n/90). - _Karl V. Keller, Jr._, May 28 2022

%p # Rule 187: value in generation r and column c, where c=0 is the central one

%p r187 := proc(r::integer,c::integer)

%p option remember;

%p local up ;

%p if r = 0 then

%p if c = 0 then

%p 1;

%p else

%p 0;

%p end if;

%p else

%p # previous 3 bits

%p [procname(r-1,c+1),procname(r-1,c),procname(r-1,c-1)] ;

%p up := op(3,%)+2*op(2,%)+4*op(1,%) ;

%p # rule 187 = 10111011_2: {6,2}->0, all others ->1

%p if up in {6,2} then

%p 0;

%p else

%p 1 ;

%p end if;

%p end if;

%p end proc:

%p A267623 := proc(n)

%p b := [seq(r187(r,0),r=0..n)] ;

%p add(op(-i,b)*2^(i-1),i=1..nops(b)) ;

%p A007088(%) ;

%p end proc:

%p smax := 30 ;

%p L := [seq(A267623(n),n=0..smax)] ; # _R. J. Mathar_, Apr 12 2019

%t rule=187; rows=20; ca=CellularAutomaton[rule,{{1},0},rows-1,{All,All}]; (* Start with single black cell *) catri=Table[Take[ca[[k]],{rows-k+1,rows+k-1}],{k,1,rows}]; (* Truncated list of each row *) mc=Table[catri[[k]][[k]],{k,1,rows}]; (* Keep only middle cell from each row *) Table[FromDigits[Take[mc,k]],{k,1,rows}] (* Binary Representation of Middle Column *)

%Y Cf. A267621, A283508, A083329.

%K nonn,easy

%O 0,2

%A _Robert Price_, Jan 18 2016

%E Removed an unjustified claim that _Colin Barker_'s conjectures are correct. Removed a program based on a conjecture. - _N. J. A. Sloane_, Jun 13 2022

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 23:24 EDT 2024. Contains 373135 sequences. (Running on oeis4.)