n=a+1/(b+1/(c+1/n))