Continued fractions formula

42 Views Asked by At

How would I find the continued fraction of and number $a/b$? For example, $5/8$ = $1/(1+3/5)$ I tried using its decimal expansion but couldn’t find anything, and I want to be able to describe the golden ratio as a fraction.