apply continued fraction theorems to sqrt(7)