Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | David Bernier <david250@videotron.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 20:31 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ncctng$t10$1@dont-email.me> (permalink) |
| References | (8 earlier) <ncc3ms$1ftf$1@gioia.aioe.org> <ncc434$1gki$1@gioia.aioe.org> <ncc5ui$1kag$1@gioia.aioe.org> <ncc8dd$1pe2$2@gioia.aioe.org> <nccr0l$rue$1@gioia.aioe.org> |
Cross-posted to 2 groups.
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>
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