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


Groups > sci.physics > #546046 > unrolled thread

Primality sieve challenge!

Started byjonas.thornvall@gmail.com
First post2016-01-17 01:45 -0800
Last post2016-01-17 23:35 +1100
Articles 3 — 2 participants

Back to article view | Back to sci.physics


Contents

  Primality sieve challenge! jonas.thornvall@gmail.com - 2016-01-17 01:45 -0800
    Re: Primality sieve challenge! jonas.thornvall@gmail.com - 2016-01-17 02:20 -0800
    Re: Primality sieve challenge! Sylvia Else <sylvia@not.at.this.address> - 2016-01-17 23:35 +1100

#546046 — Primality sieve challenge!

Fromjonas.thornvall@gmail.com
Date2016-01-17 01:45 -0800
SubjectPrimality sieve challenge!
Message-ID<a2de70f3-8fa8-4571-ac11-3552dd3bd640@googlegroups.com>
Maybe we could have a challenge finding the base with best reducion upto 100 000000? One probably do not want to store more vectors than that in memory i guess

Reducing composites in the integer field
http://jt.node365.se/composite.html


I've made my own kind of primality sieve that work by reducing lthe number field into composite "legs" and prime "egs". The legs that contain just composites in the numberfield will be thrown away sieved?

I asked the people at sci.math if there was a known upper limit for the reduction using this type of counters in the integer field, they said no.

I wonder if there is a name for this type of sieve/counter within information theory?

My idea is to find a base with very high percentage of composite legs, remove all start numbers that produce only composites in their legs, and then store the other egs that contain prime in an array.

That array will than serve the purpose modelling the new integer field, using the searched base with highest composite reduction.


The script seaching the bases take a few seconds, so there could be alot of improvements. I have a feeling that using bignumb bases as sieves will be out of range for us mere mortals, but who knows maybe for computer theorists.

[toc] | [next] | [standalone]


#546047

Fromjonas.thornvall@gmail.com
Date2016-01-17 02:20 -0800
Message-ID<b81bbebe-b4a3-4ddb-b918-dd8bb4850e39@googlegroups.com>
In reply to#546046
Den söndag 17 januari 2016 kl. 10:45:17 UTC+1 skrev jonas.t...@gmail.com:
> Maybe we could have a challenge finding the base with best reducion upto 100 000000? One probably do not want to store more vectors than that in memory i guess
> 
> Reducing composites in the integer field
> http://jt.node365.se/composite.html
> 
> 
> I've made my own kind of primality sieve that work by reducing lthe number field into composite "legs" and prime "egs". The legs that contain just composites in the numberfield will be thrown away sieved?
> 
> I asked the people at sci.math if there was a known upper limit for the reduction using this type of counters in the integer field, they said no.
> 
> I wonder if there is a name for this type of sieve/counter within information theory?
> 
> My idea is to find a base with very high percentage of composite legs, remove all start numbers that produce only composites in their legs, and then store the other egs that contain prime in an array.
> 
> That array will than serve the purpose modelling the new integer field, using the searched base with highest composite reduction.
> 
> 
> The script seaching the bases take a few seconds, so there could be alot of improvements. I have a feeling that using bignumb bases as sieves will be out of range for us mere mortals, but who knows maybe for computer theorists.

At least i am impressed how well it reduce the composite integer field but of course you need a big array...

The math guys said just construct the base using the primes 2*3*5*7*11*13*17... and so on.

NEWBASE = 510510 ------------------------------------------
BASE= 510510 Composite legs= 92.91551585669234% ===============
One could say it is a bit clumsy but i think it is neat be able to peel of numbers that do not even need to be considered for primality test.

[toc] | [prev] | [next] | [standalone]


#546048

FromSylvia Else <sylvia@not.at.this.address>
Date2016-01-17 23:35 +1100
Message-ID<dg1g4rFljbuU1@mid.individual.net>
In reply to#546046
On 17/01/2016 8:45 PM, jonas.thornvall@gmail.com wrote:
> Maybe we could have a challenge finding the base with best reducion
> upto 100 000000? One probably do not want to store more vectors than
> that in memory i guess
>
> Reducing composites in the integer field
> http://jt.node365.se/composite.html
>
>
> I've made my own kind of primality sieve that work by reducing lthe
> number field into composite "legs" and prime "egs". The legs that
> contain just composites in the numberfield will be thrown away
> sieved?
>
> I asked the people at sci.math if there was a known upper limit for
> the reduction using this type of counters in the integer field, they
> said no.
>
> I wonder if there is a name for this type of sieve/counter within
> information theory?
>
> My idea is to find a base with very high percentage of composite
> legs, remove all start numbers that produce only composites in their
> legs, and then store the other egs that contain prime in an array.
>
> That array will than serve the purpose modelling the new integer
> field, using the searched base with highest composite reduction.
>
>
> The script seaching the bases take a few seconds, so there could be
> alot of improvements. I have a feeling that using bignumb bases as
> sieves will be out of range for us mere mortals, but who knows maybe
> for computer theorists.
>

If you're going to attach a special meaning to words, such as legs and 
egs (you've put them into quotes, after all), you should explain what 
you mean by them.

Sylvia.

[toc] | [prev] | [standalone]


Back to top | Article view | sci.physics


csiph-web