Ulam–Warburton automaton
The Ulam–Warburton cellular automaton is a 2-dimensional fractal pattern that grows on a regular grid of cells consisting of squares. Starting with one square initially ON and all others OFF, successive iterations are generated by turning ON all squares that share precisely one edge with an ON square. This is the von Neumann neighborhood. The automaton is named after the Polish-American mathematician and scientist Stanislaw Ulam and the Scottish engineer, inventor and amateur mathematician Mike Warburton.
Properties and relations
The UWCA is a 2D 5-neighbor outer totalistic cellular automaton using rule 686.The number of cells turned ON in each iteration is denoted with an explicit formula:
and for
where is the Hamming weight function which counts the number of 1's in the binary expansion of
The minimum upper bound of summation for is such that
The total number of cells turned ON is denoted
Table of ''wt(n)'', ''u(n)'' and ''U(n)''
The table shows that different inputs to can lead to the same output.This surjective property emerges from the simple rule of growth – a new cell is born if it shares only one-edge with an existing ON cell - the process appears disorderly and is modeled by functions involving but within the chaos there is regularity.
| 0 | 0 | 0 | 0 | 10 | 2 | 12 | 101 |
| 1 | 1 | 1 | 1 | 11 | 3 | 12 | 113 |
| 2 | 1 | 4 | 5 | 12 | 2 | 36 | 149 |
| 3 | 2 | 4 | 9 | 13 | 3 | 12 | 161 |
| 4 | 1 | 12 | 21 | 14 | 3 | 36 | 197 |
| 5 | 2 | 4 | 25 | 15 | 4 | 36 | 233 |
| 6 | 2 | 12 | 37 | 16 | 1 | 108 | 341 |
| 7 | 3 | 12 | 49 | 17 | 2 | 4 | 345 |
| 8 | 1 | 36 | 85 | 18 | 2 | 12 | 357 |
| 9 | 2 | 4 | 89 | 19 | 3 | 12 | 369 |
is OEIS sequence and is OEIS sequence
Counting cells with quadratics
For all integer sequences of the form where andLet
Then the total number of ON cells in the integer sequence is given by
Or in terms of we have
Table of integer sequences ''nm'' and ''Um''
| 0 | 1 | 1 | 3 | 9 | 5 | 25 | 7 | 49 |
| 1 | 2 | 5 | 6 | 37 | 10 | 101 | 14 | 197 |
| 2 | 4 | 21 | 12 | 149 | 20 | 405 | 28 | 789 |
| 3 | 8 | 85 | 24 | 597 | 40 | 1,621 | 56 | 3,157 |
| 4 | 16 | 341 | 48 | 2,389 | 80 | 6,485 | 112 | 12,629 |
| 5 | 32 | 1,365 | 96 | 9,557 | 160 | 25,941 | 224 | 50,517 |
Upper and lower bounds
has fractal-like behavior with a sharp upper bound for given byThe upper bound only contacts at 'high-water' points when.
These are also the generations at which the UWCA based on squares, the Hex–UWCA based on hexagons and the Sierpinski triangle return to their base shape.
Limit superior and limit inferior
We haveThe lower limit was obtained by Robert Price and took several weeks to compute and is believed to be twice the lower limit of where is the total number of toothpicks in the toothpick sequence up to generation
Relationship to
Hexagonal UWCA
The Hexagonal-Ulam–Warburton cellular automaton is a 2-dimensional fractal pattern that grows on a regular grid of cells consisting of hexagons. The same growth rule for the UWCA applies and the pattern returns to a hexagon in generations, when the first hexagon is considered as generation.The UWCA has two reflection lines that pass through the corners of the initial cell dividing the square into four quadrants, similarly the Hex-UWCA has three reflection lines dividing the hexagon into six sections and the growth rule follows the symmetries. Cells whose centers lie on a line of reflection symmetry are never born.
The Hex-UWCA pattern can be explored .
Sierpinski triangle
The Sierpinski triangle appears in 13th century Italian floor mosaics. Wacław Sierpiński described the triangle in 1915.If we consider the growth of the triangle, with each row corresponding to a generation and the top row generation is a single triangle, then like the UWCA and the Hex-UWCA it returns to its starting shape, in generations
Toothpick sequence
The toothpick pattern is constructed by placing a single toothpick of unit length on a square grid, aligned with the vertical axis. At each subsequent stage, for every exposed toothpick end, place a perpendicular toothpick centred at that end. The resulting structure has a fractal-like appearance.The toothpick and UWCA structures are examples of cellular automata defined on a graph and when considered as a subgraph of the infinite square grid the structure is a tree.
The toothpick sequence returns to its base rotated ‘H’ shape in generations where
The toothpick sequence and various toothpick-like sequences can be explored .