What pair of rectangle shapes is exchanged by cutting off a square?
According to https://oeis.org/A059966 the golden rectangle has period one when cutting off a square. What pair of rectangle (shapes) have period two?
Let's define a rectangle shape to be a rectangle normalised by scaling its smallest side to length one.
my attempt so far
we have sides $1,b$ then remove $1,1$ square to get $1,b-1$ then we scale by the smallest side to get $1,1/(b-1)$ then we remove the square $1,1$ again to get $1,(b-1)^{-1}-1$ and scale again to get $1,((b-1)^{-1}-1)^{-1}$ and this is our original rectangle so we have:
$b=((b-1)^{-1}-1)^{-1}$
So the solution to this is the first of our rectangle shapes. Am I on the right track?
Since "cutting off a square" is scale-invariant, we can postpone the scaling operation to the end.
Start with: $(b,1)$ where $b > 1$
The next rectangle is $(b - 1, 1)$
The next rectangle is either:
$(b-2,1)$ if $ (b-1) > 1$ or
$(b-1, 2-b)$, if $ (b-1) \leq 1$
Assume $(b-2,1)$ is the last rectangle, with $b-2 > 1$. Then we solve $\frac{b-2}{1} = b$, with no solutions. Assume $b-2 < 1$. Then we solve $\frac{1}{b-2} = b$ giving $b\in\{1\pm \sqrt{2} \}$, with valid solution $b = 1 + \sqrt{2}$ .
Assume $(b-1,2-b)$ is the last rectangle, with $(b-1) > (2-b)$ . We solve $\frac{b-1}{2-b} = b$ giving $b= \frac{1+\sqrt{5}}{2}$ as the only valid solution (matching $b\geq 1$). This is the ordinary golden rectangle. If instead we set $(2-b) > (b-1)$, solving $\frac{2-b}{b-1} = b$ gives $b = \sqrt{2}$.
The "cutting off a square" can be defined as an operation on the ratio of a rectangle, given by:
$$o(r) = \max(r-1, \frac{1}{r-1})$$
The solutions for $o^{2}(r) = r$ with $r\geq 1$ are: $$r\in\{\frac{1+\sqrt{5}}{2}, \sqrt{2}+1, \sqrt{2}\}$$
with the "cycles" going as: $$(\frac{1+\sqrt{5}}{2})\rightarrow (\frac{1+\sqrt{5}}{2}) \rightarrow (\frac{1+\sqrt{5}}{2}) $$
$$(\sqrt{2}+1) \rightarrow (\sqrt{2}) \rightarrow (\sqrt{2}+1) $$ $$(\sqrt{2}) \rightarrow (\sqrt{2}+1) \rightarrow (\sqrt{2}) $$