WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Repeated Addition and Doubling

function
repeated addition
repeated doubling
width
19
steps
40
repeated doubling
This Demonstration shows some simple examples of systems with simple rules of a limited size. These systems are displayed in order to illustrate that any system of a limited size that involves discrete elements and follows definite rules must exhibit periodicity.
The first example is repeated addition. A dot moves to the right the number of spaces indicated by the value of "move" and this repeats for a given number of steps. The dot wraps around to the right-hand side after reaching the specified width.
The second example is repeated doubling. The position of the dot doubles on each step for a given number of steps, again wrapping around the right-hand side after reaching the specified width. (The first position is 0, so the dots for 1, 2, 4, 8, start at the second position, which is 1.)
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.