News for hackers. Stuff that matters.
Re:How many real numbers exist? New proof moves closer to an... by gwf on Saturday July 17, 2021 @05:24PM (#27868974)

  for a in range(1, Infinity):
      for b in range(a):
          print(a-b, "/" , b+1)
Will print out:

      1/1, 2/1, 1/2, 3/1, 2/2, 1/3, 4/1, 3/2, 2/3, 1/4, ...
Hence, we've just mapped all rationals (with duplicates) to a single linear list. Since any linear list can always be mapped to the naturals (1, 2, 3, ...), they have the same cardinality.

QED

There are no comments on this comment yet.