登录
基于5细胞von Neumann邻域,“规则918”定义的二维细胞自动机第n个生长阶段中活动(ON,黑色)细胞数的第一个差异。
1

%I#16 2024年7月26日21:16:43

%S 4,4,16,4,24,0,44,4,32,24,68,-12,56,0136,-12,36,68120,-48,76,40188,

%电话:-44,68,44232,-44,64,56252,-40116,84120,56240,-60248,60,36104,

%U 220,40256、-48256,76240、68204124108164248、32168、64360

%N基于5细胞von Neumann邻域,“规则918”定义的二维细胞自动机第N个生长阶段中活动(ON,黑色)细胞数的第一个差异。

%C在零级用单个黑色(ON)单元初始化。

%D S.Wolfram,《一种新的科学》,Wolfram Media,2002年;第170页。

%H Robert Price,n的表,n=0..127的a(n)</a>

%H N.J.A.斯隆,<A href=“网址:http://arxiv.org/abs/11503.01168“>关于元胞自动机中On细胞的数量,arXiv:1503.01168[math.CO],2015

%H Eric Weisstein的数学世界,<a href=“http://mathworld.wolfram.com/ElementaryCellularAutomaton.html“>基本元胞自动机</a>

%H S.Wolfram,<a href=“http://wolframscience.com/“>一种新的科学</a>

%H<a href=“/index/Ce#cell”>与细胞自动机相关的序列的索引条目</a>

%H<a href=“https://oeis.org/wiki/Index_to_2D_5-Neighbor_Cellular_Automata网站“>二维五邻域元胞自动机索引</a>

%H<a href=“https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata网站“>基本元胞自动机索引</a>

%t CAStep[rule_,a_]:=映射[rule[[10-#]]&,ListConvolve[{{0,2,0},{2,1,2},},a,2],{2}];

%t代码=918;阶段=128;

%t规则=整数位数[代码,2,10];

%t g=2*阶段+1;(*网格最大尺寸*)

%t a=PadLeft[{{1}},{g,g},0,Floor[{g,g}/2]];(*电网上的初始ON电池*)

%t ca=a;

%t ca=表[ca=CAStep[rule,ca],{n,1,stages+1}];

%t PrependTo[ca,a];

%t(*修剪整个网格以反映每个阶段一个单元格的增长*)

%t k=(长度[ca[[1]]]+1)/2;

%t ca=表[表[部分[ca[[n]][[j]],范围[k+1-n,k-1+n]],{j,k+1-n,k-1+n}],{n,1,k}];

%t on=映射[Function[Apply[Plus,Flatten[#1]]],ca](*在每个阶段计数on单元格*)

%t表[on[i+1]-on[i]],{i,1,长度[on]-1}](*每个阶段的差异*)

%Y参考A273746。

%K符号,简单

%0、1

%2016年5月30日A _罗贝尔价格