This is too wordy. Just write out a mathematical expression for a typical continued fraction.