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


Groups > sci.electronics.design > #403041 > unrolled thread

simple proof to explain the "shocking" news about primes last digits not being random

Started byJamie M <jmorken@shaw.ca>
First post2016-03-16 03:45 -0700
Last post2016-03-16 11:17 -0700
Articles 20 on this page of 40 — 9 participants

Back to article view | Back to sci.electronics.design


Contents

  simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 03:45 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 04:41 -0700
      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:06 -0700
        Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:28 -0700
          Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:53 -0700
            Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-16 15:07 +0100
              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 07:35 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 08:14 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-17 22:36 +0100
              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 09:51 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 09:55 -0700
                  Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:04 -0700
                    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:10 -0700
                      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:42 -0700
                        Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:24 -0700
                          Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 16:42 -0700
                            Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-16 20:31 -0400
                              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:25 -0700
                                Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-17 02:41 -0400
                                  Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 10:37 -0700
                                    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 10:59 -0700
                                      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 13:21 -0700
                                  Re: simple proof to explain the "shocking" news about primes last digits not being random Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-03-18 14:28 +0000
                                    Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-19 13:22 +0100
                                      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie Morken <jmorken@shaw.ca> - 2016-03-21 13:46 -0700
                                    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie Morken <jmorken@shaw.ca> - 2016-03-19 14:47 -0700
                              Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-16 21:29 -0400
                                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:32 -0700
                                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 19:05 -0700
                                Re: simple proof to explain the "shocking" news about primes last digits not being random Joe <joe@somewhere.org> - 2016-03-19 02:27 +0000
                              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:29 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-17 22:37 +0100
    Re: simple proof to explain the "shocking" news about primes last digits not being random Sylvia Else <sylvia@not.at.this.address> - 2016-03-16 22:47 +1100
      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:08 -0700
        Re: simple proof to explain the "shocking" news about primes last digits not being random Sylvia Else <sylvia@not.at.this.address> - 2016-03-17 12:29 +1100
          Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:42 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random Virgil <VIRGIL@VIRGIL.com> - 2016-03-16 11:14 -0700
      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:14 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random DaveC <not@home.cow> - 2016-03-16 11:11 -0700
      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:17 -0700

Page 1 of 2  [1] 2  Next page →


#403041 — simple proof to explain the "shocking" news about primes last digits not being random

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 03:45 -0700
Subjectsimple proof to explain the "shocking" news about primes last digits not being random
Message-ID<ncbdg9$6fd$1@gioia.aioe.org>
Hi,

Based on these news stories that apparently shocked mathematicians:

http://phys.org/news/2016-03-mathematician-pair-prime-random-thought.html

https://www.newscientist.com/article/2080613-mathematicians-shocked-to-find-pattern-in-random-prime-numbers/

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

Here is a new result I came up with that might be interesting related to 
this, and hopefully explain it.  For all non negative integers x and for 
primorial 30 there are 8 equation sets that produce all primes except 2,3,5.

y = 30x + 1
y = 30x + 7
y = 30x + 11
y = 30x + 13
y = 30x + 17
y = 30x + 19
y = 30x + 23
y = 30x + 29

There always have to be a divisible by 4 number of these equation sets, 
since 1/4 of them produce all primes ending in 1,3,7,9 respectively.  Ie:
y = 30x + 1 (produces half of primes ending in 1)
y = 30x + 7 (produces half of primes ending in 7)
y = 30x + 11 (produces half of primes ending in 1)
y = 30x + 13 (produces half of primes ending in 3)
y = 30x + 17 (produces half of primes ending in 7)
y = 30x + 19 (produces half of primes ending in 9)
y = 30x + 23 (produces half of primes ending in 3)
y = 30x + 29 (produces half of primes ending in 9)

So statistically it would make sense that these equations would be 
randomly distributed regarding their distribution of primes, so for any 
next prime each of the eight equations has a 1/8th probability of 
producing the next prime, but there is a 30 digit gap for the same 
equation to do this, which is more than the expected prime gap spacing 
up to reasonably large numbers, so really it is more likely for one of 
the 7 other different equations to produce the next prime, and only one 
of them has the same next digit 7, so the odds are the next digit will 
not be a repeating 7.

Simple proof! :D

cheers,
Jamie

[toc] | [next] | [standalone]


#403047

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 04:41 -0700
Message-ID<ncbgq4$cq1$1@gioia.aioe.org>
In reply to#403041
On 3/16/2016 3:45 AM, Jamie M wrote:
> Hi,
>
> Based on these news stories that apparently shocked mathematicians:
>
> http://phys.org/news/2016-03-mathematician-pair-prime-random-thought.html
>
> https://www.newscientist.com/article/2080613-mathematicians-shocked-to-find-pattern-in-random-prime-numbers/
>
>
> https://www.quantamagazine.org/20160313-mathematicians-discover-prime-conspiracy/
>
>
> Here is a new result I came up with that might be interesting related to
> this, and hopefully explain it.  For all non negative integers x and for
> primorial 30 there are 8 equation sets that produce all primes except
> 2,3,5.
>
> y = 30x + 1
> y = 30x + 7
> y = 30x + 11
> y = 30x + 13
> y = 30x + 17
> y = 30x + 19
> y = 30x + 23
> y = 30x + 29
>
> There always have to be a divisible by 4 number of these equation sets,
> since 1/4 of them produce all primes ending in 1,3,7,9 respectively.  Ie:
> y = 30x + 1 (produces half of primes ending in 1)
> y = 30x + 7 (produces half of primes ending in 7)
> y = 30x + 11 (produces half of primes ending in 1)
> y = 30x + 13 (produces half of primes ending in 3)
> y = 30x + 17 (produces half of primes ending in 7)
> y = 30x + 19 (produces half of primes ending in 9)
> y = 30x + 23 (produces half of primes ending in 3)
> y = 30x + 29 (produces half of primes ending in 9)
>
> So statistically it would make sense that these equations would be
> randomly distributed regarding their distribution of primes, so for any
> next prime each of the eight equations has a 1/8th probability of
> producing the next prime, but there is a 30 digit gap for the same
> equation to do this, which is more than the expected prime gap spacing
> up to reasonably large numbers, so really it is more likely for one of
> the 7 other different equations to produce the next prime, and only one
> of them has the same next digit 7, so the odds are the next digit will
> not be a repeating 7.
>
> Simple proof! :D
>
> cheers,
> Jamie


Here is some more info on this:

For equation sets for primorial 210, there are 48 equations that produce 
all the primes (except the primes 2,3,5,7 which are the unique prime 
factors of primorial 210).  So that is 48/4 = 12 equations each that 
produce all primes ending in 1,3,7,9)

It is interesting to see the pattern in consecutive primorials: 
primorial 6 has two equations, 6x+1 and 6x+5, primorial 30 has 8 
equations, primorial 210 has 48 equations, primorial 2310 has 480 
equations, primorial 30030 has 5760 equations, and notice that

(primorial x equation count) / (primorial x-1 equation count) = pattern
48/8=6
480/48=10
5760/480=12
92160/5760=16 *extrapolated from guessed oeis sequence A005867
1658880/92160=18
36495360/1658880=22
1021870080/36495360=28

So there should be a pattern of how many equations there will be for any 
primorial, and the number of prime producing equations is always 
divisible by 4 to equally produce primes ending in 1,3,7,9, except for 
the primorial's unique prime factors.

So it looks like this sequence: https://oeis.org/A005867 is how many 
equations each primorial has to produce all primes, and then this sequence:
http://oeis.org/A006093 (.. 6, 10, 12, 16, 18, 22, 28,..) is the
(primorial x equation count) / (primorial x-1 equation count), and this
sequence happens to be Primes minus 1.

sequence https://oeis.org/A005867
1, 1, 2, 8, 48, 480, 5760, 92160, 1658880, 36495360, 1021870080, 
30656102400, 1103619686400, 44144787456000, 1854081073152000, 
85287729364992000, 4434961926979584000, 257227791764815872000, 
15433667505888952320000

sequence http://oeis.org/A006093 (primes minus 1)
1, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 
70,..

There are no equations in the same format that have fewer equations than 
the primorials for other numbers small than the primorial used, and as 
the primorial size gets larger the percentage of required equations to 
produce all the primes decreases and starts to just look like the 
sequence of primes.

cheers,
Jamie

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


#403053

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 06:06 -0700
Message-ID<ncblp5$lfm$1@gioia.aioe.org>
In reply to#403047


The reason there is OEIS sequence: A006093 (primes minus 1)
1, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 
70,..

is because for the next larger primorial sequence, there is one more
prime factor that isn’t included in the list of equations I think.

cheers,
Jamie


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


#403055

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 06:28 -0700
Message-ID<ncbn19$nol$1@gioia.aioe.org>
In reply to#403053
On 3/16/2016 6:06 AM, Jamie M wrote:
>
>
>
> The reason there is OEIS sequence: A006093 (primes minus 1)
> 1, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66,
> 70,..
>
> is because for the next larger primorial sequence, there is one more
> prime factor that isn’t included in the list of equations I think.
>
> cheers,
> Jamie
>
>
>

To evaluate the number of pairs of consecutive primes you could take a
sum of all primorial equation sets equation counts, ie how it can work
for just primorial 30:

y = 30x + 1 (produces half of primes ending in 1)
y = 30x + 7 (produces half of primes ending in 7)
y = 30x + 11 (produces half of primes ending in 1)
y = 30x + 13 (produces half of primes ending in 3)
y = 30x + 17 (produces half of primes ending in 7)
y = 30x + 19 (produces half of primes ending in 9)
y = 30x + 23 (produces half of primes ending in 3)
y = 30x + 29 (produces half of primes ending in 9)

Within any 30 numbers, there is a 25% chance (2/8) for each prime
to be a 1,3,7 or 9. But if there is already a 1,3,7, or 9 in that
set of 30 numbers, and if there is a second prime in that 30 number 
range, then there is only a 14.28% chance (1/7) that it will also end 
with the same digit, since there are only 2 equations that can make 
primes for each ending digit in the 30 number range.

This has to be summed for all primorial equation sets to get the 
probability of finding the next prime for what digit it will end with. 
Each primorial equation set deals with a range of numbers that are equal 
to the primorial number itself. For large primorials there are many 
different equations that produce primes ending in 1,3,7,9, ie primorial 
2310 has 120 equations that produce primes ending in each of 1,3,7,9 for 
a total of 480 equations. So the probability is 120/480 = 25% for each 
prime in the range 2310 to be either 1,3,7,9. If there is a second prime 
in that 2310 range, then there is only a 24.79% chance (119/480) that it 
will also end with the same digit, since there are only 120 equations 
that can make primes for each ending digit in the 2310 number range.


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


#403059

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 06:53 -0700
Message-ID<ncbogs$qg1$1@gioia.aioe.org>
In reply to#403055
On 3/16/2016 6:28 AM, Jamie M wrote:
> On 3/16/2016 6:06 AM, Jamie M wrote:
>>
>>
>>
>> The reason there is OEIS sequence: A006093 (primes minus 1)
>> 1, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66,
>> 70,..
>>
>> is because for the next larger primorial sequence, there is one more
>> prime factor that isn’t included in the list of equations I think.
>>
>> cheers,
>> Jamie
>>
>>
>>
>
> To evaluate the number of pairs of consecutive primes you could take a
> sum of all primorial equation sets equation counts, ie how it can work
> for just primorial 30:
>
> y = 30x + 1 (produces half of primes ending in 1)
> y = 30x + 7 (produces half of primes ending in 7)
> y = 30x + 11 (produces half of primes ending in 1)
> y = 30x + 13 (produces half of primes ending in 3)
> y = 30x + 17 (produces half of primes ending in 7)
> y = 30x + 19 (produces half of primes ending in 9)
> y = 30x + 23 (produces half of primes ending in 3)
> y = 30x + 29 (produces half of primes ending in 9)
>
> Within any 30 numbers, there is a 25% chance (2/8) for each prime
> to be a 1,3,7 or 9. But if there is already a 1,3,7, or 9 in that
> set of 30 numbers, and if there is a second prime in that 30 number
> range, then there is only a 14.28% chance (1/7) that it will also end
> with the same digit, since there are only 2 equations that can make
> primes for each ending digit in the 30 number range.
>
> This has to be summed for all primorial equation sets to get the
> probability of finding the next prime for what digit it will end with.
> Each primorial equation set deals with a range of numbers that are equal
> to the primorial number itself. For large primorials there are many
> different equations that produce primes ending in 1,3,7,9, ie primorial
> 2310 has 120 equations that produce primes ending in each of 1,3,7,9 for
> a total of 480 equations. So the probability is 120/480 = 25% for each
> prime in the range 2310 to be either 1,3,7,9. If there is a second prime
> in that 2310 range, then there is only a 24.79% chance (119/480) that it
> will also end with the same digit, since there are only 120 equations
> that can make primes for each ending digit in the 2310 number range.
>
>
>


What I've been trying to figure out for awhile is how many equations a 
given primorial uses to create all the primes (except for the unique
prime factors of the primorial used)

for primorial 6 it is 2 equations:
6x+1
6x+5

for primorial 30 it is 8 equations:

y = 30x + 1
y = 30x + 7
y = 30x + 11
y = 30x + 13
y = 30x + 17
y = 30x + 19
y = 30x + 23
y = 30x + 29

for primorial 210 it is 48 equations
for primorial 2310 it is 480 equations
for primorial 30030 it is 5760 equations

I found the pattern by checking on OEIS

This sequence is how many equations each primorial has to produce all 
primes:

sequence https://oeis.org/A005867
1, 1, 2, 8, 48, 480, 5760, 92160, 1658880, 36495360, 1021870080, 
30656102400, 1103619686400, 44144787456000, 1854081073152000, 
85287729364992000, 4434961926979584000, 257227791764815872000, 
15433667505888952320000

This sequence is (primorial x equation count) / (primorial x-1 equation 
count):

sequence http://oeis.org/A006093 (primes minus 1)
1, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 
70,..

So matching up equation A005867:

primorial (primorial equation count equal to A005867 sequence)
6 2
30 8
210 48
2310 480
30030 5760
510510 92160
9699690 1658880
223092870 36495360
6469693230 1021870080
200560490130 30656102400
7420738134810 1103619686400
304250263527210 44144787456000
13082761331670030 1854081073152000

The reason I wanted to find this is to see the ratio of equations
required as the size of primorial goes up, so now I have the
equation it is easy, before by running my computer it took days to
manually calculate the ratios just up to 2000 or so..

ie: these below ratios are related to the prime density of the
primorial equations, the lower the ratio the higher the prime density.

the ratio of equations for primorial 6 is 2/6=0.3333..
the ratio of equations for primorial 30 is 8/30=0.2666..
the ratio of equations for primorial 210 is 48/210=0.2285..
the ratio of equations for primorial 2310 is 0.20779..
the ratio of equations for primorial 30030 is 0.1918..
the ratio of equations for primorial 510510 is 0.1805..
the ratio of equations for primorial 9699690 is 0.1710..
the ratio of equations for primorial 223092870 is 0.1636..
the ratio of equations for primorial 6469693230 is 0.1579..
the ratio of equations for primorial 200560490130 is 0.1529..
the ratio of equations for primorial 7420738134810 is 0.1487..
the ratio of equations for primorial 304250263527210 is 0.1451..
the ratio of equations for primorial 13082761331670030 is 0.1417..

Seems like the ratio is getting smaller and smaller, and it will
approach zero eventually I think at infinite primorial size.

So what is the formula for the curve this sequence makes?

0.3333
0.2666
0.2285
0.20779
0.1918
0.1805
0.171
0.1636
0.1579
0.1529
0.1487
0.1451
0.1417
...
to zero I think

cheers,
Jamie










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


#403061

FromGottfried Helms <helms@uni-kassel.de>
Date2016-03-16 15:07 +0100
Message-ID<ncbpbk$51c$1@news.albasani.net>
In reply to#403059
Am 16.03.2016 um 14:53 schrieb Jamie M:
> 
> What I've been trying to figure out for awhile is how many equations a 
> given primorial uses to create all the primes (except for the unique
> prime factors of the primorial used)
> 
> for primorial 6 it is 2 equations:
> 6x+1
> 6x+5
> 
> for primorial 30 it is 8 equations:
> 
> y = 30x + 1
> y = 30x + 7
> y = 30x + 11
> y = 30x + 13
> y = 30x + 17
> y = 30x + 19
> y = 30x + 23
> y = 30x + 29
> 
> for primorial 210 it is 48 equations
> for primorial 2310 it is 480 equations
> for primorial 30030 it is 5760 equations
> 

Did you notice that
eulerphi(3)
 %561 = 2

eulerphi(3*5)
 %562 = 8

eulerphi(3*5*7)
 %563 = 48

eulerphi(3*5*7*11)
 %564 = 480


Gottfried

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


#403066

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 07:35 -0700
Message-ID<ncbqul$v3h$1@gioia.aioe.org>
In reply to#403061
On 3/16/2016 7:07 AM, Gottfried Helms wrote:
> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>
>> What I've been trying to figure out for awhile is how many equations a
>> given primorial uses to create all the primes (except for the unique
>> prime factors of the primorial used)
>>
>> for primorial 6 it is 2 equations:
>> 6x+1
>> 6x+5
>>
>> for primorial 30 it is 8 equations:
>>
>> y = 30x + 1
>> y = 30x + 7
>> y = 30x + 11
>> y = 30x + 13
>> y = 30x + 17
>> y = 30x + 19
>> y = 30x + 23
>> y = 30x + 29
>>
>> for primorial 210 it is 48 equations
>> for primorial 2310 it is 480 equations
>> for primorial 30030 it is 5760 equations
>>
>
> Did you notice that
> eulerphi(3)
>   %561 = 2
>
> eulerphi(3*5)
>   %562 = 8
>
> eulerphi(3*5*7)
>   %563 = 48
>
> eulerphi(3*5*7*11)
>   %564 = 480
>
>
> Gottfried
>
>


Hi,

No what does that signify?


I made another discovery though! :D

Basically the primes are organized into blocks!!

The block sizes are all length of primorials and they are
all lined up with common edges on the blocks..

so for example there are 5 primorial6 blocks within
primorial30:

((6)(6)(6)(6)(6)) = (30) a primorial30 block

and there are seven primorial 30 blocks in the next up primorial210

((30)(30)(30)(30)(30)(30)(30)) = (210) a primorial210 block

this goes on for infinity for all primorials.

Why is this important?

Because reason1 related to the recent news about primes last
digits not being random:

The probability of the primes last digits is proportional
to the block size considered!  This is because each block
size has a corresponding multiple of 4 set of equations that produce
all the primes, except for the blocks (primorial) unique prime factors,
and each of the equations will produce primes ending in a specific
digit 1,3,7,9.  So everytime a 1,3,7 or 9 ending prime is in a
given block, the chance that there will be another 1,3,7, or 9 in
that same block will be decreased proportional to the number of
equations in the block that produce primes with that last digit
1,3,7 or 9.

As I stated before ie for primorial 2310 has 120 equations that produce 
primes ending in each of 1,3,7,9 for a total of 480 equations. So the 
probability is 120/480 = 25% for each prime in the range 2310 to be 
either 1,3,7,9. If there is a second prime in that 2310 range, then 
there is only a 24.79% chance (119/480) that it will also end with the 
same digit, since there are only 120 equations that can make primes for 
each ending digit in the 2310 number range.

Remember all the blocks are fractally consistent too!  So it should
be easily analyzed to find the probabilities of consecutive primes
ending digits or any probability of repeating primes end digits etc.

cheers,
Jamie

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


#403070

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 08:14 -0700
Message-ID<ncbt8i$13pc$2@gioia.aioe.org>
In reply to#403066
On 3/16/2016 7:35 AM, Jamie M wrote:

> Basically the primes are organized into blocks!!
>
> The block sizes are all length of primorials and they are
> all lined up with common edges on the blocks..
>
> so for example there are 5 primorial6 blocks within
> primorial30:
>
> ((6)(6)(6)(6)(6)) = (30) a primorial30 block
>
> and there are seven primorial 30 blocks in the next up primorial210
>
> ((30)(30)(30)(30)(30)(30)(30)) = (210) a primorial210 block
>
> this goes on for infinity for all primorials.
>
> Why is this important?
>
> Because reason1 related to the recent news about primes last
> digits not being random:
>
> The probability of the primes last digits is proportional
> to the block size considered!  This is because each block
> size has a corresponding multiple of 4 set of equations that produce
> all the primes, except for the blocks (primorial) unique prime factors,
> and each of the equations will produce primes ending in a specific
> digit 1,3,7,9.  So everytime a 1,3,7 or 9 ending prime is in a
> given block, the chance that there will be another 1,3,7, or 9 in
> that same block will be decreased proportional to the number of
> equations in the block that produce primes with that last digit
> 1,3,7 or 9.
>
> As I stated before ie for primorial 2310 has 120 equations that produce
> primes ending in each of 1,3,7,9 for a total of 480 equations. So the
> probability is 120/480 = 25% for each prime in the range 2310 to be
> either 1,3,7,9. If there is a second prime in that 2310 range, then
> there is only a 24.79% chance (119/480) that it will also end with the
> same digit, since there are only 120 equations that can make primes for
> each ending digit in the 2310 number range.
>
> Remember all the blocks are fractally consistent too!  So it should
> be easily analyzed to find the probabilities of consecutive primes
> ending digits or any probability of repeating primes end digits etc.
>
> cheers,
> Jamie
>


The key point is that it isn’t about consecutive primes, it is about the 
likelihood of subsequent primes with the same last digits occurring 
within a given primorial block 6,30,210,2310 etc, so it is a more 
generalized idea than just consecutive prime last digit occurrences.


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


#403269

FromGottfried Helms <helms@uni-kassel.de>
Date2016-03-17 22:36 +0100
Message-ID<ncf80n$ogt$1@news.albasani.net>
In reply to#403066
Am 16.03.2016 um 15:35 schrieb Jamie M:
> On 3/16/2016 7:07 AM, Gottfried Helms wrote:
>> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>>
>>> What I've been trying to figure out for awhile is how many equations a
>>> given primorial uses to create all the primes (except for the unique
>>> prime factors of the primorial used)
>>>
>>> for primorial 6 it is 2 equations:
>>> 6x+1
>>> 6x+5
>>>
>>> for primorial 30 it is 8 equations:
>>>
>>> y = 30x + 1
>>> y = 30x + 7
>>> y = 30x + 11
>>> y = 30x + 13
>>> y = 30x + 17
>>> y = 30x + 19
>>> y = 30x + 23
>>> y = 30x + 29
>>>
>>> for primorial 210 it is 48 equations
>>> for primorial 2310 it is 480 equations
>>> for primorial 30030 it is 5760 equations
>>>
>>
>> Did you notice that
>> eulerphi(3)
>>   %561 = 2
>>
>> eulerphi(3*5)
>>   %562 = 8
>>
>> eulerphi(3*5*7)
>>   %563 = 48
>>
>> eulerphi(3*5*7*11)
>>   %564 = 480
>>
>>
>> Gottfried
>>
>>
> 
> 
> Hi,
> 
> No what does that signify?
> 
It seems to be the most simple formula to determine the number of equations,
and I'd understood that such a simple formula was part of your question.

Gottfried

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


#403082

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 09:51 -0700
Message-ID<ncc2vb$1e67$1@gioia.aioe.org>
In reply to#403061
On 3/16/2016 7:07 AM, Gottfried Helms wrote:
> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>
>> What I've been trying to figure out for awhile is how many equations a
>> given primorial uses to create all the primes (except for the unique
>> prime factors of the primorial used)
>>
>> for primorial 6 it is 2 equations:
>> 6x+1
>> 6x+5
>>
>> for primorial 30 it is 8 equations:
>>
>> y = 30x + 1
>> y = 30x + 7
>> y = 30x + 11
>> y = 30x + 13
>> y = 30x + 17
>> y = 30x + 19
>> y = 30x + 23
>> y = 30x + 29
>>
>> for primorial 210 it is 48 equations
>> for primorial 2310 it is 480 equations
>> for primorial 30030 it is 5760 equations
>>
>
> Did you notice that
> eulerphi(3)
>   %561 = 2
>
> eulerphi(3*5)
>   %562 = 8
>
> eulerphi(3*5*7)
>   %563 = 48
>
> eulerphi(3*5*7*11)
>   %564 = 480
>
>
> Gottfried
>
>

What is the %561 is that mod?

cheers,
Jamie

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


#403083

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 09:55 -0700
Message-ID<ncc36j$1es2$1@gioia.aioe.org>
In reply to#403082
On 3/16/2016 9:51 AM, Jamie M wrote:
> On 3/16/2016 7:07 AM, Gottfried Helms wrote:
>> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>>
>>> What I've been trying to figure out for awhile is how many equations a
>>> given primorial uses to create all the primes (except for the unique
>>> prime factors of the primorial used)
>>>
>>> for primorial 6 it is 2 equations:
>>> 6x+1
>>> 6x+5
>>>
>>> for primorial 30 it is 8 equations:
>>>
>>> y = 30x + 1
>>> y = 30x + 7
>>> y = 30x + 11
>>> y = 30x + 13
>>> y = 30x + 17
>>> y = 30x + 19
>>> y = 30x + 23
>>> y = 30x + 29
>>>
>>> for primorial 210 it is 48 equations
>>> for primorial 2310 it is 480 equations
>>> for primorial 30030 it is 5760 equations
>>>
>>
>> Did you notice that
>> eulerphi(3)
>>   %561 = 2
>>
>> eulerphi(3*5)
>>   %562 = 8
>>
>> eulerphi(3*5*7)
>>   %563 = 48
>>
>> eulerphi(3*5*7*11)
>>   %564 = 480
>>
>>
>> Gottfried
>>
>>
>
> What is the %561 is that mod?
>
> cheers,
> Jamie
>
>

I see ya the number of equations that produce primes (other than the
primorials unique prime factors) for a given primorial is
eulerphi(product of the primorial primefactors except 2) I guess?

cheers,
Jamie


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


#403084

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 10:04 -0700
Message-ID<ncc3ms$1ftf$1@gioia.aioe.org>
In reply to#403083
On 3/16/2016 9:55 AM, Jamie M wrote:
> On 3/16/2016 9:51 AM, Jamie M wrote:
>> On 3/16/2016 7:07 AM, Gottfried Helms wrote:
>>> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>>>
>>>> What I've been trying to figure out for awhile is how many equations a
>>>> given primorial uses to create all the primes (except for the unique
>>>> prime factors of the primorial used)
>>>>
>>>> for primorial 6 it is 2 equations:
>>>> 6x+1
>>>> 6x+5
>>>>
>>>> for primorial 30 it is 8 equations:
>>>>
>>>> y = 30x + 1
>>>> y = 30x + 7
>>>> y = 30x + 11
>>>> y = 30x + 13
>>>> y = 30x + 17
>>>> y = 30x + 19
>>>> y = 30x + 23
>>>> y = 30x + 29
>>>>
>>>> for primorial 210 it is 48 equations
>>>> for primorial 2310 it is 480 equations
>>>> for primorial 30030 it is 5760 equations
>>>>
>>>
>>> Did you notice that
>>> eulerphi(3)
>>>   %561 = 2
>>>
>>> eulerphi(3*5)
>>>   %562 = 8
>>>
>>> eulerphi(3*5*7)
>>>   %563 = 48
>>>
>>> eulerphi(3*5*7*11)
>>>   %564 = 480
>>>
>>>
>>> Gottfried
>>>
>>>
>>
>> What is the %561 is that mod?
>>
>> cheers,
>> Jamie
>>
>>
>
> I see ya the number of equations that produce primes (other than the
> primorials unique prime factors) for a given primorial is
> eulerphi(product of the primorial primefactors except 2) I guess?
>
> cheers,
> Jamie
>
>
>

Maybe that is all the coprimes of the primorial/2 !? :)

https://en.wikipedia.org/wiki/Euler's_totient_function

cheers,
Jamie

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


#403085

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 10:10 -0700
Message-ID<ncc434$1gki$1@gioia.aioe.org>
In reply to#403084
On 3/16/2016 10:04 AM, Jamie M wrote:
> On 3/16/2016 9:55 AM, Jamie M wrote:
>> On 3/16/2016 9:51 AM, Jamie M wrote:
>>> On 3/16/2016 7:07 AM, Gottfried Helms wrote:
>>>> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>>>>
>>>>> What I've been trying to figure out for awhile is how many equations a
>>>>> given primorial uses to create all the primes (except for the unique
>>>>> prime factors of the primorial used)
>>>>>
>>>>> for primorial 6 it is 2 equations:
>>>>> 6x+1
>>>>> 6x+5
>>>>>
>>>>> for primorial 30 it is 8 equations:
>>>>>
>>>>> y = 30x + 1
>>>>> y = 30x + 7
>>>>> y = 30x + 11
>>>>> y = 30x + 13
>>>>> y = 30x + 17
>>>>> y = 30x + 19
>>>>> y = 30x + 23
>>>>> y = 30x + 29
>>>>>
>>>>> for primorial 210 it is 48 equations
>>>>> for primorial 2310 it is 480 equations
>>>>> for primorial 30030 it is 5760 equations
>>>>>
>>>>
>>>> Did you notice that
>>>> eulerphi(3)
>>>>   %561 = 2
>>>>
>>>> eulerphi(3*5)
>>>>   %562 = 8
>>>>
>>>> eulerphi(3*5*7)
>>>>   %563 = 48
>>>>
>>>> eulerphi(3*5*7*11)
>>>>   %564 = 480
>>>>
>>>>
>>>> Gottfried
>>>>
>>>>
>>>
>>> What is the %561 is that mod?
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> I see ya the number of equations that produce primes (other than the
>> primorials unique prime factors) for a given primorial is
>> eulerphi(product of the primorial primefactors except 2) I guess?
>>
>> cheers,
>> Jamie
>>
>>
>>
>
> Maybe that is all the coprimes of the primorial/2 !? :)
>
> https://en.wikipedia.org/wiki/Euler's_totient_function
>
> cheers,
> Jamie
>


So maybe the formula is:

eulerphi(primorial/2) = number of equations that produce primes (besides 
the primorials unique prime factors)

so

eulerphi(6/2)=2
2 formulas 6n+1 and 6n+5

seems to work fine.

So with this easy formula its pretty easy to give the probability
of primes occurring based on their last digits in any given primordial
block range.

cheers,
Jamie



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


#403092

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 10:42 -0700
Message-ID<ncc5ui$1kag$1@gioia.aioe.org>
In reply to#403085
On 3/16/2016 10:10 AM, Jamie M wrote:
> On 3/16/2016 10:04 AM, Jamie M wrote:
>> On 3/16/2016 9:55 AM, Jamie M wrote:
>>> On 3/16/2016 9:51 AM, Jamie M wrote:
>>>> On 3/16/2016 7:07 AM, Gottfried Helms wrote:
>>>>> Am 16.03.2016 um 14:53 schrieb Jamie M:
>>>>>>
>>>>>> What I've been trying to figure out for awhile is how many
>>>>>> equations a
>>>>>> given primorial uses to create all the primes (except for the unique
>>>>>> prime factors of the primorial used)
>>>>>>
>>>>>> for primorial 6 it is 2 equations:
>>>>>> 6x+1
>>>>>> 6x+5
>>>>>>
>>>>>> for primorial 30 it is 8 equations:
>>>>>>
>>>>>> y = 30x + 1
>>>>>> y = 30x + 7
>>>>>> y = 30x + 11
>>>>>> y = 30x + 13
>>>>>> y = 30x + 17
>>>>>> y = 30x + 19
>>>>>> y = 30x + 23
>>>>>> y = 30x + 29
>>>>>>
>>>>>> for primorial 210 it is 48 equations
>>>>>> for primorial 2310 it is 480 equations
>>>>>> for primorial 30030 it is 5760 equations
>>>>>>
>>>>>
>>>>> Did you notice that
>>>>> eulerphi(3)
>>>>>   %561 = 2
>>>>>
>>>>> eulerphi(3*5)
>>>>>   %562 = 8
>>>>>
>>>>> eulerphi(3*5*7)
>>>>>   %563 = 48
>>>>>
>>>>> eulerphi(3*5*7*11)
>>>>>   %564 = 480
>>>>>
>>>>>
>>>>> Gottfried
>>>>>
>>>>>
>>>>
>>>> What is the %561 is that mod?
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>
>>> I see ya the number of equations that produce primes (other than the
>>> primorials unique prime factors) for a given primorial is
>>> eulerphi(product of the primorial primefactors except 2) I guess?
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>>
>>
>> Maybe that is all the coprimes of the primorial/2 !? :)
>>
>> https://en.wikipedia.org/wiki/Euler's_totient_function
>>
>> cheers,
>> Jamie
>>
>
>
> So maybe the formula is:
>
> eulerphi(primorial/2) = number of equations that produce primes (besides
> the primorials unique prime factors)
>
> so
>
> eulerphi(6/2)=2
> 2 formulas 6n+1 and 6n+5
>
> seems to work fine.
>
> So with this easy formula its pretty easy to give the probability
> of primes occurring based on their last digits in any given primordial
> block range.
>
> cheers,
> Jamie
>
>
>
>

Hi,

The chance of two primes with last digit 7 occuring in primorial range
30, the odds of that happening are (2/8 + 1/7)/2= 0.196

Proof:

The probability of the first prime being a 7 is 2/8 for primorial30
equation set, with eulerphi(30/2)=8 equations, two of them having
numbers with least significant digits of 7.  The odds of the second
prime being also having a least significant digit of 7 is 1/7 as there
are only 7 equations left that can produce primes in the primorial30
range, and only one equation that produces primes with significant
digits of 7.

So the overall odds of having two primes with last digit being
7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..

NOTE: that the Maximum number of primes that can have last digit of 7
(or more generally the same last digit) within a range of 30 numbers
that are counted consecutively from zero, is 2.

The same calculation can be done for larger primorials, which can have
more of the same ending digit primes in their primorial ranges counted
from zero, but at decreasing probability for each subsequent one,
using that above formula.

I still have to verify this 0.196428 is accurate :D

cheers,
Jamie

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


#403102

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 11:24 -0700
Message-ID<ncc8dd$1pe2$2@gioia.aioe.org>
In reply to#403092
On 3/16/2016 10:42 AM, Jamie M wrote:

>
> Hi,
>
> The chance of two primes with last digit 7 occuring in primorial range
> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>
> Proof:
>
> The probability of the first prime being a 7 is 2/8 for primorial30
> equation set, with eulerphi(30/2)=8 equations, two of them having
> numbers with least significant digits of 7.  The odds of the second
> prime being also having a least significant digit of 7 is 1/7 as there
> are only 7 equations left that can produce primes in the primorial30
> range, and only one equation that produces primes with significant
> digits of 7.
>
> So the overall odds of having two primes with last digit being
> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>
> NOTE: that the Maximum number of primes that can have last digit of 7
> (or more generally the same last digit) within a range of 30 numbers
> that are counted consecutively from zero, is 2.
>
> The same calculation can be done for larger primorials, which can have
> more of the same ending digit primes in their primorial ranges counted
> from zero, but at decreasing probability for each subsequent one,
> using that above formula.
>
> I still have to verify this 0.196428 is accurate :D
>
> cheers,
> Jamie
>
>

Gotta compare this result with the 17.757% result quoted from this page
about this prime spacing:

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?
...they found that among the first hundred million primes, the answer is 
just 17.757%."

I think the difference from 19.6% to 17.757% might be explained by the
impact of subsequent periods of primorial ranges, not sure though.







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


#403145

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 16:42 -0700
Message-ID<nccr0l$rue$1@gioia.aioe.org>
In reply to#403102
On 3/16/2016 11:24 AM, Jamie M wrote:
> On 3/16/2016 10:42 AM, Jamie M wrote:
>
>>
>> Hi,
>>
>> The chance of two primes with last digit 7 occuring in primorial range
>> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>>
>> Proof:
>>
>> The probability of the first prime being a 7 is 2/8 for primorial30
>> equation set, with eulerphi(30/2)=8 equations, two of them having
>> numbers with least significant digits of 7.  The odds of the second
>> prime being also having a least significant digit of 7 is 1/7 as there
>> are only 7 equations left that can produce primes in the primorial30
>> range, and only one equation that produces primes with significant
>> digits of 7.
>>
>> So the overall odds of having two primes with last digit being
>> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>>
>> NOTE: that the Maximum number of primes that can have last digit of 7
>> (or more generally the same last digit) within a range of 30 numbers
>> that are counted consecutively from zero, is 2.
>>
>> The same calculation can be done for larger primorials, which can have
>> more of the same ending digit primes in their primorial ranges counted
>> from zero, but at decreasing probability for each subsequent one,
>> using that above formula.
>>
>> I still have to verify this 0.196428 is accurate :D
>>
>> cheers,
>> Jamie
>>
>>
>
> Gotta compare this result with the 17.757% result quoted from this page
> about this prime spacing:
>
> 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?
> ...they found that among the first hundred million primes, the answer is
> just 17.757%."
>
> I think the difference from 19.6% to 17.757% might be explained by the
> impact of subsequent periods of primorial ranges, not sure though.
>
>


Ok another new idea that still has to be verified:

For primes ending in 7 within a primorial30 block the chance of two
primes ending in 7 should be 19.6% I am pretty sure.. the discrepancy
with the 17.757% comes from consecutive primes that cross from one
primorial block into another, and/or in a higher primorial ie primorial
210 block.

Most consecutive primes that end in 7 will be *within* a specific
primorial block of numbers, but some will cross from one primorial
block into the next, and if they do this, then they have to graduate
up to the next primorial ie if consecutive primes ending in 7 cross
from one primorial30 block to the next, then they go in the primorial210
block, and IF they crossed the fifth primorial30 block, they also will
go in the primorial 30030 block!  These primes that cross primorial
blocks are what changes the 19.6% value down to 17.757% I think.

Here is an example of primorial blocks and how they can be crossed
by consecutive primes.

(primorial6)(primorial6)(primorial6)(primorial6)(primorial6) = 
(primorial30 block)

(primorial30) has 5 primorial6 blocks within it

(primorial210) primorial210 block has 7 primorial 30 blocks within it.

So if there are a pair of consecutive primes, they could be within a
single primorial30 block, or across two consecutive primorial30 blocks,
or in a single primorial210 block, or across two primorial210 blocks,
or in a single primorial30030 block, or across two primorial30030 blocks
etc.. and each time the block size increases, the probability of the two
consecutive primes ending in digit 7 gets closer to 25%.

But to get the overall likelihood of everything all the primorial block
sizes should be taken into account, as well as the frequency that primes
cross from one block to another etc..

Just more speculating anyway still gotta verify all this.

cheers,
Jamie













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


#403156

FromDavid Bernier <david250@videotron.ca>
Date2016-03-16 20:31 -0400
Message-ID<ncctng$t10$1@dont-email.me>
In reply to#403145
On 03/16/2016 07:42 PM, Jamie M wrote:
> On 3/16/2016 11:24 AM, Jamie M wrote:
>> On 3/16/2016 10:42 AM, Jamie M wrote:
>>
>>>
>>> Hi,
>>>
>>> The chance of two primes with last digit 7 occuring in primorial range
>>> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>>>
>>> Proof:
>>>
>>> The probability of the first prime being a 7 is 2/8 for primorial30
>>> equation set, with eulerphi(30/2)=8 equations, two of them having
>>> numbers with least significant digits of 7.  The odds of the second
>>> prime being also having a least significant digit of 7 is 1/7 as there
>>> are only 7 equations left that can produce primes in the primorial30
>>> range, and only one equation that produces primes with significant
>>> digits of 7.
>>>
>>> So the overall odds of having two primes with last digit being
>>> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>>>
>>> NOTE: that the Maximum number of primes that can have last digit of 7
>>> (or more generally the same last digit) within a range of 30 numbers
>>> that are counted consecutively from zero, is 2.
>>>
>>> The same calculation can be done for larger primorials, which can have
>>> more of the same ending digit primes in their primorial ranges counted
>>> from zero, but at decreasing probability for each subsequent one,
>>> using that above formula.
>>>
>>> I still have to verify this 0.196428 is accurate :D
>>>
>>> cheers,
>>> Jamie
>>>
>>>
>>
>> Gotta compare this result with the 17.757% result quoted from this page
>> about this prime spacing:
>>
>> 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?
>> ...they found that among the first hundred million primes, the answer is
>> just 17.757%."
>>
>> I think the difference from 19.6% to 17.757% might be explained by the
>> impact of subsequent periods of primorial ranges, not sure though.
>>
>>
> 
> 
> Ok another new idea that still has to be verified:
> 
> For primes ending in 7 within a primorial30 block the chance of two
> primes ending in 7 should be 19.6% I am pretty sure.. the discrepancy
> with the 17.757% comes from consecutive primes that cross from one
> primorial block into another, and/or in a higher primorial ie primorial
> 210 block.
> 
> Most consecutive primes that end in 7 will be *within* a specific
> primorial block of numbers, but some will cross from one primorial
> block into the next, and if they do this, then they have to graduate
> up to the next primorial ie if consecutive primes ending in 7 cross
> from one primorial30 block to the next, then they go in the primorial210
> block, and IF they crossed the fifth primorial30 block, they also will
> go in the primorial 30030 block!  These primes that cross primorial
> blocks are what changes the 19.6% value down to 17.757% I think.
> 
> Here is an example of primorial blocks and how they can be crossed
> by consecutive primes.
> 
> (primorial6)(primorial6)(primorial6)(primorial6)(primorial6) =
> (primorial30 block)
> 
> (primorial30) has 5 primorial6 blocks within it
> 
> (primorial210) primorial210 block has 7 primorial 30 blocks within it.
> 
> So if there are a pair of consecutive primes, they could be within a
> single primorial30 block, or across two consecutive primorial30 blocks,
> or in a single primorial210 block, or across two primorial210 blocks,
> or in a single primorial30030 block, or across two primorial30030 blocks
> etc.. and each time the block size increases, the probability of the two
> consecutive primes ending in digit 7 gets closer to 25%.
> 
> But to get the overall likelihood of everything all the primorial block
> sizes should be taken into account, as well as the frequency that primes
> cross from one block to another etc..
> 
> Just more speculating anyway still gotta verify all this.
> 
> cheers,
> Jamie

I can reproduce the 17.757% for "7 7" (mod 10) like this,
using PARI/gp:

? c77 = 0; c7 = 0; lastp=7; forprime(q = 8, 2038074750, rc=q%10;
rl=lastp%10; if(abs(rl-7)<1, c7=c7+1; if(abs(rc-7)<1, c77= c77+1));
lastp = q); print(c7,"   ",c77); print(100.0*c77/c7)

25000402   4439355
17.757134465277798333002805314890537

primepi(2038074750) = 100000000 = 10^8 .

====

If we look instead at the block of primes from 10^20 to 10^20 + 10^9,
the probability of "7 7" (mod 10) given a "7" (mod 10) should
be closer to 25% . But by how much?

Dave




-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

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


#403166

FromJamie M <jmorken@shaw.ca>
Date2016-03-16 18:25 -0700
Message-ID<ncd11d$130f$1@gioia.aioe.org>
In reply to#403156
On 3/16/2016 5:31 PM, David Bernier wrote:
> On 03/16/2016 07:42 PM, Jamie M wrote:
>> On 3/16/2016 11:24 AM, Jamie M wrote:
>>> On 3/16/2016 10:42 AM, Jamie M wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> The chance of two primes with last digit 7 occuring in primorial range
>>>> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>>>>
>>>> Proof:
>>>>
>>>> The probability of the first prime being a 7 is 2/8 for primorial30
>>>> equation set, with eulerphi(30/2)=8 equations, two of them having
>>>> numbers with least significant digits of 7.  The odds of the second
>>>> prime being also having a least significant digit of 7 is 1/7 as there
>>>> are only 7 equations left that can produce primes in the primorial30
>>>> range, and only one equation that produces primes with significant
>>>> digits of 7.
>>>>
>>>> So the overall odds of having two primes with last digit being
>>>> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>>>>
>>>> NOTE: that the Maximum number of primes that can have last digit of 7
>>>> (or more generally the same last digit) within a range of 30 numbers
>>>> that are counted consecutively from zero, is 2.
>>>>
>>>> The same calculation can be done for larger primorials, which can have
>>>> more of the same ending digit primes in their primorial ranges counted
>>>> from zero, but at decreasing probability for each subsequent one,
>>>> using that above formula.
>>>>
>>>> I still have to verify this 0.196428 is accurate :D
>>>>
>>>> cheers,
>>>> Jamie
>>>>
>>>>
>>>
>>> Gotta compare this result with the 17.757% result quoted from this page
>>> about this prime spacing:
>>>
>>> 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?
>>> ...they found that among the first hundred million primes, the answer is
>>> just 17.757%."
>>>
>>> I think the difference from 19.6% to 17.757% might be explained by the
>>> impact of subsequent periods of primorial ranges, not sure though.
>>>
>>>
>>
>>
>> Ok another new idea that still has to be verified:
>>
>> For primes ending in 7 within a primorial30 block the chance of two
>> primes ending in 7 should be 19.6% I am pretty sure.. the discrepancy
>> with the 17.757% comes from consecutive primes that cross from one
>> primorial block into another, and/or in a higher primorial ie primorial
>> 210 block.
>>
>> Most consecutive primes that end in 7 will be *within* a specific
>> primorial block of numbers, but some will cross from one primorial
>> block into the next, and if they do this, then they have to graduate
>> up to the next primorial ie if consecutive primes ending in 7 cross
>> from one primorial30 block to the next, then they go in the primorial210
>> block, and IF they crossed the fifth primorial30 block, they also will
>> go in the primorial 30030 block!  These primes that cross primorial
>> blocks are what changes the 19.6% value down to 17.757% I think.
>>
>> Here is an example of primorial blocks and how they can be crossed
>> by consecutive primes.
>>
>> (primorial6)(primorial6)(primorial6)(primorial6)(primorial6) =
>> (primorial30 block)
>>
>> (primorial30) has 5 primorial6 blocks within it
>>
>> (primorial210) primorial210 block has 7 primorial 30 blocks within it.
>>
>> So if there are a pair of consecutive primes, they could be within a
>> single primorial30 block, or across two consecutive primorial30 blocks,
>> or in a single primorial210 block, or across two primorial210 blocks,
>> or in a single primorial30030 block, or across two primorial30030 blocks
>> etc.. and each time the block size increases, the probability of the two
>> consecutive primes ending in digit 7 gets closer to 25%.
>>
>> But to get the overall likelihood of everything all the primorial block
>> sizes should be taken into account, as well as the frequency that primes
>> cross from one block to another etc..
>>
>> Just more speculating anyway still gotta verify all this.
>>
>> cheers,
>> Jamie
>
> I can reproduce the 17.757% for "7 7" (mod 10) like this,
> using PARI/gp:
>
> ? c77 = 0; c7 = 0; lastp=7; forprime(q = 8, 2038074750, rc=q%10;
> rl=lastp%10; if(abs(rl-7)<1, c7=c7+1; if(abs(rc-7)<1, c77= c77+1));
> lastp = q); print(c7,"   ",c77); print(100.0*c77/c7)
>
> 25000402   4439355
> 17.757134465277798333002805314890537
>
> primepi(2038074750) = 100000000 = 10^8 .
>
> ====
>
> If we look instead at the block of primes from 10^20 to 10^20 + 10^9,
> the probability of "7 7" (mod 10) given a "7" (mod 10) should
> be closer to 25% . But by how much?
>
> Dave
>
>


Hi,

I just wrote this, maybe it can be used to get the 17.757% if it is correct?

The probability of two consecutive primes that end in 7 occurring should 
depend on which primorial grouping the two primes occur in counted from 
one.  If the two primes cross 30 number spacing then they will be in a 
larger primorial ie 210.  Any time one of the spacing is crossed to a 
larger primorial, the likelihood of the consecutive primes occuring with 
the same last digit gets closer to 25% since eulerphi(primorial), which 
is the number of equations that can produce prime numbers within the 
primorial grouping increases.  The primorial groupings all start at one 
and go up:
((6)(6)(6)(6)(6))=(30)
(30)(30)(30)(30)(30)(30)(30)=(210)
(210) * 11 times = (2310)

If consecutive primes ending with digit 7 cross one of those groupings 
then it is in a higher/larger grouping with more equations, and thus 
closer to 25% equal distribution of consecutive 1,3,7,9 digits.

cheers,
Jamie


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


#403197

FromDavid Bernier <david250@videotron.ca>
Date2016-03-17 02:41 -0400
Message-ID<ncdjc1$hb7$1@dont-email.me>
In reply to#403166
On 03/16/2016 09:25 PM, Jamie M wrote:
> On 3/16/2016 5:31 PM, David Bernier wrote:
>> On 03/16/2016 07:42 PM, Jamie M wrote:
>>> On 3/16/2016 11:24 AM, Jamie M wrote:
>>>> On 3/16/2016 10:42 AM, Jamie M wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> The chance of two primes with last digit 7 occuring in primorial range
>>>>> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>>>>>
>>>>> Proof:
>>>>>
>>>>> The probability of the first prime being a 7 is 2/8 for primorial30
>>>>> equation set, with eulerphi(30/2)=8 equations, two of them having
>>>>> numbers with least significant digits of 7.  The odds of the second
>>>>> prime being also having a least significant digit of 7 is 1/7 as there
>>>>> are only 7 equations left that can produce primes in the primorial30
>>>>> range, and only one equation that produces primes with significant
>>>>> digits of 7.
>>>>>
>>>>> So the overall odds of having two primes with last digit being
>>>>> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>>>>>
>>>>> NOTE: that the Maximum number of primes that can have last digit of 7
>>>>> (or more generally the same last digit) within a range of 30 numbers
>>>>> that are counted consecutively from zero, is 2.
>>>>>
>>>>> The same calculation can be done for larger primorials, which can have
>>>>> more of the same ending digit primes in their primorial ranges counted
>>>>> from zero, but at decreasing probability for each subsequent one,
>>>>> using that above formula.
>>>>>
>>>>> I still have to verify this 0.196428 is accurate :D
>>>>>
>>>>> cheers,
>>>>> Jamie
>>>>>
>>>>>
>>>>
>>>> Gotta compare this result with the 17.757% result quoted from this page
>>>> about this prime spacing:
>>>>
>>>> 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?
>>>> ...they found that among the first hundred million primes, the
>>>> answer is
>>>> just 17.757%."
>>>>
>>>> I think the difference from 19.6% to 17.757% might be explained by the
>>>> impact of subsequent periods of primorial ranges, not sure though.
>>>>
>>>>
>>>
>>>
>>> Ok another new idea that still has to be verified:
>>>
>>> For primes ending in 7 within a primorial30 block the chance of two
>>> primes ending in 7 should be 19.6% I am pretty sure.. the discrepancy
>>> with the 17.757% comes from consecutive primes that cross from one
>>> primorial block into another, and/or in a higher primorial ie primorial
>>> 210 block.
>>>
>>> Most consecutive primes that end in 7 will be *within* a specific
>>> primorial block of numbers, but some will cross from one primorial
>>> block into the next, and if they do this, then they have to graduate
>>> up to the next primorial ie if consecutive primes ending in 7 cross
>>> from one primorial30 block to the next, then they go in the primorial210
>>> block, and IF they crossed the fifth primorial30 block, they also will
>>> go in the primorial 30030 block!  These primes that cross primorial
>>> blocks are what changes the 19.6% value down to 17.757% I think.
>>>
>>> Here is an example of primorial blocks and how they can be crossed
>>> by consecutive primes.
>>>
>>> (primorial6)(primorial6)(primorial6)(primorial6)(primorial6) =
>>> (primorial30 block)
>>>
>>> (primorial30) has 5 primorial6 blocks within it
>>>
>>> (primorial210) primorial210 block has 7 primorial 30 blocks within it.
>>>
>>> So if there are a pair of consecutive primes, they could be within a
>>> single primorial30 block, or across two consecutive primorial30 blocks,
>>> or in a single primorial210 block, or across two primorial210 blocks,
>>> or in a single primorial30030 block, or across two primorial30030 blocks
>>> etc.. and each time the block size increases, the probability of the two
>>> consecutive primes ending in digit 7 gets closer to 25%.
>>>
>>> But to get the overall likelihood of everything all the primorial block
>>> sizes should be taken into account, as well as the frequency that primes
>>> cross from one block to another etc..
>>>
>>> Just more speculating anyway still gotta verify all this.
>>>
>>> cheers,
>>> Jamie
>>
>> I can reproduce the 17.757% for "7 7" (mod 10) like this,
>> using PARI/gp:
>>
>> ? c77 = 0; c7 = 0; lastp=7; forprime(q = 8, 2038074750, rc=q%10;
>> rl=lastp%10; if(abs(rl-7)<1, c7=c7+1; if(abs(rc-7)<1, c77= c77+1));
>> lastp = q); print(c7,"   ",c77); print(100.0*c77/c7)
>>
>> 25000402   4439355
>> 17.757134465277798333002805314890537
>>
>> primepi(2038074750) = 100000000 = 10^8 .
>>
>> ====
>>
>> If we look instead at the block of primes from 10^20 to 10^20 + 10^9,
>> the probability of "7 7" (mod 10) given a "7" (mod 10) should
>> be closer to 25% . But by how much?
>>
>> Dave
>>
>>
> 
> 
> Hi,
> 
> I just wrote this, maybe it can be used to get the 17.757% if it is
> correct?
> 
> The probability of two consecutive primes that end in 7 occurring should
> depend on which primorial grouping the two primes occur in counted from
> one.  If the two primes cross 30 number spacing then they will be in a
> larger primorial ie 210.  Any time one of the spacing is crossed to a
> larger primorial, the likelihood of the consecutive primes occuring with
> the same last digit gets closer to 25% since eulerphi(primorial), which
> is the number of equations that can produce prime numbers within the
> primorial grouping increases.  The primorial groupings all start at one
> and go up:
> ((6)(6)(6)(6)(6))=(30)
> (30)(30)(30)(30)(30)(30)(30)=(210)
> (210) * 11 times = (2310)
> 
> If consecutive primes ending with digit 7 cross one of those groupings
> then it is in a higher/larger grouping with more equations, and thus
> closer to 25% equal distribution of consecutive 1,3,7,9 digits.
> 
> cheers,
> Jamie
> 
> 
> 

The authors of the arxiv preprint, Lemke Oliver and
Soundararajan, say their heuristic argument is based
on the Hardy-Littlewood prime k-tuples conjecture :

< http://arxiv.org/pdf/1603.03720v2.pdf >  .


dave

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

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


#403247

FromJamie M <jmorken@shaw.ca>
Date2016-03-17 10:37 -0700
Message-ID<nceq1c$1tlr$1@gioia.aioe.org>
In reply to#403197
On 3/16/2016 11:41 PM, David Bernier wrote:
> On 03/16/2016 09:25 PM, Jamie M wrote:
>> On 3/16/2016 5:31 PM, David Bernier wrote:
>>> On 03/16/2016 07:42 PM, Jamie M wrote:
>>>> On 3/16/2016 11:24 AM, Jamie M wrote:
>>>>> On 3/16/2016 10:42 AM, Jamie M wrote:
>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The chance of two primes with last digit 7 occuring in primorial range
>>>>>> 30, the odds of that happening are (2/8 + 1/7)/2= 0.196
>>>>>>
>>>>>> Proof:
>>>>>>
>>>>>> The probability of the first prime being a 7 is 2/8 for primorial30
>>>>>> equation set, with eulerphi(30/2)=8 equations, two of them having
>>>>>> numbers with least significant digits of 7.  The odds of the second
>>>>>> prime being also having a least significant digit of 7 is 1/7 as there
>>>>>> are only 7 equations left that can produce primes in the primorial30
>>>>>> range, and only one equation that produces primes with significant
>>>>>> digits of 7.
>>>>>>
>>>>>> So the overall odds of having two primes with last digit being
>>>>>> 7 within a primorial30 range is [(2/8)+(1/7)]/2=0.196428..
>>>>>>
>>>>>> NOTE: that the Maximum number of primes that can have last digit of 7
>>>>>> (or more generally the same last digit) within a range of 30 numbers
>>>>>> that are counted consecutively from zero, is 2.
>>>>>>
>>>>>> The same calculation can be done for larger primorials, which can have
>>>>>> more of the same ending digit primes in their primorial ranges counted
>>>>>> from zero, but at decreasing probability for each subsequent one,
>>>>>> using that above formula.
>>>>>>
>>>>>> I still have to verify this 0.196428 is accurate :D
>>>>>>
>>>>>> cheers,
>>>>>> Jamie
>>>>>>
>>>>>>
>>>>>
>>>>> Gotta compare this result with the 17.757% result quoted from this page
>>>>> about this prime spacing:
>>>>>
>>>>> 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?
>>>>> ...they found that among the first hundred million primes, the
>>>>> answer is
>>>>> just 17.757%."
>>>>>
>>>>> I think the difference from 19.6% to 17.757% might be explained by the
>>>>> impact of subsequent periods of primorial ranges, not sure though.
>>>>>
>>>>>
>>>>
>>>>
>>>> Ok another new idea that still has to be verified:
>>>>
>>>> For primes ending in 7 within a primorial30 block the chance of two
>>>> primes ending in 7 should be 19.6% I am pretty sure.. the discrepancy
>>>> with the 17.757% comes from consecutive primes that cross from one
>>>> primorial block into another, and/or in a higher primorial ie primorial
>>>> 210 block.
>>>>
>>>> Most consecutive primes that end in 7 will be *within* a specific
>>>> primorial block of numbers, but some will cross from one primorial
>>>> block into the next, and if they do this, then they have to graduate
>>>> up to the next primorial ie if consecutive primes ending in 7 cross
>>>> from one primorial30 block to the next, then they go in the primorial210
>>>> block, and IF they crossed the fifth primorial30 block, they also will
>>>> go in the primorial 30030 block!  These primes that cross primorial
>>>> blocks are what changes the 19.6% value down to 17.757% I think.
>>>>
>>>> Here is an example of primorial blocks and how they can be crossed
>>>> by consecutive primes.
>>>>
>>>> (primorial6)(primorial6)(primorial6)(primorial6)(primorial6) =
>>>> (primorial30 block)
>>>>
>>>> (primorial30) has 5 primorial6 blocks within it
>>>>
>>>> (primorial210) primorial210 block has 7 primorial 30 blocks within it.
>>>>
>>>> So if there are a pair of consecutive primes, they could be within a
>>>> single primorial30 block, or across two consecutive primorial30 blocks,
>>>> or in a single primorial210 block, or across two primorial210 blocks,
>>>> or in a single primorial30030 block, or across two primorial30030 blocks
>>>> etc.. and each time the block size increases, the probability of the two
>>>> consecutive primes ending in digit 7 gets closer to 25%.
>>>>
>>>> But to get the overall likelihood of everything all the primorial block
>>>> sizes should be taken into account, as well as the frequency that primes
>>>> cross from one block to another etc..
>>>>
>>>> Just more speculating anyway still gotta verify all this.
>>>>
>>>> cheers,
>>>> Jamie
>>>
>>> I can reproduce the 17.757% for "7 7" (mod 10) like this,
>>> using PARI/gp:
>>>
>>> ? c77 = 0; c7 = 0; lastp=7; forprime(q = 8, 2038074750, rc=q%10;
>>> rl=lastp%10; if(abs(rl-7)<1, c7=c7+1; if(abs(rc-7)<1, c77= c77+1));
>>> lastp = q); print(c7,"   ",c77); print(100.0*c77/c7)
>>>
>>> 25000402   4439355
>>> 17.757134465277798333002805314890537
>>>
>>> primepi(2038074750) = 100000000 = 10^8 .
>>>
>>> ====
>>>
>>> If we look instead at the block of primes from 10^20 to 10^20 + 10^9,
>>> the probability of "7 7" (mod 10) given a "7" (mod 10) should
>>> be closer to 25% . But by how much?
>>>
>>> Dave
>>>
>>>
>>
>>
>> Hi,
>>
>> I just wrote this, maybe it can be used to get the 17.757% if it is
>> correct?
>>
>> The probability of two consecutive primes that end in 7 occurring should
>> depend on which primorial grouping the two primes occur in counted from
>> one.  If the two primes cross 30 number spacing then they will be in a
>> larger primorial ie 210.  Any time one of the spacing is crossed to a
>> larger primorial, the likelihood of the consecutive primes occuring with
>> the same last digit gets closer to 25% since eulerphi(primorial), which
>> is the number of equations that can produce prime numbers within the
>> primorial grouping increases.  The primorial groupings all start at one
>> and go up:
>> ((6)(6)(6)(6)(6))=(30)
>> (30)(30)(30)(30)(30)(30)(30)=(210)
>> (210) * 11 times = (2310)
>>
>> If consecutive primes ending with digit 7 cross one of those groupings
>> then it is in a higher/larger grouping with more equations, and thus
>> closer to 25% equal distribution of consecutive 1,3,7,9 digits.
>>
>> cheers,
>> Jamie
>>
>>
>>
>
> The authors of the arxiv preprint, Lemke Oliver and
> Soundararajan, say their heuristic argument is based
> on the Hardy-Littlewood prime k-tuples conjecture :
>
> < http://arxiv.org/pdf/1603.03720v2.pdf >  .
>
>
> dave
>


Hi,

I think the whole statistics of the prime distribution should
be explainable by assuming the primes are totally randomly
filled into deterministic locations given by primorial
formulas.

ie.

y = 30x + 1
y = 30x + 7
y = 30x + 11
y = 30x + 13
y = 30x + 17
y = 30x + 19
y = 30x + 23
y = 30x + 29

Out of every consecutive 30 numbers there are 8 repeating
locations that primes can occur, all 22 other locations
never have primes up to infinity for each 30 number group.

Filling these 8 locations with primes randomly, using
the prime counting function for the probability of
how many locations are filled for a given x, probably
can explain all prime distribution statistics and if not
then there is some non-random pattern to the prime
distribution I think.

There seems to be lots of opportunity to waste time
thinking about all this stuff anyway its still a
mystery :D

cheers,
Jamie




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


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.electronics.design


csiph-web