[number theory] sieving with a_i mod p_i
#2
(09/09/2014, 01:10 AM)tommy1729 Wrote: Consider all the primes between 1 and 100.
Call them p_i.

If we want to count the primes between 100 and 10000 then we sieve that interval with 0 mod p_i.

But what happens if say we sieve 7 mod p_i ?
( 7 mod 2 => 1 mod 2 , 7 mod 3 => 1 mod 3 , 7 mod 5 => 2 mod 5 , 7 mod 7 => 0 mod 7 , 7 mod 11 , ... )

In general what happens if we sieve a_i mod p_i with 0 < a_i < p_i ?


How do we choose the a_i such that we sieve as many numbers as possible ?
Or how do we choose the a_i such that there are as many numbers left as possible ?

regards

tommy1729

It took me a couple minutes to really figure out what you were even asking here. Once I did, I threw together some tests in Excel. I was expecting it to be very erratic, but counter-intuitively, it's really stable. I haven't had a chance to validate these numbers or write some gp code, so these numbers are very preliminary, but...

Taking primes between 2 and 97 ("100"), and sieving the numbers from 101 to 10000, I get:

Code:
a_i     Count("Primes")
0..27   1204
28..33  1203
34..51  1202
52..59  1201
60..69  1200
70..71  1199
72..77  1198
78..93  1197
94..96  1196

I suppose the numbers might be more stable if I had sieved from 98 to 97^2? Or perhaps from 98 to 101^2-1? Anyway, this single data point suggests that low numbers, close to 0, maximize the number of "primes".
~ Jay Daniel Fox
Reply


Messages In This Thread
RE: [number theory] sieving with a_i mod p_i - by jaydfox - 09/10/2014, 04:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  X-th iteration where x is a real number Natsugou 1 5,671 10/27/2024, 11:23 PM
Last Post: MphLee
  What is this number (\(\dots 98869612812995910644531\))? marcokrt 1 2,810 05/30/2023, 07:09 PM
Last Post: marcokrt
  [UFO] "commutative number theory " f(g) = g(f) tommy1729 0 2,322 03/24/2023, 11:36 PM
Last Post: tommy1729
  geometric function theory ideas tommy1729 0 2,877 12/31/2022, 12:19 AM
Last Post: tommy1729
Question Is the Tetra-Euler Number Rational? Catullus 1 3,333 07/17/2022, 06:37 AM
Last Post: JmsNxn
Question Natural Properties of the Tetra-Euler Number Catullus 6 10,049 07/01/2022, 08:16 AM
Last Post: Catullus
  " x-theory " tommy1729 1 3,920 08/12/2021, 12:17 AM
Last Post: tommy1729
  Dynamical Systems and Number Theory Daniel 4 9,347 06/01/2021, 11:34 PM
Last Post: JmsNxn
  Cellular auto : rule 30 number ? tommy1729 0 5,233 08/03/2016, 08:31 PM
Last Post: tommy1729
  Set theory debate : cantor 1st / Virgil argument. tommy1729 1 7,580 12/08/2015, 11:14 PM
Last Post: tommy1729



Users browsing this thread: 1 Guest(s)