Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert an explicit list of rules specifying a cellular automaton into the corresponding rule number
ResourceFunction["CellularAutomatonNumber"][rules] converts a cellular automaton specified by rules into an equivalent rule number. |
Generate the elementary rule number for a cellular automaton from a List of rules:
| In[1]:= | ![]() |
| Out[1]= |
Show that the two specifications are equivalent:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
Generate rule numbers for cellular automata with different colors and ranges:
| In[3]:= | ![]() |
| Out[3]= |
| In[4]:= | ![]() |
| Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License