This site is supported by donations to The OEIS Foundation.
Continued fractions
From OeisWiki
This article needs more work.
Please help by expanding it!
The unqualified term continued fraction implies simple continued fraction (also called regular continued fraction).
Contents |
Simple continued fractions
Finite simple continued fractions
A finite simple continued fraction is an expression of the form
where is the integer part of the continued fraction, the partial quotients are positive integers, and is a nonnegative integer. (See Gauss' Kettenbruch notation for the continued fraction operator )
Finite simple continued fractions obviously represent rational numbers, and every rational number can be represented in precisely one way as a finite simple continued fraction.
Infinite simple continued fractions
A infinite simple continued fraction is an expression of the form
where is the integer part of the continued fraction and the partial quotients are positive integers. (See Gauss' Kettenbruch notation for the continued fraction operator )
A compact representation is
A compact notation is
A sequence representation is
Every infinite simple continued fraction represent an irrational number, and every irrational number can be represented in precisely one way as an infinite simple continued fraction.
Eventually periodic infinite simple continued fractions
Every eventually periodic infinite simple continued fraction represent an irrational quadratic number (root of an irreducible quadratic polynomial with integer coefficients), and every irrational quadratic number can be represented in precisely one way as an eventually periodic infinite simple continued fraction, i.e.
and, for some integer and some integer , we have for all .
All non-quadratic irrational numbers have non-periodic infinite simple continued fractions.
Simple continued fractions convergents
An infinite simple continued fraction representation for an irrational number is mainly useful because its initial segments provide excellent rational approximations to the number. These rational numbers are called the convergents of the continued fraction. Even-numbered convergents are smaller than the original number, while odd-numbered ones are bigger.
The first few convergents (numbered from 0) are
or equivalently
with
- i.e.
- i.e.
giving
with
- i.e.
- i.e.
where
These recurrence relations (a special case of generalized continued fractions convergents) are due to John Wallis.
Continued fraction | Closed form | Decimal expansion | A-number |
---|---|---|---|
| 1.618033988749894848204586834... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 0.5819767068693264243850020051... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 1.54149408253679828413110344447... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 0.46211715726000975850231848364... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 0.697774657964007982006790592... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 1.433127426722311758317183455... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 2.3130367364335829063839516... |
CF: Conv. nums: Conv. dens: Base 10: |
Generalized continued fractions
Generalized continued fractions are also called general continued fractions.
Finite generalized continued fractions
A finite generalized continued fraction is an expression of the form
where is the integer part of the continued fraction, the are the partial numerators, the are the partial denominators, and is a nonnegative integer. (See Gauss' Kettenbruch notation for the continued fraction operator )
Finite generalized continued fractions obviously represent rational numbers, although rational numbers can be represented in many (finitely many?) ways as a finite generalized continued fraction.
Infinite generalized continued fractions
A infinite generalized continued fraction is an expression of the form
where is the integer part of the continued fraction, the are the partial numerators, the are the partial denominators. (See Gauss' Kettenbruch notation for the continued fraction operator )
A compact representation is
A compact notation could be
A sequence representation could be
Every infinite generalized continued fraction represent an irrational number, although irrational numbers can be represented in many (infinitely many?) ways as an infinite generalized continued fraction.
??? Eventually periodic infinite generalized continued fractions ???
The numbers having at least one eventually periodic infinite generalized continued fraction representation are... ?????
where
and, for some integer and some integer , we have for all .
The numbers with only non-periodic infinite generalized continued fraction representations are ?????. (Are there such numbers...?)
Generalized continued fractions convergents
The first few convergents (numbered from 0) are
or equivalently
with
- i.e.
- i.e.
giving
with
- i.e.
- i.e.
where
These recurrence relations are due to John Wallis.
Continued fraction | Closed form | Decimal expansion | A-number |
---|---|---|---|
| 1.525135276160981209089090536... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 0.5819767068693264243850020051... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 1.54149408253679828413110344447... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 1.27323954473516268615107010698... |
CF: Conv. nums: Conv. dens: Base 10: | |
| 2.5360270816893383923069490821... |
CF: Conv. nums: Conv. dens: Base 10: |
Gauss' Kettenbruch notation
Karl Friedrich Gauss evoked the more familiar product operator when he devised his notation for the continued fraction (Kettenbruch in german) operator
Here the stands for Kettenbruch, the German word for "continued fraction." This is probably the most compact and convenient way to express continued fractions; however, it is not widely used by English typesetters.
See also
- Continued fractions (nested fractions)
- Continued radicals (nested radicals)
- Table of convergents constants
External links
- Marek Wolf, Continued fractions constructed from prime numbers, 2010.
- A Continued Fraction Calculator version 4Oct10, © 2003-2010 Dr Ron Knott, updated: 4 October 2010.