2015-04-25
This exercise describes a transformation \(T_{pq}\), that, when applied to a pair \(\left( a, b \right)\), transforms it according to \(a \gets aq + bq + ap\) and \(b \gets bp + aq\). The transformation used to generate Fibonacci numbers, starting from the pair \(\left( 0, 1 \right)\), can be written as \(a \gets a + b\) and \(b \gets a\).
Note that the Fibonacci transformation is \(T_{01}\) (\(p=0\) and \(q=1\)).
The exercise asks us to show that applying any transformation \(T_{pq}\) twice (or \(T^2_{pq}\)) to a pair \(\left( a, b \right)\) is equivalent to applying the transformation \(T_{p'q'}\) for some \(p'\) and \(q'\), and to find \(p'\) and \(q'\) in terms of \(p\) and \(q\).
Let’s apply the transformation once to get
Now comparing the final expressions for \(a''\) and \(b''\) with the original transformations, we note that transforming \(\left( a,b \right)\) by \(T^2_{pq}\) is equivalent to the single transformation \(T_{p'q'}\), where \(p' = p^2 + q^2\) and \(q' = q^2 + 2pq\).