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-16 19:05 -0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ncd3cd$15ci$1@gioia.aioe.org> (permalink) |
| References | (10 earlier) <ncc5ui$1kag$1@gioia.aioe.org> <ncc8dd$1pe2$2@gioia.aioe.org> <nccr0l$rue$1@gioia.aioe.org> <ncctng$t10$1@dont-email.me> <ncd13h$5st$1@dont-email.me> |
Cross-posted to 2 groups.
On 3/16/2016 6:29 PM, David Bernier wrote:
>> 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?
>
> I found 10^20 a bit big. For pairs of consecutive primes
> p_k , p_{k+1} in the range 10^18, 10^18 + 10^9, I find
>
> 6030113 cases of (7, x) (mod 10), where x is one of
> 1, 3, 7, 9 and 1269493 cases of (7, 7) (mod 10),
> for a conditional probability of
> 21.06 % chance of (7, 7) given a (7, x) pair, modulo 10:
>
> ? c77 = 0; c7 = 0; lastp= 1000000000000000003 ; forprime(q =
> 1000000000000000004, 1000000001000000000, 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)
>
>
> 6030113 1269493
> 21.052557389886391847051622415699341
>
> dave
>
Hi,
If you can do this I think you might find a surprising result:
If you segment the large number into groups of 30 numbers starting at 1,
then the probability of "7 7" repeating last digit primes within those
30 numbers should remain constant (2/8 + 1/7)/2= 0.196 19.6% I think
no matter what large number you test at, as long as it is done
within the segmented 30 number primorial blocks.
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