\[q=\cfrac{a\gamma P_{1}}{Q_{1}+q-\cfrac{R_{1}P_{2}}{Q_{2}+q-\cfrac{R_{2}P_{3}}{%
Q_{3}+q-\cdots}}},\]