Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"When it comes to humility, I'm the greatest." -- Bullwinkle Moose


tech / sci.math / Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

SubjectAuthor
* Number of distinct semi-primes with equal length prime factors withdjoyce099
+* Re: Number of distinct semi-primes with equal length prime factors with up to 6 James Waldby
|`* Re: Number of distinct semi-primes with equal length prime factorsdjoyce099
| `- Re: Number of distinct semi-primes with equal length prime factorsdjoyce099
`- Re: Number of distinct semi-primes with equal length prime factors with up to 6 Barry Schwarz

1
Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

<84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.math
X-Received: by 2002:a37:8407:: with SMTP id g7mr1644108qkd.123.1626320915142;
Wed, 14 Jul 2021 20:48:35 -0700 (PDT)
X-Received: by 2002:a05:6902:1507:: with SMTP id q7mr2293216ybu.326.1626320915004;
Wed, 14 Jul 2021 20:48:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Wed, 14 Jul 2021 20:48:34 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:18a:c401:7000:6528:29bd:76a5:f665;
posting-account=i_FlGAkAAABwBIgX3yagzItI77D51ph-
NNTP-Posting-Host: 2601:18a:c401:7000:6528:29bd:76a5:f665
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com>
Subject: Number of distinct semi-primes with equal length prime factors with
up to 6 digit primes.
From: hlauk.h....@gmail.com (djoyce099)
Injection-Date: Thu, 15 Jul 2021 03:48:35 +0000
Content-Type: text/plain; charset="UTF-8"
 by: djoyce099 - Thu, 15 Jul 2021 03:48 UTC

15 =3*5
21 =3*7
35 =5*7
3 total distinct semi-primes <=35 each prime of 1 length.
--------------------------------------------------------
143 =11*13
... 20 total
187 =11*17
... 19 total
etc.
210 total distinct semi-primes <=8633 each prime of 2 length.
------------------------------------------------------------
10403 =101*103
... 142 total
10807 =101*107
... 141 total
etc.
10153 total distinct semi-primes <=988027 each prime of 3 length.
----------------------------------------------------------------
1022117 =1009*1013
'' 1060 total
1028171 =1009*1019
... 1059 total
ect.
562330 total distinct semi-primes <= 99400891 each of the 2 primes has 4 length.
--------------------------------------------------------------------------------
100160063 =10007*10009
...8362 total
100440259 =10007*10037
...8361 total
etc.
34965703 total distinct semi-primes <= 9998000099 each of the 2 primes has 5 digits.
------------------------------------------------------------------------------------
10002200057=100003*100019
...68855 total
10004600129=100003*100043
...68854 total
etc.
2370539940 total distinct semi-primes <= 1999962000357 each of the 2 primes has 6 digits.
------------------------------------------------------------------------------------------
Using triangle numbers to get the correct distinct number of semi-primes in each group.
I believe this is correct but I could be wrong.

Dan

Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

<scokdf$ceu$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: sci.math
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: j-wal...@no.no (James Waldby)
Newsgroups: sci.math
Subject: Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.
Date: Thu, 15 Jul 2021 06:25:51 -0000 (UTC)
Organization: self
Lines: 47
Message-ID: <scokdf$ceu$1@dont-email.me>
References: <84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com>
Injection-Date: Thu, 15 Jul 2021 06:25:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="dc2914ee7330f7fe6044e14d5a878ad5";
logging-data="12766"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19e75aXAfuhpQUSXWagBdip"
User-Agent: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-77-generic (x86_64))
Cancel-Lock: sha1:uRdSZUO1dXjjxSAQ/m6mkgaB4I8=
 by: James Waldby - Thu, 15 Jul 2021 06:25 UTC

djoyce099 <hlauk.h.bogart@gmail.com> wrote:
> 15 =3*5
> 21 =3*7
> 35 =5*7
> 3 total distinct semi-primes <=35 each prime of 1 length.

This should be 6. You left out 2*3, 2*5, 2*7.

> --------------------------------------------------------
....
> 210 total distinct semi-primes <=8633 each prime of 2 length.
> ------------------------------------------------------------
....
> 10153 total distinct semi-primes <=988027 each prime of 3 length.
> ----------------------------------------------------------------
....
> 562330 total distinct semi-primes <= 99400891 each of the 2 primes has 4 length.
> --------------------------------------------------------------------------
....
> 34965703 total distinct semi-primes <= 9998000099 each of the 2 primes has 5 digits.
> -----------------------------------------------------------------------
> 10002200057=100003*100019
> ..68855 total
> 10004600129=100003*100043
> ..68854 total
> etc.
> 2370539940 total distinct semi-primes <= 1999962000357 each of the 2 primes has 6 digits.

Wrong number there, if my calculation was correct. I think there are
68906 primes between 100000 and 1000000, rather than 68856. Here's
the bash shell script I used for checking your numbers, followed by
its 7 lines of output, which took 1 second to compute:

d=10; while [ $d -lt 100000000 ]; do c=$(primes $d $((d*10))|wc -l); echo $d $c $(dc -e"$c d1-*2/p"); d=$((d*10)); done
10 21 210
100 143 10153
1000 1061 562330
10000 8363 34965703
100000 68906 2373983965
1000000 586081 171745176240
10000000 5096876 12989069931250

> -------------------------------------------------------------------------
> Using triangle numbers to get the correct distinct number of semi-primes in each group.
> I believe this is correct but I could be wrong.

Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

<df406f0f-dd3c-44e8-9995-00b0a53e7a26n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.math
X-Received: by 2002:a37:b6c5:: with SMTP id g188mr5378722qkf.92.1626375846644;
Thu, 15 Jul 2021 12:04:06 -0700 (PDT)
X-Received: by 2002:a25:9a82:: with SMTP id s2mr7212383ybo.112.1626375846531;
Thu, 15 Jul 2021 12:04:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Thu, 15 Jul 2021 12:04:06 -0700 (PDT)
In-Reply-To: <scokdf$ceu$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:18a:c401:7000:6528:29bd:76a5:f665;
posting-account=i_FlGAkAAABwBIgX3yagzItI77D51ph-
NNTP-Posting-Host: 2601:18a:c401:7000:6528:29bd:76a5:f665
References: <84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com> <scokdf$ceu$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df406f0f-dd3c-44e8-9995-00b0a53e7a26n@googlegroups.com>
Subject: Re: Number of distinct semi-primes with equal length prime factors
with up to 6 digit primes.
From: hlauk.h....@gmail.com (djoyce099)
Injection-Date: Thu, 15 Jul 2021 19:04:06 +0000
Content-Type: text/plain; charset="UTF-8"
 by: djoyce099 - Thu, 15 Jul 2021 19:04 UTC

On Thursday, July 15, 2021 at 2:26:00 AM UTC-4, James Waldby wrote:
> djoyce099 <hlauk.h...@gmail.com> wrote:
> > 15 =3*5
> > 21 =3*7
> > 35 =5*7
> > 3 total distinct semi-primes <=35 each prime of 1 length.
> This should be 6. You left out 2*3, 2*5, 2*7.
>
> > --------------------------------------------------------
> ...
> > 210 total distinct semi-primes <=8633 each prime of 2 length.
> > ------------------------------------------------------------
> ...
> > 10153 total distinct semi-primes <=988027 each prime of 3 length.
> > ----------------------------------------------------------------
> ...
> > 562330 total distinct semi-primes <= 99400891 each of the 2 primes has 4 length.
> > --------------------------------------------------------------------------
> ...
> > 34965703 total distinct semi-primes <= 9998000099 each of the 2 primes has 5 digits.
> > -----------------------------------------------------------------------
> > 10002200057=100003*100019
> > ..68855 total
> > 10004600129=100003*100043
> > ..68854 total
> > etc.
> > 2370539940 total distinct semi-primes <= 1999962000357 each of the 2 primes has 6 digits.
> Wrong number there, if my calculation was correct. I think there are
> 68906 primes between 100000 and 1000000, rather than 68856. Here's
> the bash shell script I used for checking your numbers, followed by
> its 7 lines of output, which took 1 second to compute:
>
> d=10; while [ $d -lt 100000000 ]; do c=$(primes $d $((d*10))|wc -l); echo $d $c $(dc -e"$c d1-*2/p"); d=$((d*10)); done
> 10 21 210
> 100 143 10153
> 1000 1061 562330
> 10000 8363 34965703
> 100000 68906 2373983965
> 1000000 586081 171745176240
> 10000000 5096876 12989069931250
> > -------------------------------------------------------------------------
> > Using triangle numbers to get the correct distinct number of semi-primes in each group.
> > I believe this is correct but I could be wrong.

My OP stated just odd primes.
I get 20 instead of 21 because index t(20) = 210
I get 142 instead of 143 because index t(142) = 10153
I get 1060 instead of 1061 because index t(1060) = 562330
I get 8362 instead of 8363 because index t(8362) = 34965703
Even though the results are the same there are actually only 20 combinations of semi-primes starting with 11*13,
11*17, 11*19 .. ,11*97. So that is why I show (1) less in the next 3.
The last one you are probably right with (6) digits each prime where I show less total semi-primes for that group than you.
I'll have to look at my program.

Thanks for the the extra (7) and (8) digit primes. That last one, (8) digit has almost 13 trillion semi-primes with prime lengths of (8) digit each. A number not even half our national dept, let alone unfunded liabilities which is approaching
100 trillion. Absolutly mind boggolling.

Dan

Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

<3a5410a8-6051-4a31-8242-4b22eb778b22n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: sci.math
X-Received: by 2002:a37:9244:: with SMTP id u65mr5665811qkd.46.1626376505653;
Thu, 15 Jul 2021 12:15:05 -0700 (PDT)
X-Received: by 2002:a25:7d04:: with SMTP id y4mr7226045ybc.348.1626376505532;
Thu, 15 Jul 2021 12:15:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: sci.math
Date: Thu, 15 Jul 2021 12:15:04 -0700 (PDT)
In-Reply-To: <df406f0f-dd3c-44e8-9995-00b0a53e7a26n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:18a:c401:7000:6528:29bd:76a5:f665;
posting-account=i_FlGAkAAABwBIgX3yagzItI77D51ph-
NNTP-Posting-Host: 2601:18a:c401:7000:6528:29bd:76a5:f665
References: <84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com>
<scokdf$ceu$1@dont-email.me> <df406f0f-dd3c-44e8-9995-00b0a53e7a26n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a5410a8-6051-4a31-8242-4b22eb778b22n@googlegroups.com>
Subject: Re: Number of distinct semi-primes with equal length prime factors
with up to 6 digit primes.
From: hlauk.h....@gmail.com (djoyce099)
Injection-Date: Thu, 15 Jul 2021 19:15:05 +0000
Content-Type: text/plain; charset="UTF-8"
 by: djoyce099 - Thu, 15 Jul 2021 19:15 UTC

On Thursday, July 15, 2021 at 3:04:12 PM UTC-4, djoyce099 wrote:
> On Thursday, July 15, 2021 at 2:26:00 AM UTC-4, James Waldby wrote:
> > djoyce099 <hlauk.h...@gmail.com> wrote:
> > > 15 =3*5
> > > 21 =3*7
> > > 35 =5*7
> > > 3 total distinct semi-primes <=35 each prime of 1 length.
> > This should be 6. You left out 2*3, 2*5, 2*7.
> >
> > > --------------------------------------------------------
> > ...
> > > 210 total distinct semi-primes <=8633 each prime of 2 length.
> > > ------------------------------------------------------------
> > ...
> > > 10153 total distinct semi-primes <=988027 each prime of 3 length.
> > > ----------------------------------------------------------------
> > ...
> > > 562330 total distinct semi-primes <= 99400891 each of the 2 primes has 4 length.
> > > --------------------------------------------------------------------------
> > ...
> > > 34965703 total distinct semi-primes <= 9998000099 each of the 2 primes has 5 digits.
> > > -----------------------------------------------------------------------
> > > 10002200057=100003*100019
> > > ..68855 total
> > > 10004600129=100003*100043
> > > ..68854 total
> > > etc.
> > > 2370539940 total distinct semi-primes <= 1999962000357 each of the 2 primes has 6 digits.
> > Wrong number there, if my calculation was correct. I think there are
> > 68906 primes between 100000 and 1000000, rather than 68856. Here's
> > the bash shell script I used for checking your numbers, followed by
> > its 7 lines of output, which took 1 second to compute:
> >
> > d=10; while [ $d -lt 100000000 ]; do c=$(primes $d $((d*10))|wc -l); echo $d $c $(dc -e"$c d1-*2/p"); d=$((d*10)); done
> > 10 21 210
> > 100 143 10153
> > 1000 1061 562330
> > 10000 8363 34965703
> > 100000 68906 2373983965
> > 1000000 586081 171745176240
> > 10000000 5096876 12989069931250
> > > -------------------------------------------------------------------------
> > > Using triangle numbers to get the correct distinct number of semi-primes in each group.
> > > I believe this is correct but I could be wrong.
> My OP stated just odd primes.
> I get 20 instead of 21 because index t(20) = 210
> I get 142 instead of 143 because index t(142) = 10153
> I get 1060 instead of 1061 because index t(1060) = 562330
> I get 8362 instead of 8363 because index t(8362) = 34965703
> Even though the results are the same there are actually only 20 combinations of semi-primes starting with 11*13,
> 11*17, 11*19 .. ,11*97. So that is why I show (1) less in the next 3.
> The last one you are probably right with (6) digits each prime where I show less total semi-primes for that group than you.
> I'll have to look at my program.
>
> Thanks for the the extra (7) and (8) digit primes. That last one, (8) digit has almost 13 trillion semi-primes with prime lengths of (8) digit each. A number not even half our national dept, let alone unfunded liabilities which is approaching
> 100 trillion. Absolutly mind boggolling.
>
> Dan

I must have left that out in my final edit before posting (only odd primes) , my bad because I intended it to be there.

Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.

<9rg1fgtlfgea8nvl8h2dk54ja9brfvp5ks@4ax.com>

  copy mid

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

  copy link   Newsgroups: sci.math
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: schwa...@delq.com (Barry Schwarz)
Newsgroups: sci.math
Subject: Re: Number of distinct semi-primes with equal length prime factors with up to 6 digit primes.
Date: Thu, 15 Jul 2021 18:13:22 -0700
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <9rg1fgtlfgea8nvl8h2dk54ja9brfvp5ks@4ax.com>
References: <84f1c33b-f55e-4810-86bb-c6f84308b518n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="48cfd67807e7387545cc64f89c59da42";
logging-data="21387"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xkPe6pjDLd+5HNSgnUEiF/7KDda8Wnag="
Cancel-Lock: sha1:863WQ/ieVaeseWSgYrAmUqKiQVY=
X-Newsreader: Forte Agent 4.2/32.1118
 by: Barry Schwarz - Fri, 16 Jul 2021 01:13 UTC

On Wed, 14 Jul 2021 20:48:34 -0700 (PDT), djoyce099
<hlauk.h.bogart@gmail.com> wrote:

>
>15 =3*5
>21 =3*7
>35 =5*7
>3 total distinct semi-primes <=35 each prime of 1 length.

I don't know why you excluded 9 = 3*3 since it is distinct from the
other semi-primes consisting of one digit factors. It changes the
number of semi-primes but not the underlying nature of the count.

>--------------------------------------------------------
>143 =11*13
>.. 20 total
>187 =11*17
>.. 19 total
>etc.
>210 total distinct semi-primes <=8633 each prime of 2 length.
>------------------------------------------------------------

<snip>

>------------------------------------------------------------------------------------------
>Using triangle numbers to get the correct distinct number of semi-primes in each group.
>I believe this is correct but I could be wrong.

For a specific number of digits, there are n primes with that many
digits. Call them p_1, p_2, ..., p_n.

The distinct semi-primes that contain p_1 as a factor all have the
form p_1 * p_i for i going from 2 to n. There are obviously n-1 such
semi-primes.

The distinct semi-primes that contain p_2 as a factor all have the
form p_2 * p_j for j going from 3 to n. There are obviously n-2 such
semi-primes.

Continuing with p_3 etc shows that the total number of semi-primes is
(n-1) + (n-2) + ... + 3 + 2+ 1.
This sum is known to be n * (n-1) / 2. Since this formula is known to
produce the triangle numbers, your belief is verified.

--
Remove del for email

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor