• @Moobythegoldensock@lemm.ee
            link
            fedilink
            28 months ago

            OP is wrong. A truly random real number does have a much higher probability of being an irrational number or repeating rational number, but it is certainly not the case that a truly random number “will be” one of these two as terminating rational numbers are still possible to select.

            • @lntl@lemmy.ml
              link
              fedilink
              0
              edit-2
              8 months ago

              There an infinite number of numbers that have infinite length and are not irrational or repeating. Infinity is larger than youre imagining.

              • @Moobythegoldensock@lemm.ee
                link
                fedilink
                28 months ago

                Are you referring to arbitrarily large numbers? Still essentially the same as decimals in the other direction.

                Do you have a mathematical proof for the OP’s claim that a truly random number must have infinite digits?

  • funkajunk
    link
    fedilink
    English
    108 months ago

    No, if truly random it could be any number from 0 to infinity. The randomization doesn’t impart any qualities to the selected number.

    If you randomly selected numbers from the infinite range of numbers for an infinite number of time, you would get a result of “7” just as often as getting “3.456e11”.

    • @al4s@feddit.de
      link
      fedilink
      38 months ago

      The probability of getting a finite number is pretty much zero.

      For any range [0; n], where n is finite, there are always infinitely many numbers larger than n, so the probability of getting a number in said range is n/(n+infinity). I feel very confident in saying that something with that probability will never happen.

      • @Moobythegoldensock@lemm.ee
        link
        fedilink
        18 months ago

        The probability of getting any number with a given set of characteristics is pretty much 0, but that doesn’t mean the number doesn’t exist once generated.

      • funkajunk
        link
        fedilink
        English
        08 months ago

        If there’s any probability of an event, on an infinite timeline, it occurs infinite times.

  • pruwyben
    link
    fedilink
    78 months ago

    I see what you’re saying (assuming you mean a random integer from 0 to infinity), but it couldn’t really, since there’s no such thing as an integer with infinite digits - any random integer will have finite number of digits.

    The real problem is there’s no way to choose a random number from 0 to infinity. Every finite number has a probability of 0, and in fact, for any number you choose, there is 0 probability that it will be less than that number. Note that 0 probability is different from “impossible” - see https://en.wikipedia.org/wiki/Almost_surely

  • @panbroggi@feddit.it
    link
    fedilink
    6
    edit-2
    8 months ago

    I think it’s right

    Edit:

    TIL: when saying random numbers, some people think to integers, others to real numbers.

    • @Crul@lemm.ee
      link
      fedilink
      7
      edit-2
      8 months ago

      I also think that’s correct… if we are talking about real numbers.

      People are probably thinking about integers. I’m not sure about OP.

      EDIT: I think it also works with p-adic numbers.

        • @Crul@lemm.ee
          link
          fedilink
          48 months ago

          I think you’re confusing “arbitrarily large” with “infinitely large”. See Wikipedia Arbitrarily large vs. (…) infinitely large

          Furthermore, “arbitrarily large” also does not mean “infinitely large”. For example, although prime numbers can be arbitrarily large, an infinitely large prime number does not exist—since all prime numbers (as well as all other integers) are finite.

        • @Crul@lemm.ee
          link
          fedilink
          28 months ago

          For integers I disagree (but I’m not a mathematician). The set of integers with infinite digits is the empty set, so AFAIK, it has probability 0.

  • Rhynoplaz
    link
    fedilink
    58 months ago

    Wait, are you high in the shower? Because that’s a little different.

  • Narrrz
    link
    fedilink
    28 months ago

    are we counting an infinite number of zeroes after the decimal point, as having infinite digits? because if you specifically exclude while numbers, your output would not be truly random, though it would be essentially impossible to distinguish it from true randomness.

  • @FelipeFelop
    link
    18 months ago

    Why would it have infinite digits? It is just as like to be 0.