The problem of deciding whether a given number is irrational or not is frequently one of some difficulty, as in the proof that π is irrational. Several numbers which are very probably irrational have never been proved so, e.g. y, eπ. However, we have one quite simple test for deciding whether a number is irrational or not when we have the number expressed as a continued fraction, viz. if the continued fraction terminates, the number is rational; if not, irrational. In what follows we assume our irrational number given as a continued fraction :
or shortly