I'm trying to implement a program to calculate the period of a Mandelbrot Set point.
I'm using the multipliers of periodic points as explained here:
https://rlbenedetto.people.amherst.edu/talks/mhc_ug14.pdf
I've already implemented a first version but it's not detecting well all periods inside the bulbs.
I'm using this formula:
where "phi prime" is 2*z and "phi N" the Nth iteration of the Mandelbrot formula z²+c.
UPDATE:
I want to calculate the cycle of a point. Basically I want to build this image.
I'm not a mathematician but what I understood from the λ function, "n" is the minimum period/cycle of the orbit for the complex point "a".
The way to get the minimum "n" is by using brute force iterating "n" from 1 to MAX_PERIOD you want to check.
There is another explanation here for this method to get the period.
LINKS:

As the comments already have stated, the value of $\lambda$ is not the period of the point $a$, but rather, it refers to a property of the dynamics of $a$; specifically, whether the $n$-cycle that $a$ belongs to is an attractive, repelling, or indifferent one. What we mean by these terms is this:
That said, all of this has nothing to do with the period of the cycle itself. A naive calculation of the period would be done by calculating a sufficiently large number of iterations $\{z_0, z_1, \ldots \}$ and then comparing $z_n$ against $z_{n-k}$ for $k \in \{1, 2, \ldots, m\}$ where $m$ is the largest period you want to detect. If you can find that $|z_n - z_{n-k}| < \epsilon$ for sufficiently large $n$, this suggests a cycle of length $k$ and you would confirm by looking at $$\{|z_n - z_{n-k}|\}_{n=n'}^{n'+k}$$ and seeing that these are all sufficiently small. There are more sophisticated approaches, but this is the elementary way.