Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

What hath Bob wrought?


tech / sci.math / (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

SubjectAuthor
* (paradox of (expected) # of distinct Birthdays) -- Pascal'shenh...@gmail.com
+- Re: (paradox of (expected) # of distinct Birthdays) -- Pascal'sbert
+* Re: (paradox of (expected) # of distinct Birthdays) -- Pascal'sduncan smith
|`- Re: (paradox of (expected) # of distinct Birthdays) -- Pascal'shenh...@gmail.com
`- Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?James Waldby

1
(paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

<6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=112706&group=sci.math#112706

  copy link   Newsgroups: sci.math
X-Received: by 2002:ac8:5c91:0:b0:35b:bc2d:527 with SMTP id r17-20020ac85c91000000b0035bbc2d0527mr6599554qta.674.1663127788423;
Tue, 13 Sep 2022 20:56:28 -0700 (PDT)
X-Received: by 2002:a05:6870:b511:b0:12b:5871:2129 with SMTP id
v17-20020a056870b51100b0012b58712129mr1377392oap.80.1663127788057; Tue, 13
Sep 2022 20:56:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Tue, 13 Sep 2022 20:56:27 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8600:20d0:0:0:0:908;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8600:20d0:0:0:0:908
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
Subject: (paradox of (expected) # of distinct Birthdays) -- Pascal's
Triangle ?
From: henha...@gmail.com (henh...@gmail.com)
Injection-Date: Wed, 14 Sep 2022 03:56:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2685
 by: henh...@gmail.com - Wed, 14 Sep 2022 03:56 UTC

10 ppl come in , and each gets a random number in [1 -- 10] inclusive.
---> Expected # of distinct Numbers is 6.5

100 ppl ---> 63 Expected distinct Numbers

The part that's surprising to me is how it (63...) scales up linearly...
----------- the most significant digits == 632........ always

Does anyone have a simple explanation for what ths would be the case ?

Is there an analogous (or corresponding) invariant (ratio) in all the rows of Pascal's Triangle ?

10 --- 6.513215599
100 --- 63.396765872677086
1000 --- 632.3045752290362
10000 --- 6321.389535670295
100000 --- 63212.23982317534
1000000 --- 632120.7427789335

100000000000 --- 63212058926.887726
1000000000000 --- 632112420612.6902
10000000000000 --- 6322349313875.826
100000000000000 --- 63182640340411.53
1000000000000000 --- 631826403404113.6

# of (expected) distinct Birthdays for N people
22 --- 21.37
50 --- 46.78
1000 --- 341.51

( With 1000 ppl, (only) 341 out of 365 days would be taken)

---------- " Perhaps it is quite surprising that you should expect there to be so many (24) unclaimed birthdays with so many people ! "

------------ this (24 unclaimed) sounds about right to me.

Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

<fa2b744c-9cd3-4f12-aab1-888ab51a07e8n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=112724&group=sci.math#112724

  copy link   Newsgroups: sci.math
X-Received: by 2002:ac8:57cf:0:b0:35c:ad7:93b8 with SMTP id w15-20020ac857cf000000b0035c0ad793b8mr6244215qta.375.1663152426854;
Wed, 14 Sep 2022 03:47:06 -0700 (PDT)
X-Received: by 2002:a05:6870:ac21:b0:127:f5b2:6864 with SMTP id
kw33-20020a056870ac2100b00127f5b26864mr1839869oab.298.1663152426470; Wed, 14
Sep 2022 03:47:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Wed, 14 Sep 2022 03:47:06 -0700 (PDT)
In-Reply-To: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c4:2b88:6901:7931:4d82:35d:8940;
posting-account=n7oCtQoAAACNS6CgW2a2eDoP2d9IRGfY
NNTP-Posting-Host: 2a00:23c4:2b88:6901:7931:4d82:35d:8940
References: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fa2b744c-9cd3-4f12-aab1-888ab51a07e8n@googlegroups.com>
Subject: Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's
Triangle ?
From: bert.hut...@btinternet.com (bert)
Injection-Date: Wed, 14 Sep 2022 10:47:06 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: bert - Wed, 14 Sep 2022 10:47 UTC

On Wednesday, 14 September 2022 at 04:56:32 UTC+1, henh...@gmail.com wrote:
> 10 ppl come in , and each gets a random number in [1 -- 10] inclusive.
> ---> Expected # of distinct Numbers is 6.5
>
> 100 ppl ---> 63 Expected distinct Numbers
>
>
> The part that's surprising to me is how it (63...) scales up linearly...
> ----------- the most significant digits == 632........ always
>
> Does anyone have a simple explanation for what ths would be the case ?

(1 - 1/10)^10 = 0.6513215599

Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

<yRmUK.40090$OR4c.33054@fx46.iad>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=112755&group=sci.math#112755

  copy link   Newsgroups: sci.math
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx46.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's
Triangle ?
Content-Language: en-GB
Newsgroups: sci.math
References: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
From: dun...@invalid.invalid (duncan smith)
In-Reply-To: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Message-ID: <yRmUK.40090$OR4c.33054@fx46.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Wed, 14 Sep 2022 15:57:18 UTC
Organization: blocknews - www.blocknews.net
Date: Wed, 14 Sep 2022 16:57:18 +0100
X-Received-Bytes: 1702
 by: duncan smith - Wed, 14 Sep 2022 15:57 UTC

On 14/09/2022 04:56, henh...@gmail.com wrote:
>
> 10 ppl come in , and each gets a random number in [1 -- 10] inclusive.
> ---> Expected # of distinct Numbers is 6.5
>
> 100 ppl ---> 63 Expected distinct Numbers
>
>
> The part that's surprising to me is how it (63...) scales up linearly...
> ----------- the most significant digits == 632........ always
>
>
> Does anyone have a simple explanation for what ths would be the case ?
>

[snip]

The probability that a given number is allocated to at least one person
is 1-(1-1/n)^n, and by linearity of expectation this also equals the
expected proportion of the available numbers allocated to at least one
person. L'Hopital's rule can be applied to prove that as n approaches
infinity this proportion approaches 1-1/e = 0.6321205588285577.

Duncan

Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

<8fbc4a08-ef3b-4f21-a67e-97e5f69a3f68n@googlegroups.com>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=112759&group=sci.math#112759

  copy link   Newsgroups: sci.math
X-Received: by 2002:a05:6214:c88:b0:4ac:a119:7ddf with SMTP id r8-20020a0562140c8800b004aca1197ddfmr17673482qvr.126.1663172063458;
Wed, 14 Sep 2022 09:14:23 -0700 (PDT)
X-Received: by 2002:a05:6830:1e6d:b0:654:5da:afd9 with SMTP id
m13-20020a0568301e6d00b0065405daafd9mr12696500otr.1.1663172063197; Wed, 14
Sep 2022 09:14:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Wed, 14 Sep 2022 09:14:22 -0700 (PDT)
In-Reply-To: <yRmUK.40090$OR4c.33054@fx46.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8600:1a30:0:0:0:5a63;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8600:1a30:0:0:0:5a63
References: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com> <yRmUK.40090$OR4c.33054@fx46.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8fbc4a08-ef3b-4f21-a67e-97e5f69a3f68n@googlegroups.com>
Subject: Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's
Triangle ?
From: henha...@gmail.com (henh...@gmail.com)
Injection-Date: Wed, 14 Sep 2022 16:14:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2280
 by: henh...@gmail.com - Wed, 14 Sep 2022 16:14 UTC

On Wednesday, September 14, 2022 at 8:57:28 AM UTC-7, duncan smith wrote:
> On 14/09/2022 04:56, henh...@gmail.com wrote:
> >
> > 10 ppl come in , and each gets a random number in [1 -- 10] inclusive.
> > ---> Expected # of distinct Numbers is 6.5
> >
> > 100 ppl ---> 63 Expected distinct Numbers
> >
> >
> > The part that's surprising to me is how it (63...) scales up linearly...
> > ----------- the most significant digits == 632........ always
> >
> >
> > Does anyone have a simple explanation for what ths would be the case ?
> >
> [snip]
>
> The probability that a given number is allocated to at least one person
> is 1-(1-1/n)^n, and by linearity of expectation this also equals the
> expected proportion of the available numbers allocated to at least one
> person. L'Hopital's rule can be applied to prove that as n approaches
> infinity this proportion approaches 1-1/e = 0.6321205588285577.
>
> Duncan

thank you .... i didn't realize that 0.63212... was such a special (or common) number.

Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?

<tfugo9$38jir$1@dont-email.me>

  copy mid

https://www.novabbs.com/tech/article-flat.php?id=112852&group=sci.math#112852

  copy link   Newsgroups: sci.math
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: j-wal...@no.no (James Waldby)
Newsgroups: sci.math
Subject: Re: (paradox of (expected) # of distinct Birthdays) -- Pascal's Triangle ?
Date: Thu, 15 Sep 2022 06:29:30 -0000 (UTC)
Organization: self
Lines: 54
Message-ID: <tfugo9$38jir$1@dont-email.me>
References: <6507aaf5-7911-45c8-8e0f-4d6a9ff6dfean@googlegroups.com>
Injection-Date: Thu, 15 Sep 2022 06:29:30 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bf4b1dd02d3298ce620790852386d973";
logging-data="3427931"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18f69FTZqbNJMd5mMpVaZjK"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-122-generic (x86_64))
Cancel-Lock: sha1:YrOzlSlNCOb0I9XQTLTNxpjbsyY=
 by: James Waldby - Thu, 15 Sep 2022 06:29 UTC

henh...@gmail.com <henhanna@gmail.com> wrote:
> 10 ppl come in , and each gets a random number in [1 -- 10]
> inclusive. ---> Expected # of distinct Numbers is 6.5
> 100 ppl ---> 63 Expected distinct Numbers
> The part that's surprising to me is how it (63...) scales up
> linearly... ----------- the most significant digits == 632........
> always Does anyone have a simple explanation for what ths would be
> the case ?
....
> 10 --- 6.513215599
> 100 --- 63.396765872677086
> 1000 --- 632.3045752290362
> 10000 --- 6321.389535670295
....

`duncan smith` has already noted "this proportion approaches 1-1/e =
0.6321205588285577"; here's a slightly different calculation to the
same end: If m integers are uniformly-randomly chosen from among
1...m, the chance of a given number not being chosen in the process is
(1-1/m)^m, independently for all m numbers. Then the expected number
of not-chosen numbers, say NC(m), is m*(1-1/m)^m, and the expected
number of chosen numbers, say CC(m), is m-NC(m). Because
lim{n->oo}((1-1/m)^m) is 1/e (see ref) we have NC(m) ~ m/e and CC(m) ~
m*(1-1/e) ~ m * 0.6321205588... The following python code illustrates
this for several values of m and compares m/NC(m) to e. (Ref
<https://socratic.org/questions/how-do-you-find-the-limit-of-1-1-x-x-as-x-approaches-infinity>)

from math import exp
def nc(m): return m*(1-1/m)**m
def cc(m): return m-nc(m)
def sho(b,kmax=9):
for k in range(1,kmax):
m=b**k; c=cc(m); ne=m/nc(m); de=exp(1)-ne
print(f'{m:13.2f} {c:17.5f} {ne:12.9f} {de:12.9f}')
print()
sho(10)
sho(9)
sho(7.7)

Anyhow, I think of 0.6321205588... as recognizable mostly as the
complement of the more-prominent value, 1/e, ~ 0.36787944117...

> Is there an analogous (or corresponding) invariant (ratio) in all
> the rows of Pascal's Triangle ?
....

Sort of. See eg <https://online.stat.psu.edu/stat414/lesson/28/28.1>
about "Normal Approximation to Binomial" and many other pages about
that approximation. Expected outcomes of experiments having
Binomial(m,0.5) distribution are in direct proportion to numbers in
the mth row of Pascal's Triangle. As m gets large the approximation
improves steadily.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor