Here is a math problem (just for fun) for the residents of MSE to enjoy:
Let $f(z)$ be defined as $$f(z)=\frac{z^2}{2z+101}$$ Find a 4-cycle of $f$ - that is, find four distinct complex numbers $z_1,z_2,z_3,z_4$ such that $$f(z_1)=z_2$$ $$f(z_2)=z_3$$ $$f(z_3)=z_4$$ $$f(z_4)=z_1$$
The answer (my answer, at least) is a bit messy, so watch out! After a correct answer is posted, I will post my solution method.
Enjoy!
Here's a fairly clean solution to find one of the cycles:
First simplify the algebra dramatically by substituting $y = -\frac{2i}{101} (z + \frac{101}{2})$, so we can solve for the fixed points of
instead (Without the factor of $-i$, you get a plus sign on the numerator - I worked it out with the $-i$, so sticking with that for now. This also gives you factors of $i$ right at the end, which are avoided this way.)
Now, we can compute $$\begin{align}h(y) := (g \circ g)(y) &= {\left({y^2-1\over2y}\right)^2 - 1\over2\left({y^2-1\over2y}\right)} \\ &=\frac{(y^2 - 1)^2 - 4y^2}{4(y^2-1) y} \\&=\frac{y^4 - 6y^2 + 1}{4y^3 - 4y} \end{align}$$
noting that this is an odd function. Observe if $h(y) = -y$, then we have a fixed point of $h \circ h$. But pleasantly, $h(y)$ is odd, so solutions to $h(y) = -y$ should come in $\pm$ pairs, and since we have polynomials this indicates that they should be easy to solve. $$\begin{align}h(y) &= -y \\ y^4 - 6y^2 + 1 &= -4y^4 + 4y^2 \\ 5y^4 - 10y^2 + 1 &= 0\end{align}$$ But the roots of this are easy to find: $5y^4 - 10y^2 + 1 = 5(y^4 - 2y^2) + 1=5(y^2-1)^2-4$, so $y = \pm \sqrt{1 \pm \frac{2}{\sqrt{5}}}$. Now this is certainly a period $2$ point of $h$ since it is non-zero, so gives a genuine period $4$ point of $g$!
Transform back to give
$$z = -\frac{101}{2} \pm \frac{101i}{2} \sqrt{1 \pm \frac{2}{\sqrt{5}}}$$
a 4-cycle.
Kudos to OP for posting this without the dynamical systems context - that certainly would've put me off this interesting problem!