Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #488357

Re: enumerating the rationals

From "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups sci.math
Subject Re: enumerating the rationals
Date 2020-06-19 18:54 -0700
Organization Aioe.org NNTP Server
Message-ID <rcjq8n$105o$1@gioia.aioe.org> (permalink)
References <5be0e9e8-0623-41f5-995c-0c008facf9c9o@googlegroups.com> <rcjbu4$1uab$2@gioia.aioe.org> <rcjpbm$np7$1@gioia.aioe.org>

Show all headers | View raw


On 6/19/2020 6:39 PM, Sergio wrote:
> On 6/19/2020 4:49 PM, Chris M. Thomasson wrote:
>> On 6/17/2020 9:35 PM, David Petry wrote:
>>>
>>> I noticed that there are several threads on the topic of enumerating
>>> the positive rational numbers.  So let me add to the discussion.
>>>
>>> The simplest way to enumerate pairs of positive integers is to
>>> interlace the digits.
>>>
>>> e.g.   2468 (interlace) 135 (or 0135) =>  20416385
>>>
>>> Note that it would be very much easier to teach grade school students
>>> this way of enumerating pairs of positive integers than using Cantor's
>>> way (IMO).
>>>
>>>
>>> To get a bijection from positive rationals to postive integers, one
>>> very simple way is  f(A/B) = A^2 B^2 / product{p_i},  where {p_i) is
>>> the set of prime factors of B.
>>>
>>>   From a very practical perspective,  that's not especially useful,
>>> since factoring is hard.  A more practically useful way can be based
>>> on the continued fraction
>>> expansion of A/B.
>>>
>>
>> For some reason this is making me think of the convergents of continued
>> fractions. Any finite precision of any irrational number can be
>> represented by a rational. Of course, to get all of them, well, this
>> takes things to infinity.
> 
> 
> 
> 
> well, there are about 10^82 atoms in the universe, so anything more than
> 10^-82 digits seems rather meaningless.
> 
> so +-
> 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
> 
>   should be way more than enough.
> 
> (only 82 digits)
> 

Until you hit fractal zooms!

https://youtu.be/zXTpASSd9xE

10^198 power. 350 million iterations.

It can do deeper, forever. ;^)

Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

enumerating the rationals David Petry <davidlpetry@gmail.com> - 2020-06-17 21:35 -0700
  Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-18 03:41 -0700
    Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 04:23 -0700
      Re: enumerating the rationals Jim Burns <james.g.burns@att.net> - 2020-06-19 16:58 -0400
        Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 14:09 -0700
          Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 14:15 -0700
            Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 14:17 -0700
              Re: enumerating the rationals Jim Burns <james.g.burns@att.net> - 2020-06-19 18:41 -0400
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 16:39 -0700
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-19 16:47 -0700
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-22 08:53 -0700
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-22 08:56 -0700
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-22 08:58 -0700
  Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 14:49 -0700
    Re: enumerating the rationals Sergio <invalid@invalid.com> - 2020-06-19 20:39 -0500
      Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 18:54 -0700
        Re: enumerating the rationals Sergio <invalid@invalid.com> - 2020-06-19 21:03 -0500
          Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 19:10 -0700
            Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 19:13 -0700
          Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 23:33 -0700
      Re: enumerating the rationals Me <franz.fritschee.ff@gmail.com> - 2020-06-19 20:17 -0700
        Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 22:23 -0700
      Re: enumerating the rationals Jim Burns <james.g.burns@att.net> - 2020-06-19 23:53 -0400
        Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 00:18 -0700
          Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 01:17 -0700
        Re: enumerating the rationals Julio Di Egidio <julio@diegidio.name> - 2020-06-20 03:45 -0700
          Re: enumerating the rationals Jim Burns <james.g.burns@att.net> - 2020-06-21 16:44 -0400
        Re: enumerating the rationals FredJeffries <fredjeffries@gmail.com> - 2020-06-20 08:21 -0700
          Re: enumerating the rationals Jim Burns <james.g.burns@att.net> - 2020-06-20 16:53 -0400
          Re: enumerating the rationals Julio Di Egidio <julio@diegidio.name> - 2020-06-21 06:42 -0700
        Re: enumerating the rationals FredJeffries <fredjeffries@gmail.com> - 2020-06-20 09:22 -0700
          Re: enumerating the rationals "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2020-06-20 09:37 -0700
            Re: enumerating the rationals "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2020-06-20 09:42 -0700
              Re: enumerating the rationals "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2020-06-20 10:03 -0700
                Re: enumerating the rationals "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2020-06-20 23:03 -0700
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-21 05:14 -0700
                Re: enumerating the rationals Sergio <invalid@invalid.com> - 2020-06-21 11:46 -0500
                Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-21 10:02 -0700
                Re: enumerating the rationals Sergio <invalid@invalid.com> - 2020-06-21 14:40 -0500
                Re: enumerating the rationals FromTheRafters <erratic@nomail.afraid.org> - 2020-06-22 09:36 -0400
    Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-19 23:19 -0700
      Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 00:24 -0700
      Re: enumerating the rationals FredJeffries <fredjeffries@gmail.com> - 2020-06-20 09:32 -0700
        Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 12:34 -0700
          Re: enumerating the rationals FredJeffries <fredjeffries@gmail.com> - 2020-06-20 12:45 -0700
            Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 12:57 -0700
  Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-20 10:23 -0700
    Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-20 10:28 -0700
    Re: enumerating the rationals "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-06-20 13:12 -0700
      Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-21 05:20 -0700
        Re: enumerating the rationals Mostowski Collapse <bursejan@gmail.com> - 2020-06-21 05:35 -0700
  Re: enumerating the rationals djoyce099 <hlauk.h.bogart@gmail.com> - 2020-06-22 09:26 -0700

csiph-web