OFFSET
1,2
COMMENTS
a(n)/n appears to converge to Pi/sqrt(3).
a(n) counts the escape time of points outside the Mandelbrot set that converge to the Mandelbrot set's 1/3 period bulb.
LINKS
Luke Bennet, Table of n, a(n) for n = 1..10001
Thies Brockmöller, Oscar Scherz, and Nedim Srkalović, Pi in the Mandelbrot set everywhere, arXiv preprint arXiv:2505.07138 [math.DS], 2025.
Aaron Klebanoff, Pi in the Mandelbrot Set, Fractals 9 (2001), nr. 4, p. 393-402.
PROG
(Python)
import mpmath
from mpmath import iv
def a(n):
dps = 1
while True:
mpmath.iv.dps = dps
real_part = iv.mpf(1) / n - iv.mpf('0.125')
imag_part = iv.mpf(2) / (n ** 2) + 3 * iv.sqrt(3) / 8
c = iv.mpc(real_part, imag_part)
z = iv.mpc(0, 0)
counter = 0
while (z.real**2 + z.imag**2).b <= 4:
z = z ** 2 + c
counter += 1
if (z.real**2 + z.imag**2).a > 4:
return counter
dps *= 2
CROSSREFS
KEYWORD
nonn
AUTHOR
Luke Bennet, May 08 2025
STATUS
approved
