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 ...