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

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

%S 3,9,11,29,16,36,11,97,7,69,7137,15,81,39237,-25133,-17281,-17,

%电话145,35377,-97277,-41309103,73159465,-109269,-57537,-41249,

%U 19721,-249501,-49509119,33411621,-293537,-177877,-57161339

%N基于5细胞von Neumann邻域,“规则521”定义的二维细胞自动机第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/1503.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代码=521;阶段=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参考A272734。

%K符号,简单

%0、1

%2016年5月5日A报价