Ta có \(\frac{386579}{512}=\frac{2003}{\frac{512}{193}}=\frac{2003}{2+\frac{3}{4+\frac{5}{a+\frac{2}{b}}}}\)
\(\Rightarrow2+\frac{3}{4+\frac{5}{a+\frac{2}{b}}}=\frac{512}{193}\)
\(\Rightarrow\frac{3}{4+\frac{5}{a+\frac{2}{b}}}=\frac{126}{193}=\frac{3}{\frac{193}{42}}\)
\(\Rightarrow4+\frac{5}{a+\frac{2}{b}}=\frac{193}{42}\)
\(\Rightarrow\frac{5}{a+\frac{2}{b}}=\frac{25}{42}=\frac{5}{\frac{42}{5}}\)
\(\Rightarrow a+\frac{2}{b}=\frac{42}{5}=\frac{2}{5}+\frac{40}{5}=8+\frac{2}{5}\)
Do hai biểu thức bằng nhau nên đồng nhất hệ số
\(\Rightarrow\hept{\begin{cases}a=8\\b=5\end{cases}}\)