Rule 90

Author

Eric W. Weisstein
August 31, 2016

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

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

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

Initialization

rule=90;

Binary

StringJoin@@(ToString/@IntegerDigits[rule,2,8])

Plot

V5

ElementaryCADiagram[rule]

V6

ElementaryCADiagram[rule]

V11

RulePlot[CellularAutomaton[90]]

RulePlot[CellularAutomaton[90],{{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,7],Center]

FromDigits/@t

Flatten[t]

Represented in Decimal

ElementaryCATriangle[rule,20]

FromDigits[#,2]&/@%

FindSequenceFunction[%,n]