Georg Cantor proved that rational numbers are enumerable. He uses the following table to prove this proposition:
…
We number each term in the above table along the anti-diagonals, going back and forth. That is, the first term is
Input Specification
The input contains an integer
Output Specification
Output the
Sample Input
Copy
7
Sample Output
Copy
1/4
Problem translated to English by .
Comments