QuadraticIrrationalQ
Details
- QuadraticIrrationalQ[x] tests whether x can be expressed in the form , where , and are integers.
- Quadratic irrationals have continued fractions that are ultimately periodic.
Examples
open allclose allBasic Examples (1)
Scope (4)
Rational numbers are not quadratic irrationals:
QuadraticIrrationalQ threads element-wise over lists:
QuadraticIrrationalQ returns False if not given an explicit quadratic irrational:
Wolfram Research (2007), QuadraticIrrationalQ, Wolfram Language function, https://reference.wolfram.com/language/ref/QuadraticIrrationalQ.html.
Text
Wolfram Research (2007), QuadraticIrrationalQ, Wolfram Language function, https://reference.wolfram.com/language/ref/QuadraticIrrationalQ.html.
CMS
Wolfram Language. 2007. "QuadraticIrrationalQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuadraticIrrationalQ.html.
APA
Wolfram Language. (2007). QuadraticIrrationalQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuadraticIrrationalQ.html