Project Euler Problem 057 - San_SS!
In order to achieve the solution for this problem we will use one of Python's features: the yield instruction.
The yield instruction is used to implement generating functions. When a yield statement is executed, the state of the function is saved and the value is returned to the next's caller. On the following next call the function continues its execution from the last yield where its flow was stopped.
So I implemented a generator function that for each next that is sent to it, it returns the next fraction in the sequence.