Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Yes I have a Machintosh, please don't scream at me. -- Larry Blumette on linux-kernel


devel / comp.lang.c++ / Repeating decimals are irrational

SubjectAuthor
* Repeating decimals are irrationalwij
+* Re: Repeating decimals are irrationalMichael S
|+- Re: Repeating decimals are irrationalBen Bacarisse
|`- Re: Repeating decimals are irrationalMarcel Mueller
+* Re: Repeating decimals are irrationalChris M. Thomasson
|+* Re: Repeating decimals are irrationalwij
||`* Re: Repeating decimals are irrationalDavid Brown
|| `* Re: Repeating decimals are irrationalwij
||  +* Re: Repeating decimals are irrationalRalf Goertz
||  |`* Re: Repeating decimals are irrationalwij
||  | +- Re: Repeating decimals are irrationalwij
||  | +* Re: Repeating decimals are irrationalDavid Brown
||  | |`- Re: Repeating decimals are irrationalChris M. Thomasson
||  | +* Re: Repeating decimals are irrationalDavid Brown
||  | |`* Re: Repeating decimals are irrationalwij
||  | | +* Re: Repeating decimals are irrationalChris M. Thomasson
||  | | |`* Re: Repeating decimals are irrationalwij
||  | | | +- Re: Repeating decimals are irrationalChris M. Thomasson
||  | | | +- Re: Repeating decimals are irrationalChris M. Thomasson
||  | | | `* Re: Repeating decimals are irrationalDavid Brown
||  | | |  `* Re: Repeating decimals are irrationalwij
||  | | |   `- Re: Repeating decimals are irrationalDavid Brown
||  | | `* Re: Repeating decimals are irrationalDavid Brown
||  | |  `* Re: Repeating decimals are irrationalwij
||  | |   `* Re: Repeating decimals are irrationalDavid Brown
||  | |    +* Re: Repeating decimals are irrationalwij
||  | |    |+* Re: Repeating decimals are irrationalDavid Brown
||  | |    ||`* Re: Repeating decimals are irrationalwij
||  | |    || +- Re: Repeating decimals are irrationalChris M. Thomasson
||  | |    || `- Re: Repeating decimals are irrationalDavid Brown
||  | |    |`- Re: Repeating decimals are irrationalChris M. Thomasson
||  | |    `* Re: Repeating decimals are irrationalKeith Thompson
||  | |     `* Re: Repeating decimals are irrationalDavid Brown
||  | |      `* Re: Repeating decimals are irrationalwij
||  | |       `* Re: Repeating decimals are irrationalDavid Brown
||  | |        `- Re: Repeating decimals are irrationalwij
||  | `- Re: Repeating decimals are irrationalChris M. Thomasson
||  +- Re: Repeating decimals are irrationalDavid Brown
||  `- Re: Repeating decimals are irrationalChris M. Thomasson
|+* Re: Repeating decimals are irrationalPaavo Helde
||`* Re: Repeating decimals are irrationalChris M. Thomasson
|| `* Re: Repeating decimals are irrationalPaavo Helde
||  +* Re: Repeating decimals are irrationalDavid Brown
||  |`- Re: Repeating decimals are irrationalChris M. Thomasson
||  `* Re: Repeating decimals are irrationalTim Rentsch
||   `- Re: Repeating decimals are irrationalDavid Brown
|`* Re: Repeating decimals are irrationalDavid Brown
| +* Re: Repeating decimals are irrationalChris M. Thomasson
| |`* Re: Repeating decimals are irrationalDavid Brown
| | `* Re: Repeating decimals are irrationalChris M. Thomasson
| |  `* Re: Repeating decimals are irrationalDavid Brown
| |   `- Re: Repeating decimals are irrationalChris M. Thomasson
| `- Re: Repeating decimals are irrationalChris M. Thomasson
`* Re: Repeating decimals are irrationalStefan Große Pawig
 `- Re: Repeating decimals are irrationalwij

Pages:123
Repeating decimals are irrational

<5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3386&group=comp.lang.c%2B%2B#3386

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 22:51:40 +0800
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Tue, 26 Mar 2024 15:51:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="feb37bfb1ae6380338b03ab1c2de35b5";
logging-data="1974885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ALFA95J0OrWrWcaLK40Wh"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:x/bRhCLPIlZh2jjlGv83qlEIH1c=
 by: wij - Tue, 26 Mar 2024 14:51 UTC

Snipet from https://sourceforge.net/projects/cscall/files/MisFiles/RealNumber-en.txt/download

....
Real Nunmber(ℝ)::= {x| x is represented by n-ary <fixed_point_number>, the
digits may be infinitely long }

Note: This definition implies that repeating decimals are irrational number.
Let's list a common magic proof in the way as a brief explanation:
(1) x= 0.999...
(2) 10x= 9+x // 10x= 9.999...
(3) 9x=9
(4) x=1
Ans: There is no axiom or theorem to prove (1) => (2).

Note: If the steps of converting a number x to <fixed_point_number> is not
finite, x is not a ratio of two integers, because the following
statement is always true: ∀x,a∈ℚ, x-a∈ℚ

---End of quote

Re: Repeating decimals are irrational

<20240326181126.00004b3c@yahoo.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3387&group=comp.lang.c%2B%2B#3387

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 17:11:26 +0200
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <20240326181126.00004b3c@yahoo.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Tue, 26 Mar 2024 16:11:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="9a8f240f50772d42a957aee0b59324e0";
logging-data="1961728"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/W/ghxErs4IU/f3FcrpqYjUDJhToyax8k="
Cancel-Lock: sha1:+sljfwrO2KBBwlKlBHvxFs8oTek=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Tue, 26 Mar 2024 15:11 UTC

On Tue, 26 Mar 2024 22:51:40 +0800
wij <wyniijj5@gmail.com> wrote:

> Snipet from
> https://sourceforge.net/projects/cscall/files/MisFiles/RealNumber-en.txt/download
>
> ...
> Real Nunmber(ℝ)::= {x| x is represented by n-ary
> <fixed_point_number>, the digits may be infinitely long }
>
> Note: This definition implies that repeating decimals are
> irrational number. Let's list a common magic proof in the way as a
> brief explanation: (1) x= 0.999...
> (2) 10x= 9+x // 10x= 9.999...
> (3) 9x=9
> (4) x=1
> Ans: There is no axiom or theorem to prove (1) => (2).
>
> Note: If the steps of converting a number x to
> <fixed_point_number> is not finite, x is not a ratio of two integers,
> because the following statement is always true: ∀x,a∈ℚ, x-a∈ℚ
>
> ---End of quote
>

I don't know what you meant to say, but repeating (a.k.a. periodic)
decimals are most certainly rational numbers. I think that proving it
would be rather easy although I didn't try to do it in rigorous
manner. The idea of proof is multiplying repeating decimal with period P
by (10**P-1) will produce finite decimal. Which is obviously rational.

Re: Repeating decimals are irrational

<87sf0dug1v.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3388&group=comp.lang.c%2B%2B#3388

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 16:13:48 +0000
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <87sf0dug1v.fsf@bsb.me.uk>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<20240326181126.00004b3c@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 26 Mar 2024 16:13:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6e6febb7ce23311f3a6c2664c8c02e69";
logging-data="2019251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iXrMtouU9qVfKlmzVMkGs9LUfRJcQJvA="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:mmvJgO4e7T+dDE9PU9ysWHEalx0=
sha1:eZYCsoNclu8txUXE601ae/IXNw0=
X-BSB-Auth: 1.c31f78779076d91e8233.20240326161348GMT.87sf0dug1v.fsf@bsb.me.uk
 by: Ben Bacarisse - Tue, 26 Mar 2024 16:13 UTC

Michael S <already5chosen@yahoo.com> writes:

> On Tue, 26 Mar 2024 22:51:40 +0800
> wij <wyniijj5@gmail.com> wrote:
<nothing relating to C++>

> I don't know what you meant to say,

Indeed! But it was not about C++, that's for sure. He's riding this
hobby horse around some maths groups, but there's no reason to get
comp.lang.c++ involved.

--
Ben.

Re: Repeating decimals are irrational

<utva8u$2anr0$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3390&group=comp.lang.c%2B%2B#3390

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 13:13:18 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <utva8u$2anr0$3@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Mar 2024 20:13:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d66ad16170de83b3a5d283096306324c";
logging-data="2449248"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0rWde0tbtqI0ey7EVtSDodW0waael2hk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:EFLOdvE4xI86dELbUXfc66BoQc8=
Content-Language: en-US
In-Reply-To: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
 by: Chris M. Thomasson - Tue, 26 Mar 2024 20:13 UTC

On 3/26/2024 7:51 AM, wij wrote:
[...]

Repeating decimals are rational, say

0.142857 142857 142857

That is just 1 / 7 represented in base 10.

Now, think of using a TRNG to create each digit...

That would be, irrational... ;^)

Re: Repeating decimals are irrational

<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3395&group=comp.lang.c%2B%2B#3395

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 05:43:32 +0800
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Tue, 26 Mar 2024 21:43:33 +0100 (CET)
Injection-Info: dont-email.me; posting-host="feb37bfb1ae6380338b03ab1c2de35b5";
logging-data="2471068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187FnyF7k/qISZrJF0bhF7T"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:EmWEPAGp8rnNFCJbczIlskQftT8=
In-Reply-To: <utva8u$2anr0$3@dont-email.me>
 by: wij - Tue, 26 Mar 2024 21:43 UTC

On Tue, 2024-03-26 at 13:13 -0700, Chris M. Thomasson wrote:
> On 3/26/2024 7:51 AM, wij wrote:
> [...]
>
> Repeating decimals are rational, say
>
> 0.142857 142857 142857
>
> That is just 1 / 7 represented in base 10.
>
> Now, think of using a TRNG to create each digit...
>
> That would be, irrational... ;^)

Just repeat the pattern infinitely, then it is irrational.
As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
cannot terminate, 1/7 != 0.(142857)

Re: Repeating decimals are irrational

<utvg0s$2ce32$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3396&group=comp.lang.c%2B%2B#3396

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: eesn...@osa.pri.ee (Paavo Helde)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 23:51:23 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <utvg0s$2ce32$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Mar 2024 21:51:24 +0100 (CET)
Injection-Info: dont-email.me; posting-host="077895133af63285d599c362f64911dc";
logging-data="2504802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DzAfARGEp9y6RzRwinqJurSzHSjNSHAQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JWZaFgwYPsZNW5Uer+hp//846oQ=
In-Reply-To: <utva8u$2anr0$3@dont-email.me>
Content-Language: en-US
 by: Paavo Helde - Tue, 26 Mar 2024 21:51 UTC

26.03.2024 22:13 Chris M. Thomasson kirjutas:
> On 3/26/2024 7:51 AM, wij wrote:
> [...]
>
> Repeating decimals are rational, say
>
> 0.142857 142857 142857
>
> That is just 1 / 7 represented in base 10.
>
> Now, think of using a TRNG to create each digit...
>
> That would be, irrational... ;^)

Any number represented by stored digits on Earth has finite number of
digits (because Earth is finite) and therefore is rational, regardless
of how the digits are generated.

If you want to represent irrational numbers you need to use some other
encoding schema, e.g. "sqrt(2)" (8 bytes, voila!).

Re: Repeating decimals are irrational

<uu0137$2jmev$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3397&group=comp.lang.c%2B%2B#3397

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Tue, 26 Mar 2024 19:42:47 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uu0137$2jmev$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me> <utvg0s$2ce32$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 02:42:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="2742751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dOC+w0r32fvyazmTr+lwna18QDYNpIrw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xoiuB3hMfE/LhwuCpaDzZZJOTFM=
In-Reply-To: <utvg0s$2ce32$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 27 Mar 2024 02:42 UTC

On 3/26/2024 2:51 PM, Paavo Helde wrote:
> 26.03.2024 22:13 Chris M. Thomasson kirjutas:
>> On 3/26/2024 7:51 AM, wij wrote:
>> [...]
>>
>> Repeating decimals are rational, say
>>
>> 0.142857 142857 142857
>>
>> That is just 1 / 7 represented in base 10.
>>
>> Now, think of using a TRNG to create each digit...
>>
>> That would be, irrational... ;^)
>
> Any number represented by stored digits on Earth has finite number of
> digits (because Earth is finite) and therefore is rational, regardless
> of how the digits are generated.

Even with a TRNG?

>
> If you want to represent irrational numbers you need to use some other
> encoding schema, e.g. "sqrt(2)" (8 bytes, voila!).

pi? ;^D

Re: Repeating decimals are irrational

<uu0pv0$2p053$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3399&group=comp.lang.c%2B%2B#3399

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: eesn...@osa.pri.ee (Paavo Helde)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 11:47:11 +0200
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <uu0pv0$2p053$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me> <utvg0s$2ce32$1@dont-email.me>
<uu0137$2jmev$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 09:47:12 +0100 (CET)
Injection-Info: dont-email.me; posting-host="45a3e54399fc63b5dbbe2073e3e4386b";
logging-data="2916515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gzIBVDoWROKeZjPVtwIn8YoZzcyePZKA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TW0Klsze3u5WfPZW/UzF1IDNh2U=
Content-Language: en-US
In-Reply-To: <uu0137$2jmev$1@dont-email.me>
 by: Paavo Helde - Wed, 27 Mar 2024 09:47 UTC

27.03.2024 04:42 Chris M. Thomasson kirjutas:
> On 3/26/2024 2:51 PM, Paavo Helde wrote:
>> 26.03.2024 22:13 Chris M. Thomasson kirjutas:
>>> On 3/26/2024 7:51 AM, wij wrote:
>>> [...]
>>>
>>> Repeating decimals are rational, say
>>>
>>> 0.142857 142857 142857
>>>
>>> That is just 1 / 7 represented in base 10.
>>>
>>> Now, think of using a TRNG to create each digit...
>>>
>>> That would be, irrational... ;^)
>>
>> Any number represented by stored digits on Earth has finite number of
>> digits (because Earth is finite) and therefore is rational, regardless
>> of how the digits are generated.
>
> Even with a TRNG?
>

TRNG is defined as a device having access to a "physical entropy
source". For producing an irrational number it ought to produce an
infinite never-repeating sequence of digits.

It's not clear if any physical mechanism would in principle produce a
non-repeating infinite sequence of digits, the fact that the world is
quantized might rather speak against it. Even if it did, the lifetime of
a physical device is finite, so it can only produce a finite sequence of
digits. Even if the lifetime of the hypothetical device would be
infinite, we do not possess the infinite space and time to store the
result. Such infinities are strictly the territory of mathematics, in
real world we can have only finite sequence of digits.

A finite sequence of digits represents a rational number. For example, a
number which I just constructed by throwing my 10-euro-cent TRNG is
0.10010111011 (in binary) which can be expressed as a ratio of two
integers by trivial point shifting:

0.10010111011 (binary) = 10010111011 (binary) / 2^11 = 1211 / 2048

>
>>
>> If you want to represent irrational numbers you need to use some other
>> encoding schema, e.g. "sqrt(2)" (8 bytes, voila!).
>
> pi? ;^D

In mathematics, a notion like pi actually defines an irrational number
by fixing its properties. For some such irrational numbers it is
possible to give an infinite algorithm which produces the sequence of
its digits. The funny thing is that after fixing the number there is no
randomness any more, so e.g. a machine computing subsequent digits of pi
would make a pretty poor RNG ;-)

Re: Repeating decimals are irrational

<uu0shm$2pikd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3400&group=comp.lang.c%2B%2B#3400

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 11:31:17 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uu0shm$2pikd$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 10:31:18 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="2935437"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cnH1dXk82oXYABbvddXkab/QEP4BOoSw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:pib2W3Hkit+3+SxzJVNuHC0/r9g=
Content-Language: en-GB
In-Reply-To: <utva8u$2anr0$3@dont-email.me>
 by: David Brown - Wed, 27 Mar 2024 10:31 UTC

On 26/03/2024 21:13, Chris M. Thomasson wrote:
> On 3/26/2024 7:51 AM, wij wrote:
> [...]
>
> Repeating decimals are rational, say
>
> 0.142857 142857 142857
>
> That is just 1 / 7 represented in base 10.

Obviously (to everyone except perhaps wij).

>
> Now, think of using a TRNG to create each digit...
>
> That would be, irrational... ;^)

That would not be a defined number. I am not convinced it is meaningful
to talk about its properties at all.

Re: Repeating decimals are irrational

<uu116n$2qosn$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3401&group=comp.lang.c%2B%2B#3401

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 12:50:46 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uu116n$2qosn$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 11:50:47 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="2974615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zKVuR2HTy61bzFTS/eRuPaWJ0gaumYJU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:U9U6+fzosjtPFYSn2c2NLz1Z2Rs=
Content-Language: en-GB
In-Reply-To: <459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
 by: David Brown - Wed, 27 Mar 2024 11:50 UTC

On 26/03/2024 22:43, wij wrote:
> On Tue, 2024-03-26 at 13:13 -0700, Chris M. Thomasson wrote:
>> On 3/26/2024 7:51 AM, wij wrote:
>> [...]
>>
>> Repeating decimals are rational, say
>>
>> 0.142857 142857 142857
>>
>> That is just 1 / 7 represented in base 10.
>>
>> Now, think of using a TRNG to create each digit...
>>
>> That would be, irrational... ;^)
>
> Just repeat the pattern infinitely, then it is irrational.

Nonsense.

> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> cannot terminate, 1/7 != 0.(142857)
>

Nonsense.

Simply stating random things does not make them so.

I recommend you stick to C++ in this C++ newsgroup.

As for your maths, you'd do better learning some basics of the
mathematics of real numbers and rational numbers, and that being able to
find the Unicode characters for some logic symbols does not mean you
understand how to write a proof.

Re: Repeating decimals are irrational

<uu12bm$2r227$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3402&group=comp.lang.c%2B%2B#3402

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:10:30 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uu12bm$2r227$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me> <utvg0s$2ce32$1@dont-email.me>
<uu0137$2jmev$1@dont-email.me> <uu0pv0$2p053$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 12:10:30 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="2984007"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Lra4RQDiwoOdSF2veZRo/rDXZiy6HWDw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:ytbhQ/vp86jBuTDGTkLrHKatyxg=
Content-Language: en-GB
In-Reply-To: <uu0pv0$2p053$1@dont-email.me>
 by: David Brown - Wed, 27 Mar 2024 12:10 UTC

On 27/03/2024 10:47, Paavo Helde wrote:
> In mathematics, a notion like pi actually defines an irrational number
> by fixing its properties. For some such irrational numbers it is
> possible to give an infinite algorithm which produces the sequence of
> its digits. The funny thing is that after fixing the number there is no
> randomness any more, so e.g. a machine computing subsequent digits of pi
> would make a pretty poor RNG ;-)
>

The digits would actually make quite a good RNG - if you had a practical
way to keep getting the digits. It is not proven, but it is strongly
suspected that pi is normal in all bases - you will get an even
distribution of digits over time, and any finite sequence of digits will
occur equally often as other sequences of the same length. This is the
key characteristic of an unbiased random source. No test of the
sequence of digits could determine that it is not from a random source.

There is an algorithm that lets you find digits of the hexadecimal
expansion of pi without finding all the previous digits, which could be
useful here.

But it won't be very good for security purposes or other such uses of
random numbers!

Re: Repeating decimals are irrational

<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3403&group=comp.lang.c%2B%2B#3403

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 20:12:38 +0800
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 27 Mar 2024 12:12:39 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e58f2b2de37d2d0fd85c976e2be071c6";
logging-data="2981235"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jAozhK36wWP1GFLNK/Rq/"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:Mt9vp4mB5REHIK9sMIztxSoJ0SA=
In-Reply-To: <uu116n$2qosn$1@dont-email.me>
 by: wij - Wed, 27 Mar 2024 12:12 UTC

On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
> On 26/03/2024 22:43, wij wrote:
> > On Tue, 2024-03-26 at 13:13 -0700, Chris M. Thomasson wrote:
> > > On 3/26/2024 7:51 AM, wij wrote:
> > > [...]
> > >
> > > Repeating decimals are rational, say
> > >
> > > 0.142857 142857 142857
> > >
> > > That is just 1 / 7 represented in base 10.
> > >
> > > Now, think of using a TRNG to create each digit...
> > >
> > > That would be, irrational... ;^)
> >
> > Just repeat the pattern infinitely, then it is irrational.
>
> Nonsense.
>
> > As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> > cannot terminate, 1/7 != 0.(142857)
> >
>
> Nonsense.
>

I am surprise your math. knowledge is so low worse than teenagers.

> Simply stating random things does not make them so.
>
> I recommend you stick to C++ in this C++ newsgroup.
>

I know. You 'occupied' c/c++ forum and think you are speech police.
For now, this discussion is mainly in comp.theory
But you have shown your knowledge is so so low, don't go there waste our time.

> As for your maths, you'd do better learning some basics of the
> mathematics of real numbers and rational numbers, and that being able to
> find the Unicode characters for some logic symbols does not mean you
> understand how to write a proof.
>
>

Re: Repeating decimals are irrational

<uu152u$2qpb5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3404&group=comp.lang.c%2B%2B#3404

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: me...@myprovider.invalid (Ralf Goertz)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:57:02 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uu152u$2qpb5$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 27 Mar 2024 12:57:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ef792df63db3473930b56e017cd0d223";
logging-data="2975077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IKoT6uPnyyGe20ZBXC9Gv"
Cancel-Lock: sha1:GmBYZ3wkr9Yk6x1w5xDuTeOluoM=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-suse-linux-gnu)
 by: Ralf Goertz - Wed, 27 Mar 2024 12:57 UTC

Am Wed, 27 Mar 2024 20:12:38 +0800
schrieb wij <wyniijj5@gmail.com>:

> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
> > On 26/03/2024 22:43, wij wrote:
> > >
> > > Just repeat the pattern infinitely, then it is irrational.
> >
> > Nonsense.
> >
> > > As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> > > cannot terminate, 1/7 != 0.(142857)
> > >
> >
> > Nonsense.
> >
>
> I am surprise your math. knowledge is so low worse than teenagers.

Use the standard trick:

x=0.[142857] => 1,000,000*x=142857.[142857]

subtract the first equation from the second:

999,999*x=142857 => x=142857/999,999=1/7

Re: Repeating decimals are irrational

<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3405&group=comp.lang.c%2B%2B#3405

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 21:32:12 +0800
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 27 Mar 2024 13:32:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e58f2b2de37d2d0fd85c976e2be071c6";
logging-data="3003580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LPFv3y53U7gQT6YbNNn7R"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:A37p/Mar473DHP7IFdOWTDNVzhs=
In-Reply-To: <uu152u$2qpb5$1@dont-email.me>
 by: wij - Wed, 27 Mar 2024 13:32 UTC

On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
> Am Wed, 27 Mar 2024 20:12:38 +0800
> schrieb wij <wyniijj5@gmail.com>:
>
> > On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
> > > On 26/03/2024 22:43, wij wrote: 
> > > >
> > > > Just repeat the pattern infinitely, then it is irrational. 
> > >
> > > Nonsense.
> > >  
> > > > As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> > > > cannot terminate, 1/7 != 0.(142857)
> > > >  
> > >
> > > Nonsense.
> > >  
> >
> > I am surprise your math. knowledge is so low worse than teenagers.
>
> Use the standard trick:
>
> x=0.[142857] => 1,000,000*x=142857.[142857]
>
> subtract the first equation from the second:
>
> 999,999*x=142857 => x=142857/999,999=1/7
>

To determine whether a number x is rational or not, we can repeatedly subtract
rational numbers a? from x. If x-a1-a2-a3-...=0 can be verified in finite
steps, then x is rational. Otherwise, x is irrational.
If x is a repeating decimal, proposition "repeating decimal is rational" is
simply false by sematics.

Re: Repeating decimals are irrational

<00ed319fb3f4de76d3d6b6c6782fb3a8b1ebbfb6.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3406&group=comp.lang.c%2B%2B#3406

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 21:49:33 +0800
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <00ed319fb3f4de76d3d6b6c6782fb3a8b1ebbfb6.camel@gmail.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 27 Mar 2024 13:49:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e58f2b2de37d2d0fd85c976e2be071c6";
logging-data="3003580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19shVSbrTLUHK0Hy4uD7/CN"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:wjE0MlTlbjUYrvY2VF+vzIMhWwc=
In-Reply-To: <c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
 by: wij - Wed, 27 Mar 2024 13:49 UTC

On Wed, 2024-03-27 at 21:32 +0800, wij wrote:
> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
> > Am Wed, 27 Mar 2024 20:12:38 +0800
> > schrieb wij <wyniijj5@gmail.com>:
> >
> > > On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
> > > > On 26/03/2024 22:43, wij wrote: 
> > > > >
> > > > > Just repeat the pattern infinitely, then it is irrational. 
> > > >
> > > > Nonsense.
> > > >  
> > > > > As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> > > > > cannot terminate, 1/7 != 0.(142857)
> > > > >  
> > > >
> > > > Nonsense.
> > > >  
> > >
> > > I am surprise your math. knowledge is so low worse than teenagers.
> >
> > Use the standard trick:
> >
> > x=0.[142857] => 1,000,000*x=142857.[142857]
> >
> > subtract the first equation from the second:
> >
> > 999,999*x=142857 => x=142857/999,999=1/7
> >
>
> To determine whether a number x is rational or not, we can repeatedly subtract
> rational numbers a? from x. If x-a1-a2-a3-...=0 can be verified in finite
> steps, then x is rational. Otherwise, x is irrational.
> If x is a repeating decimal, proposition "repeating decimal is rational" is
> simply false by sematics.
>
>
By the way, this came to me: ε-δ method was used by people to think that we can 
make x-a approach 0 to arbitrary precision, then conclude that the 'limit' is 0,
'therefore', repeating decimal is rational !!!

Re: Repeating decimals are irrational

<uu1bp6$2tbcd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3407&group=comp.lang.c%2B%2B#3407

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 15:51:17 +0100
Organization: A noiseless patient Spider
Lines: 132
Message-ID: <uu1bp6$2tbcd$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 14:51:18 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="3059085"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+6PdRd52DyC5jdM3dabGcB6/XnNjkJRI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:pssPVqe15+lDXzU0EFVBkFvwjkg=
In-Reply-To: <930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
Content-Language: en-GB
 by: David Brown - Wed, 27 Mar 2024 14:51 UTC

On 27/03/2024 13:12, wij wrote:
> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>> On 26/03/2024 22:43, wij wrote:
>>> On Tue, 2024-03-26 at 13:13 -0700, Chris M. Thomasson wrote:
>>>> On 3/26/2024 7:51 AM, wij wrote:
>>>> [...]
>>>>
>>>> Repeating decimals are rational, say
>>>>
>>>> 0.142857 142857 142857
>>>>
>>>> That is just 1 / 7 represented in base 10.
>>>>
>>>> Now, think of using a TRNG to create each digit...
>>>>
>>>> That would be, irrational... ;^)
>>>
>>> Just repeat the pattern infinitely, then it is irrational.
>>
>> Nonsense.
>>
>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>> cannot terminate, 1/7 != 0.(142857)
>>>
>>
>> Nonsense.
>>
>
> I am surprise your math. knowledge is so low worse than teenagers.
>

It's a long time ago and hard to be sure, but I believe I knew that real
numbers were rational if and only if their decimal expansion was
repeating before I was a teenager. And I don't believe that rational
numbers or decimal expansions have changed their nature since then.

(And as a maths student I wrote an essay on a derivation of the real
numbers from the axioms of Zermelo-Fraenkel set theory, proving each
step along the way, proving the equivalence between constructions from
decimal - or n-ary - representations to constructions based on
completing the rationals, proving the existence of irrational numbers,
and establishing the cardinality of the real numbers. I might be a bit
out of practice, but I know what I am talking about.)

If you hold strange views on a mathematical topic that runs contrary to
the established mainstream, especially something so simple and
non-contentious, you have to be prepared to be treated as a fool and
ridiculed as a flat-earther or a trisector.

But just for your benefit, I had a quick look at the start of your
"RealNumber-en.txt" file - the section on Real Numbers.

1. /You/ don't get to define real numbers. That is a well-established
term in mathematics, and you don't get to replace it with waffle-worded
text.

2. In mathematics, you don't get to say "a definition is not provided"
and then "this definition implies ...". Make /rigorous/ definitions,
and /prove/ their definitions. What you are writing here is not
mathematics - it's a C-grade response to a high-school test question
"What is a real number?".

3. You cannot claim what this definition (such as it is) says about
irrational numbers, when you have not said what rational or irrational
numbers are. Since you are using your own broken definition for reals,
who knows what mistaken ideas you might have about rationals and
irrationals.

4. Arithmetic on repeating decimals is well defined, and if x = 0.999...
then 10.x is 9 + x. This /is/ provable.

5. Please don't try and talk about axioms. You are /very/ far from that
level of rigour.

6. Even if your claim that 0.999... != 1 were true, and even if you had
proven it, it would not have the implications you are claiming.

7. Noting that the rationals are closed under subtraction has not the
slightest bearing on anything that you have been claiming. It's
plausible that it might be involved in a step of the proof of your
claims - if such a proof were possible. But you haven't even made the
vaguest suggestions of a proof - you simply throw out your claims and
expect them to be believed.

(The rest of the document is too jumbled and unclear to critique. I
appreciate that English is not your first language, but you seem to be
able to write it well enough when you try, so I blame your mathematics,
not your language skills.)

I expect you've been told all of this before.

>> Simply stating random things does not make them so.
>>
>> I recommend you stick to C++ in this C++ newsgroup.
>>
>
> I know. You 'occupied' c/c++ forum and think you are speech police.

I have not "occupied" anything. This is a newsgroup primarily concerned
with discussions of C++ - that's in the name of the group.

I also recommend you stick to C++ because you apparently have an
interest in and knowledge of C++, and as far as I have noticed, you talk
sensibly about the language.

> For now, this discussion is mainly in comp.theory

You started a new thread in comp.lang.c++. I don't know what there
might or might not be in comp.theory - anything there is irrelevant to
this discussion. (I can't see how your post is remotely on-topic for
computational theory either.)

> But you have shown your knowledge is so so low, don't go there waste our time.

I don't follow comp.theory. But I have seen a few threads over the
years which have "leaked" from there to groups that I do follow, and I
feel confident in guessing that few people there share your ideas about
real numbers.

>
>> As for your maths, you'd do better learning some basics of the
>> mathematics of real numbers and rational numbers, and that being able to
>> find the Unicode characters for some logic symbols does not mean you
>> understand how to write a proof.
>>
>>
>
>

Re: Repeating decimals are irrational

<uu1cbm$2te2i$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3408&group=comp.lang.c%2B%2B#3408

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 16:01:10 +0100
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <uu1cbm$2te2i$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 15:01:10 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="3061842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tCy9MA6YbC/x8ishlngODt9MY1yRSYeI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:9iXqRzvWwtfv6GqxF9E21zsIXJQ=
In-Reply-To: <c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
Content-Language: en-GB
 by: David Brown - Wed, 27 Mar 2024 15:01 UTC

On 27/03/2024 14:32, wij wrote:
> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
>> Am Wed, 27 Mar 2024 20:12:38 +0800
>> schrieb wij <wyniijj5@gmail.com>:
>>
>>> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>>>> On 26/03/2024 22:43, wij wrote:
>>>>>
>>>>> Just repeat the pattern infinitely, then it is irrational.
>>>>
>>>> Nonsense.
>>>>
>>>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>>>> cannot terminate, 1/7 != 0.(142857)
>>>>>
>>>>
>>>> Nonsense.
>>>>
>>>
>>> I am surprise your math. knowledge is so low worse than teenagers.
>>
>> Use the standard trick:
>>
>> x=0.[142857] => 1,000,000*x=142857.[142857]
>>
>> subtract the first equation from the second:
>>
>> 999,999*x=142857 => x=142857/999,999=1/7
>>
>
> To determine whether a number x is rational or not, we can repeatedly subtract
> rational numbers a? from x.

I assume that when you say "rational numbers a?", you mean numbers with
finite decimal expansions?

Your method could, I suppose, be used to prove that x is rational - but
not to prove that it is irrational. It is not particularly helpful,
unless you are using it as some way to build up the rationals
inductively from a starting point of "assumed" rationals.

> If x-a1-a2-a3-...=0 can be verified in finite
> steps, then x is rational.

Correct.

> Otherwise, x is irrational.

Incorrect.

All you have proven is that you have not picked appropriate rationals in
the sequence, or that x is a number with a non-finite decimal expansion.
You haven't demonstrated that it is irrational.

Your method here doesn't give you anything new. It boils down to saying
that if we assume that all rationals have finite decimal expansions, we
can prove that numbers without finite decimal expansions are not
rational - and that's a simple tautology. The assumption is, of course,
wrong.

> If x is a repeating decimal, proposition "repeating decimal is rational" is
> simply false by sematics.
>

Incorrect.

Re: Repeating decimals are irrational

<uu1cel$2te2i$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3409&group=comp.lang.c%2B%2B#3409

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 16:02:45 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <uu1cel$2te2i$2@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 15:02:46 +0100 (CET)
Injection-Info: dont-email.me; posting-host="dbe22b44753789bf1f8ebf182f4dba7c";
logging-data="3061842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cH6cS9WeTWVT/+CKduIqpnEtQb/IEBkE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Mgl5fr+uMfwR02efH9bXfF5AiF0=
Content-Language: en-GB
In-Reply-To: <c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
 by: David Brown - Wed, 27 Mar 2024 15:02 UTC

On 27/03/2024 14:32, wij wrote:
> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
>> Am Wed, 27 Mar 2024 20:12:38 +0800
>> schrieb wij <wyniijj5@gmail.com>:
>>
>>> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>>>> On 26/03/2024 22:43, wij wrote:
>>>>>
>>>>> Just repeat the pattern infinitely, then it is irrational.
>>>>
>>>> Nonsense.
>>>>
>>>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>>>> cannot terminate, 1/7 != 0.(142857)
>>>>>
>>>>
>>>> Nonsense.
>>>>
>>>
>>> I am surprise your math. knowledge is so low worse than teenagers.
>>
>> Use the standard trick:
>>
>> x=0.[142857] => 1,000,000*x=142857.[142857]
>>
>> subtract the first equation from the second:
>>
>> 999,999*x=142857 => x=142857/999,999=1/7
>>
>
> To determine whether a number x is rational or not, we can repeatedly subtract
> rational numbers a? from x. If x-a1-a2-a3-...=0 can be verified in finite
> steps, then x is rational. Otherwise, x is irrational.
> If x is a repeating decimal, proposition "repeating decimal is rational" is
> simply false by sematics.
>

Let me just ask you two simple questions:

Do you think 1/7 is a rational number or an irrational number?

What do you think the decimal expansion of 1/7 is?

Re: Repeating decimals are irrational

<435b9fe3357bbc4dd5a25f8f9e75637e270dd55b.camel@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3412&group=comp.lang.c%2B%2B#3412

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wynii...@gmail.com (wij)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Thu, 28 Mar 2024 00:05:00 +0800
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <435b9fe3357bbc4dd5a25f8f9e75637e270dd55b.camel@gmail.com>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
<uu1cel$2te2i$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Wed, 27 Mar 2024 16:05:01 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e58f2b2de37d2d0fd85c976e2be071c6";
logging-data="3065327"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19h8HOTmSDzxP0tI8ICBTro"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:3ZJx+m/wZYq7/anQikvFPeq8UO4=
In-Reply-To: <uu1cel$2te2i$2@dont-email.me>
 by: wij - Wed, 27 Mar 2024 16:05 UTC

On Wed, 2024-03-27 at 16:02 +0100, David Brown wrote:
> On 27/03/2024 14:32, wij wrote:
> > On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
> > > Am Wed, 27 Mar 2024 20:12:38 +0800
> > > schrieb wij <wyniijj5@gmail.com>:
> > >
> > > > On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
> > > > > On 26/03/2024 22:43, wij wrote:
> > > > > >
> > > > > > Just repeat the pattern infinitely, then it is irrational.
> > > > >
> > > > > Nonsense.
> > > > >   
> > > > > > As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
> > > > > > cannot terminate, 1/7 != 0.(142857)
> > > > > >   
> > > > >
> > > > > Nonsense.
> > > > >   
> > > >
> > > > I am surprise your math. knowledge is so low worse than teenagers.
> > >
> > > Use the standard trick:
> > >
> > > x=0.[142857] => 1,000,000*x=142857.[142857]
> > >
> > > subtract the first equation from the second:
> > >
> > > 999,999*x=142857 => x=142857/999,999=1/7
> > >
> >
> > To determine whether a number x is rational or not, we can repeatedly subtract
> > rational numbers a? from x. If x-a1-a2-a3-...=0 can be verified in finite
> > steps, then x is rational. Otherwise, x is irrational.
> > If x is a repeating decimal, proposition "repeating decimal is rational" is
> > simply false by sematics.
> >
>
> Let me just ask you two simple questions:
>
> Do you think 1/7 is a rational number or an irrational number?
>
rational

> What do you think the decimal expansion of 1/7 is?
>

When converting 1/7 to decimal, the result ≒ 0.(142857), the procedure
never terminates which means the conversion is never complete.

Re: Repeating decimals are irrational

<uu1usp$31us4$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3414&group=comp.lang.c%2B%2B#3414

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:17:29 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uu1usp$31us4$1@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me> <uu0shm$2pikd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 20:17:29 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="3210116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dOizYYGG/JzwqXjQTqxePmbmQ5W2k6Ro="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JKAmhK18A5bbDpCdSYfWL6riBZs=
In-Reply-To: <uu0shm$2pikd$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 27 Mar 2024 20:17 UTC

On 3/27/2024 3:31 AM, David Brown wrote:
> On 26/03/2024 21:13, Chris M. Thomasson wrote:
>> On 3/26/2024 7:51 AM, wij wrote:
>> [...]
>>
>> Repeating decimals are rational, say
>>
>> 0.142857 142857 142857
>>
>> That is just 1 / 7 represented in base 10.
>
> Obviously (to everyone except perhaps wij).

;^)

>> Now, think of using a TRNG to create each digit...
>>
>> That would be, irrational... ;^)
>
> That would not be a defined number.  I am not convinced it is meaningful
> to talk about its properties at all.
>

Well, it would be a "number" at any finite view of it? Or, is that just
moronic thinking? For some reason it makes me think of infinite
convergents of continued fractions. Can we gain a rational that can
approximate any irrational up to a certain precision, so to speak?

Re: Repeating decimals are irrational

<uu1vii$31us4$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3415&group=comp.lang.c%2B%2B#3415

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:29:06 -0700
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uu1vii$31us4$2@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 20:29:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="3210116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kKE/VC8bc927TX+9Tz56K9HvFzqS3n1k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:NrsEIOk+No9/j+0From/fIfQefU=
In-Reply-To: <c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 27 Mar 2024 20:29 UTC

On 3/27/2024 6:32 AM, wij wrote:
> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
>> Am Wed, 27 Mar 2024 20:12:38 +0800
>> schrieb wij <wyniijj5@gmail.com>:
>>
>>> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>>>> On 26/03/2024 22:43, wij wrote:
>>>>>
>>>>> Just repeat the pattern infinitely, then it is irrational.
>>>>
>>>> Nonsense.
>>>>
>>>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>>>> cannot terminate, 1/7 != 0.(142857)
>>>>>
>>>>
>>>> Nonsense.
>>>>
>>>
>>> I am surprise your math. knowledge is so low worse than teenagers.
>>
>> Use the standard trick:
>>
>> x=0.[142857] => 1,000,000*x=142857.[142857]
>>
>> subtract the first equation from the second:
>>
>> 999,999*x=142857 => x=142857/999,999=1/7
>>
>
> To determine whether a number x is rational or not,[...]

Check for a period...

Re: Repeating decimals are irrational

<uu1vse$31us4$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3416&group=comp.lang.c%2B%2B#3416

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:34:22 -0700
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <uu1vse$31us4$3@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
<uu1cbm$2te2i$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 20:34:23 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="3210116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rudjoobzxmSDO11/zAwQaUhdij53U9Vs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cxFDKM0sVpesEfvnE3103vFGuYs=
In-Reply-To: <uu1cbm$2te2i$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Wed, 27 Mar 2024 20:34 UTC

On 3/27/2024 8:01 AM, David Brown wrote:
> On 27/03/2024 14:32, wij wrote:
>> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
>>> Am Wed, 27 Mar 2024 20:12:38 +0800
>>> schrieb wij <wyniijj5@gmail.com>:
>>>
>>>> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>>>>> On 26/03/2024 22:43, wij wrote:
>>>>>>
>>>>>> Just repeat the pattern infinitely, then it is irrational.
>>>>>
>>>>> Nonsense.
>>>>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>>>>> cannot terminate, 1/7 != 0.(142857)
>>>>>
>>>>> Nonsense.
>>>>
>>>> I am surprise your math. knowledge is so low worse than teenagers.
>>>
>>> Use the standard trick:
>>>
>>> x=0.[142857] => 1,000,000*x=142857.[142857]
>>>
>>> subtract the first equation from the second:
>>>
>>> 999,999*x=142857 => x=142857/999,999=1/7
>>>
>>
>> To determine whether a number x is rational or not, we can repeatedly
>> subtract
>> rational numbers a? from x.
>
> I assume that when you say "rational numbers a?", you mean numbers with
> finite decimal expansions?
>
> Your method could, I suppose, be used to prove that x is rational - but
> not to prove that it is irrational.  It is not particularly helpful,
> unless you are using it as some way to build up the rationals
> inductively from a starting point of "assumed" rationals.
>
>> If x-a1-a2-a3-...=0 can be verified in finite
>> steps, then x is rational.
>
> Correct.
>
>> Otherwise, x is irrational.
>
> Incorrect.
>
> All you have proven is that you have not picked appropriate rationals in
> the sequence, or that x is a number with a non-finite decimal expansion.
>  You haven't demonstrated that it is irrational.
>
> Your method here doesn't give you anything new.  It boils down to saying
> that if we assume that all rationals have finite decimal expansions, we
> can prove that numbers without finite decimal expansions are not
> rational - and that's a simple tautology.  The assumption is, of course,
> wrong.
>
>
>> If x is a repeating decimal, proposition "repeating decimal is
>> rational" is
>> simply false by sematics.
>>
>
> Incorrect.
>
>
>

Think of doing long division, as soon as you hit a period (aka the same
number), you can stop. Fair enough?

base 10:

1 / 3 = .(3), .3..., whatever

We will notice during long division that a period has been encountered,
there we can stop iteration, and say .3 repeating. Fair enough? Its fun
to record how many steps to took to hit a period. Fun... Akin to escape
time fractals wrt how many iterations it took for a number to escape a
given limit, so to speak.

Make any sense? Or stupid? ;^o

Re: Repeating decimals are irrational

<uu1vta$2p5rj$1@gwaiyur.mb-net.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3417&group=comp.lang.c%2B%2B#3417

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail
From: news.5.m...@spamgourmet.org (Marcel Mueller)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 21:34:50 +0100
Organization: MB-NET.NET for Open-News-Network e.V.
Message-ID: <uu1vta$2p5rj$1@gwaiyur.mb-net.net>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<20240326181126.00004b3c@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Mar 2024 20:34:52 -0000 (UTC)
Injection-Info: gwaiyur.mb-net.net;
logging-data="2922355"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pbdbmCczueVj7FHlcwP5CwSQrrQ= sha256:E2ISqXMpKhekqJsKcRrJlx8aVehEtXa91LUCaw5f25M=
sha1:g+8jpz9twmS7xKOFaqkzqmDTsSU= sha256:VtpAIrGWYkORg1eEw2L5Y1wZssV1iVg5wmH0/kAu5IM=
Content-Language: de-DE, en-US
In-Reply-To: <20240326181126.00004b3c@yahoo.com>
 by: Marcel Mueller - Wed, 27 Mar 2024 20:34 UTC

Am 26.03.24 um 16:11 schrieb Michael S:
> I don't know what you meant to say, but repeating (a.k.a. periodic)
> decimals are most certainly rational numbers.

Exactly.

> I think that proving it
> would be rather easy although I didn't try to do it in rigorous
> manner.

They are always rational numbers because any repeated sequence is just
equivalent to a denominator withe base^length - 1, e.g.
0,(142857) = 142857 / 999999

> The idea of proof is multiplying repeating decimal with period P
> by (10**P-1) will produce finite decimal. Which is obviously rational.

Indeed.

Marcel

Re: Repeating decimals are irrational

<uu208r$31us4$4@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3418&group=comp.lang.c%2B%2B#3418

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:40:59 -0700
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <uu208r$31us4$4@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me>
<459e2c88fcadc581ef016624894880c24270652f.camel@gmail.com>
<uu116n$2qosn$1@dont-email.me>
<930fdb5b775d5512e471c82bf434648c56fd1009.camel@gmail.com>
<uu152u$2qpb5$1@dont-email.me>
<c256dbb376440ca8535bb27a0ecebb37304a583f.camel@gmail.com>
<uu1cel$2te2i$2@dont-email.me>
<435b9fe3357bbc4dd5a25f8f9e75637e270dd55b.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 20:41:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="3210116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fgwZm6TCKoK3FpmO+iJzfRg667BWXgTM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VmVWhSZXixmODFHr0y0TPQZO9GA=
Content-Language: en-US
In-Reply-To: <435b9fe3357bbc4dd5a25f8f9e75637e270dd55b.camel@gmail.com>
 by: Chris M. Thomasson - Wed, 27 Mar 2024 20:40 UTC

On 3/27/2024 9:05 AM, wij wrote:
> On Wed, 2024-03-27 at 16:02 +0100, David Brown wrote:
>> On 27/03/2024 14:32, wij wrote:
>>> On Wed, 2024-03-27 at 13:57 +0100, Ralf Goertz wrote:
>>>> Am Wed, 27 Mar 2024 20:12:38 +0800
>>>> schrieb wij <wyniijj5@gmail.com>:
>>>>
>>>>> On Wed, 2024-03-27 at 12:50 +0100, David Brown wrote:
>>>>>> On 26/03/2024 22:43, wij wrote:
>>>>>>>
>>>>>>> Just repeat the pattern infinitely, then it is irrational.
>>>>>>
>>>>>> Nonsense.
>>>>>>
>>>>>>> As said "∀x,a∈ℚ, x-a∈ℚ", if the subtraction a= 142857/10^(6*i)
>>>>>>> cannot terminate, 1/7 != 0.(142857)
>>>>>>>
>>>>>>
>>>>>> Nonsense.
>>>>>>
>>>>>
>>>>> I am surprise your math. knowledge is so low worse than teenagers.
>>>>
>>>> Use the standard trick:
>>>>
>>>> x=0.[142857] => 1,000,000*x=142857.[142857]
>>>>
>>>> subtract the first equation from the second:
>>>>
>>>> 999,999*x=142857 => x=142857/999,999=1/7
>>>>
>>>
>>> To determine whether a number x is rational or not, we can repeatedly subtract
>>> rational numbers a? from x. If x-a1-a2-a3-...=0 can be verified in finite
>>> steps, then x is rational. Otherwise, x is irrational.
>>> If x is a repeating decimal, proposition "repeating decimal is rational" is
>>> simply false by sematics.
>>>
>>
>> Let me just ask you two simple questions:
>>
>> Do you think 1/7 is a rational number or an irrational number?
>>
> rational
>
>> What do you think the decimal expansion of 1/7 is?
>>
>
> When converting 1/7 to decimal, the result ≒ 0.(142857), the procedure
> never terminates which means the conversion is never complete.
>
>
>

You can stop iteration as soon as you detect a cycle, or period if you
will. In 1/7, say it took 6 iterations to hit the period... Sound okay?

Re: Repeating decimals are irrational

<uu20i2$31us4$5@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3419&group=comp.lang.c%2B%2B#3419

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++
Subject: Re: Repeating decimals are irrational
Date: Wed, 27 Mar 2024 13:45:54 -0700
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <uu20i2$31us4$5@dont-email.me>
References: <5b363d215e2c4dab1d496efee2655409dcecf655.camel@gmail.com>
<utva8u$2anr0$3@dont-email.me> <utvg0s$2ce32$1@dont-email.me>
<uu0137$2jmev$1@dont-email.me> <uu0pv0$2p053$1@dont-email.me>
<uu12bm$2r227$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Mar 2024 20:45:55 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ce6d535e2aab3bd64151fc336b26b1ea";
logging-data="3210116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19keYPRsJmBpSOUn8DVyi1vdqw5oRNIiCc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9O5tywi2oh+TL3p6wuPDkL9aowQ=
Content-Language: en-US
In-Reply-To: <uu12bm$2r227$1@dont-email.me>
 by: Chris M. Thomasson - Wed, 27 Mar 2024 20:45 UTC

On 3/27/2024 5:10 AM, David Brown wrote:
> On 27/03/2024 10:47, Paavo Helde wrote:
>> In mathematics, a notion like pi actually defines an irrational number
>> by fixing its properties. For some such irrational numbers it is
>> possible to give an infinite algorithm which produces the sequence of
>> its digits. The funny thing is that after fixing the number there is
>> no randomness any more, so e.g. a machine computing subsequent digits
>> of pi would make a pretty poor RNG ;-)
>>
>
> The digits would actually make quite a good RNG - if you had a practical
> way to keep getting the digits.

Fwiw, here is an example of a highly non-practical way to reap base 2
symbols to construct a number:

https://groups.google.com/g/comp.lang.c++/c/7u_rLgQe86k/m/fYU9SnuAFQAJ

;^D

> It is not proven, but it is strongly
> suspected that pi is normal in all bases - you will get an even
> distribution of digits over time, and any finite sequence of digits will
> occur equally often as other sequences of the same length.  This is the
> key characteristic of an unbiased random source.  No test of the
> sequence of digits could determine that it is not from a random source.
>
> There is an algorithm that lets you find digits of the hexadecimal
> expansion of pi without finding all the previous digits, which could be
> useful here.
>
> But it won't be very good for security purposes or other such uses of
> random numbers!
>
>


devel / comp.lang.c++ / Repeating decimals are irrational

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor