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


Groups > sci.electronics.design > #402952

Re: fun with primorials and prime numbers

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.electronics.design, sci.math
Subject Re: fun with primorials and prime numbers
Date 2016-03-15 11:24 -0700
Organization Aioe.org NNTP Server
Message-ID <nc9k04$1p1v$1@gioia.aioe.org> (permalink)
References (9 earlier) <nc5snq$o9p$1@dont-email.me> <nc6bki$ps3$1@gioia.aioe.org> <nc6e7b$mt9$1@dont-email.me> <nc6fo6$11kq$2@gioia.aioe.org> <nc6mqc$pfa$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 3/14/2016 8:56 AM, David Brown wrote:
> On 14/03/16 14:53, Jamie M wrote:
>
>> Hi,
>>
>> If you want to contribute something more useful, you could help me find
>> this sequence of pisano periods:
>>
>
> I believe I /have/ been contributing usefully - I have been trying to
> encourage you towards logical and critical thinking, accurate use of
> terminology, and a scientific viewpoint.
>
> If you prefer, I could usefully give my blunt opinion on where this is
> all going, but I would much rather be optimistic and encourage your
> curiosity.
>
>


Hi,

I just made a cool discovery that 6n+1 and 6n+5 have some periodic (non
random) patterns of their relative prime distributions.

For 6n+1 for the non negative integers, all the primes in it, ie
starting with:

6n+1 produces primes:
7
13
19
31
37
43
61
67
73
79
97
103

6n+5 produces primes:
5
11
17
23
29
41
47
53
59
71
83
89
101
107

Now I make a new binary sequence where 6n+1 primes are assigned 0 and
6n+5 primes are assigned to 1, and then the sequence is filled in order
from smallest primes to largest primes, so the sequence created looks
like this:

1  (5 = 6n+5 prime so binary1)
0  (7 = 6n+1 prime so binary0)
1  (11 = 6n+5 prime so binary1)
0  (13 = 6n+1 prime so binary0)
1  (etc.. for increasing primes)
0
1
1
0
0
1
0
1
1
1
0
0
1
0
0
1
1
0
1
0
...
I did this sequence to millions of digits and then checked it for
periodic patterns compared to a pseudorandom binary sequence, and
am currently still checking it more for longer sequences, up to 3million
binary digits so far.  For one million sequence length I noticed some
apparent periodic patterns more than the binary pseudorandom sequence.

Then randomly today I came across this news story about something
very similar about prime distributions being biased in adjacent residue
classes:

http://arxiv.org/abs/1603.03720

https://www.quantamagazine.org/20160313-mathematicians-discover-prime-conspiracy/

The formulas I am using, ie 6n+1 and 6n+5 are reduced residue
systems I think..

As someone on sci.math replied to me a couple weeks ago:

"That list of 5760 numbers which have no common factor with 30030 is
called its "reduced residue set".  It contains 1, all the primes from
17 up to 30029, a lot of semiprimes, and other composites like 17*19*23
which maybe have some other name.  They're all part of that reduced
residue set modulo 30030."

https://en.wikipedia.org/wiki/Reduced_residue_system

So.. from all that it makes sense that some non-random periodic
patterns should be visible when comparing 6n+1 and 6n+5 "reduced
residue sets".  The way I have done this is by combining the two
sets of primes from 6n+1 and 6n+5, and assigning a 0 to 6n+1 primes,
and a 1 to 6n+5 primes, and making this into a new binary sequence,
then checking that sequence for periodic patterns (comparing it
against a pseudorandom binary sequence).

I did it for 1million sequence length, and am currently running
the code for 3million sequence length to see, but there are
slightly more periodic patterns in the 1million sequence length
for the 6n+1/6n+5 compared to the pseudorandom binary sequence.

What I really want to do is a "higher" reside system, ie
y=30x+b (30 primorial) where there are 11 b's that for all
non negative integers will create more than one prime y.

And then using base11 (or a subset of the 11 b's ie base10)
create a new sequence like the binary sequence for 6n+1/6n+5,
except a base10 sequence, and then see if that has many periodic
patterns compared to a pseudorandom sequence, also permutations
of the reduced residue sets, ie maybe 3 or 5 of the b's etc
turned into the single sequence.

So I think there are self referential patterns in the primes
and probably patterns in the primes related to things outside
the primes too, just gotta find them..

But a good quote about this on John Baez blog:

https://plus.google.com/117663015413546257905

"
If you have a prime that ends in a 7, what's the probability that the 
next prime ends in a 7?

I would still expect the answer to be close to 25%. But these 
mathematicians, Robert Oliver and Kannan Soundarajan, actually looked!

And they found that among the first hundred million primes, the answer 
is just 17.757%. That's way off!
...

Of course, what's really surprising is not this correlation between the 
last digits of consecutive primes, but that number theorists hadn't 
thought to look for it until now!
"

So it's always good to look for patterns even if they seem simple
especially if you have a computer it is easy to do.

I didn't find the pattern in this news story, but I think there
is a more general pattern of primorial reduced residue sets
that is interesting to try to figure out (probably explained already
by the prime k-tuples conjecture as stated in the quantamagazine.org
article linked above.

(basically I have no idea what I'm doing but it is fun!)

cheers,
Jamie




Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-06 23:27 -0800
  Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-06 23:58 -0800
    Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-07 03:57 -0800
      Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-08 00:03 -0800
        Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-08 03:02 -0800
          Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-08 17:18 +0000
          Re: fun with primorials and prime numbers James Waldby <not@valid.invalid> - 2016-03-08 21:16 +0000
            Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-09 19:10 -0800
              Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-10 08:50 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-13 23:50 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 09:31 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 05:42 -0700
                Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-14 13:14 +0000
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:37 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:40 -0700
                Re: fun with primorials and prime numbers Peter Percival <peterxpercival@hotmail.com> - 2016-03-14 13:59 +0000
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 14:30 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:49 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 16:51 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 10:36 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 06:53 -0700
                Re: fun with primorials and prime numbers David Brown <david.brown@hesbynett.no> - 2016-03-14 16:56 +0100
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-14 10:51 -0700
                Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-15 11:24 -0700
          Re: fun with primorials and prime numbers William Elliot <marsh@panix.com> - 2016-03-08 19:24 -0800
            Re: fun with primorials and prime numbers Jamie M <jmorken@shaw.ca> - 2016-03-09 19:12 -0800
              Re: fun with primorials and prime numbers Virgil <VIRGIL@VIRGIL.com> - 2016-03-09 23:15 -0700
  Re: fun with primorials and prime numbers Sylvia Else <sylvia@not.at.this.address> - 2016-03-09 16:22 +1100

csiph-web