Continued fraction expansion of a real number
Definition
Let be a real number. Put and . For , if , put and . If , the process stops. The continued fraction expansion of is the simple continued fraction , finite or infinite.
Remarks
Here is the largest integer that is at most . Since , each with is a positive integer. For example, , and . The process stops if and only if is rational, by the termination theorem. For a rational , the steps are the steps of the Euclidean algorithm on its numerator and denominator.
Explanations
L1 human
Take the integer part of , then flip the remaining fractional part, and repeat. The integer parts that you collect are the terms of the continued fraction of .
What this node needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 3 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Continued fraction definition
- Simple continued fraction definition
- Continued fraction expansion of a real number definition
What depends on this
3 nodes use this node, directly or through other nodes.
- Convergents converge to the number 0E70M92FE3
- Legendre's theorem on continued fractions 0JXTQ392ZM
- The continued fraction of a rational number terminates 0PMY0YQYXX
Sources
- Web https://en.wikipedia.org/wiki/Simple_continued_fraction, Calculating continued fraction representations
What links here
Used by
- Convergents converge to the number 0E70M92FE3
- Legendre's theorem on continued fractions 0JXTQ392ZM
- The continued fraction of a rational number terminates 0PMY0YQYXX