Calkin-Wilf sequence: Difference between revisions
Content added Content deleted
(New post.) |
m (Correcting minor formatting error.) |
||
Line 1,264: | Line 1,264: | ||
Rational rational = new Rational(83_116, 51_639); |
Rational rational = new Rational(83_116, 51_639); |
||
System.out.println(" " +rational + " is the " + termIndex(rational) + "th term of the sequence."); |
System.out.println(" " + rational + " is the " + termIndex(rational) + "th term of the sequence."); |
||
} |
} |