Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| 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-17 10:59 -0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ncerat$1vv7$1@gioia.aioe.org> (permalink) |
| References | (12 earlier) <nccr0l$rue$1@gioia.aioe.org> <ncctng$t10$1@dont-email.me> <ncd11d$130f$1@gioia.aioe.org> <ncdjc1$hb7$1@dont-email.me> <nceq1c$1tlr$1@gioia.aioe.org> |
Cross-posted to 2 groups.
On 3/17/2016 10:37 AM, Jamie M wrote: > 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 > Hi, For these eight 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 that produce all primes, here is the statistical distribution for how often the 8*8=64 permutations of the equations occur consecutively when producing primes: primeA, primeA+1, count 7 11 2945 11 13 2916 17 19 2914 29 1 2904 23 29 2893 13 17 2892 19 23 2887 1 7 2849 23 1 2209 11 17 2193 17 23 2181 13 19 2163 1 11 2159 19 29 2154 29 7 2153 7 13 2087 23 7 1824 7 17 1624 13 23 1590 1 13 1585 19 1 1561 11 19 1551 17 29 1551 29 11 1526 29 13 1345 17 1 1278 13 29 1160 7 19 1138 11 23 1133 1 17 1087 19 7 1020 23 11 993 19 11 957 1 19 811 7 23 795 11 29 783 29 17 774 13 1 737 17 7 724 23 13 720 1 23 665 7 29 633 13 7 560 11 1 547 23 17 543 29 19 519 19 13 517 17 11 516 13 11 448 19 17 431 23 19 431 11 7 421 1 29 410 17 13 380 29 23 363 7 1 330 13 13 274 11 11 266 17 17 265 19 19 261 7 7 260 1 1 241 23 23 226 29 29 221 7 to 11 transition is most common with 2945 occurrences, and the 29 29 consecutive primes are least common with 221 occurrences. This makes sense since the primes that are spaced closer together occur more frequently, but maybe there are additional patterns in this distribution too. cheers, Jamie
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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