Given a vector
of rational numbers, we define the following transformation :
We repeat the process:
And so on ...
Consider now the vector
If
, find the first index
for which the denominator of
is greater than
.
Answer format: index,denominator
[My timing: < 1 sec]