continued fraction theorems