Rule 60

Author

Eric W. Weisstein
August 31, 2016

This notebook downloaded from http://mathworld.wolfram.com/notebooks/CellularAutomata/Rule60.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/Rule60.html.

©2016 Wolfram Research, Inc. except for portions noted otherwise

Initialization

rule=60;

Plot

V5

ElementaryCADiagram[rule]

V6

ElementaryCADiagram[rule]

V11

RulePlot[CellularAutomaton[60]]

RulePlot[CellularAutomaton[60],{{1},0},15,Mesh->True,PlotLegends->"Icon"]

Variants

ElementaryCAVariants[rule]

Evolution

ArrayPlot[ElementaryCellularAutomaton[rule,250],Frame->False,PixelConstrained->True,ImageSize->1000]

Additive Animation

<<GIF`

Export[gifs<>"rule"<>ToString[rule]<>".gif",movie=Show/@With[{g=32},
Table[
RasterGraphics[
CellularAutomaton[rule,{
ReplacePart[
Table[0,{2g+1}],1,{{g+1},{s+g+1}}
],0},g,{All,{0,2g+1}}
],
Mesh->False
],
{s,-g,g}]
]]//Timing

Show[GraphicsArray[Partition[Take[movie,9],3]]]

Triangle of Values

ColumnForm[t=ElementaryCATriangle[rule,5],Center]

Flatten[t]

Represented in Decimal

FromDigits[#,2]&/@With[{n=20},MapIndexed[Take[#1,n+#2[[1]]{-1,1}+{2,0}]&,ElementaryCellularAutomaton[60,n]]]

FindSequenceFunction[%,n]

IntegerDigits[#,2]&/@%