Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question
1

Symbolic expression of the quotient of a continued fraction

asked 3 years ago

oldani gravatar image

Hi,

Is it possible to get the symbolic expression of the numerator and denominator pn(a0,...,an and qn(a0,...,an) of the partial quotients of a continued fraction?

Thanks GO

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

Max Alekseyev gravatar image

updated 3 years ago

Such expressions are given by continuants - namely, pn(a0,,an)=Kn+1(a0,,an) and qn(a0,,an)=Kn(a1,,an) . Sage provides function continuantfor computing them - see https://doc.sagemath.org/html/en/refe...

Here is an example for n=5:

R.<a> = InfinitePolynomialRing(QQ)
print('p=', continuant( [a[i] for i in (0..5)]) )
print('q=', continuant( [a[i] for i in (1..5)]) )
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 3 years ago

Seen: 207 times

Last updated: Aug 23 '21