5+0.25i$ in the Mandelbrot sequence is escaping, attracted, or periodic, we need to iterate the following equation:
$$z_{n+1} = z_n^2 + c$$
where $z_0 = 0$. We will continue iterating until either $|z_n|$ exceeds a certain threshold (indicating escape), $|z_n|$
Show more…