%% 
%%  An UIT Edition example
%% 
%%  Example 06-07-4 on page 101.
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\AtBeginDocument{\setlength\parindent{0pt}}
\setcounter{equation}{49}
\renewcommand\theequation{6.\arabic{equation}}
\StartShownPreambleCommands
\usepackage{amsmath}
\StopShownPreambleCommands
\begin{document}
\begin{gather}
\cfrac[l]{1}{\sqrt{2}+\cfrac[l]{1}{\sqrt{3}+\cfrac[l]{1}{\sqrt{4}+
  \cfrac[l]{1}{\ldots}}}} \qquad \cfrac[r]{1}{\sqrt{2}+\cfrac[r]{1}{\sqrt{3}+
  \cfrac[r]{1}{\sqrt{4}+\cfrac[r]{1}{\ldots}}}}
\end{gather}
\end{document}