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


Groups > sci.math > #329991

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

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.math, sci.electronics.design
Subject Re: simple proof to explain the "shocking" news about primes last digits not being random
Date 2016-03-16 06:53 -0700
Organization Aioe.org NNTP Server
Message-ID <ncbogs$qg1$1@gioia.aioe.org> (permalink)
References <ncbdg9$6fd$1@gioia.aioe.org> <ncbgq4$cq1$1@gioia.aioe.org> <ncblp5$lfm$1@gioia.aioe.org> <ncbn19$nol$1@gioia.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


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










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


Thread

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
                digit-endings (see Max M. munK abu.kuanysh05@gmail.com - 2016-03-16 18:22 -0700
                Re: digit-endings (see Max M. munK Virgil <VIRGIL@VIRGIL.com> - 2016-03-16 19:47 -0700
                Re: digit-endings (see Max M. munK R Kym Horsell <kym@kymhorsell.com> - 2016-03-17 03:02 +0000
                Re: digit-endings (see Max M. munK abu.kuanysh05@gmail.com - 2016-03-19 18:37 -0700
                Re: digit-endings (see Max M. munK abu.kuanysh05@gmail.com - 2016-03-17 12:47 -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 David Petry <davidlpetry@gmail.com> - 2016-03-16 08:51 -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

csiph-web