Start with
�
0
=
0
z
0
=0 and a given
�
c.
Iterate the equation
�
�
+
1
=
�
�
2
+
�
z
n+1
=z
n
2
+c.
Check the magnitude of
�
z: If
∣
�
�
∣
∣z
n
∣ (the modulus of
�
z) exceeds 2,
�
c is not in the Mandelbrot set.
If
∣
�
�
∣
∣z
n
∣ does not exceed 2 after a predefined number ...
epic design