![]() |
![]() |
#12 |
"NOT A TROLL"
Mar 2016
California
197 Posts |
![]()
91432347160754938974644339625872297 and 91432347160754938974644339625872437 are two consecutive primes both ending in 7. This only took me 3 queries to generate from the prime 91432347160754938974644339625872159. Doesn't seem like a 25% chance to me. because looking at the first prime I found starting with 7, then next prime also started with 7:
NextPrime[91432347160754938974644339625872159] = 91432347160754938974644339625872203 NextPrime[91432347160754938974644339625872203] = 91432347160754938974644339625872297 Next Prime[91432347160754938974644339625872297] = 91432347160754938974644339625872437 |
![]() |
![]() |
![]() |
#13 | |
"Forget I exist"
Jul 2009
Dartmouth NS
841810 Posts |
![]() Quote:
Last fiddled with by science_man_88 on 2016-03-18 at 17:03 |
|
![]() |
![]() |
![]() |
#14 | |
"NOT A TROLL"
Mar 2016
California
197 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#15 |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 Posts |
![]() |
![]() |
![]() |
![]() |
#16 |
Aug 2006
5,987 Posts |
![]()
You're looking at 35-digit numbers with base \(q=10.\) The expected frequency of consecutive primes both ending with \(a\in\{1,3,7,9\}\) is
\[\frac{1}{4}\left(1 + c_1(10;(a,a))\frac{\log\log x}{\log x} + O\left(\frac{1}{\log x}\right)\right)\] with \[c_1(10; (a,a)) = \frac{4}{2}\left(\frac{1}{4} - 1\right) = -\frac{3}{2}\] so you expect about \[\frac14\left(1 - \frac32\frac{\log\log(10^{35})}{\log(10^{35})}\right) \approx 22.96\%\] of the pairs to have the same last digit. I checked the region \(10^{35}\pm10^6\) and found 23.1% which is pretty good agreement. --- If someone works out the \(c_2\) term let me know... I haven't worked through the definitions for \(S_0^c,\ B_q,\) or the various characters \(\chi,\ \overline{\chi},\ \chi^*,\) etc. |
![]() |
![]() |
![]() |
#17 | |
Aug 2006
10111011000112 Posts |
![]() Quote:
If you're talking about the Chebyshev bias, Rubinstein & Sarnak showed (under the GRH and GSH) that it's \(25\%(1+x^{-0.5+o(1)}).\) |
|
![]() |
![]() |
![]() |
#18 | ||
"Gang aft agley"
Sep 2002
375410 Posts |
![]()
John Baez just brought up a previous paper from 1999
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#19 | |
"Forget I exist"
Jul 2009
Dartmouth NS
2·3·23·61 Posts |
![]() Quote:
Last fiddled with by science_man_88 on 2016-03-20 at 01:07 |
|
![]() |
![]() |
![]() |
#20 |
Mar 2016
1 Posts |
![]()
"If you have a prime that ends in a 7, what's the probability that the next prime ends in a 7? I would still expect the answer to be close to 25%"
Me to at first. But if you think about it more, the gaps between two adjacent primes are not equally distributed. To have two neighbours both end in 7 requires a gap of 10, 20, 30 and so on. And as you can see below those gaps are not the most frequent. Gap frequency: <code> 2: 124085 ============================================ 4: 124547 ============================================ 6: 223695 ================================================================================ 8: 100143 =================================== 10: 129451 ============================================== 12: 168665 ============================================================ 14: 93866 ================================= 16: 70808 ========================= 18: 129276 ============================================== 20: 71818 ========================= 22: 61809 ====================== 24: 94213 ================================= 26: 45336 ================ 28: 49587 ================= 30: 89678 ================================ 32: 28735 ========== 34: 29823 ========== 36: 49734 ================= 38: 23635 ======== 40: 28118 ========== 42: 41904 ============== 44: 17104 ====== 46: 14915 ===== 48: 26093 ========= 50: 15064 ===== 52: 11501 ==== 54: 19158 ====== 56: 10008 === 58: 8622 === 60: 17669 ====== 62: 5659 == 64: 5865 == 66: 10795 === 68: 4374 = 70: 6232 == 72: 6379 == 74: 3327 = 76: 2896 = 78: 5451 = 80: 2811 = 82: 1988 84: 4229 = 86: 1503 88: 1535 90: 3151 = 92: 1067 </code> |
![]() |
![]() |
![]() |
#21 | ||
"Gang aft agley"
Sep 2002
2×1,877 Posts |
![]()
via h/t David Eppstein on Google+: "Brian Hayes digs deeper into the recent discovery of correlations in the moduli of consecutive primes.
Prime After Prime Quote:
|
||
![]() |
![]() |
![]() |
#22 |
Oct 2015
2·7·19 Posts |
![]()
I wonder how this would extend to looking at the last two digits of prime numbers. Both as a single 10a+b, but also as a similar investigation to the single last digit, but with two inputs.
So with the first 47 would be different to 74, but with the second they'd be the same. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Distribution of Mersenne primes before and after couples of primes found | emily | Math | 35 | 2022-12-21 16:32 |
Prime Gap Length with consecutive integers divisible by small primes | carpetpool | Prime Gap Searches | 47 | 2022-11-15 18:53 |
Largest Known Pair of Consecutive Primes | a1call | Information & Answers | 8 | 2017-02-06 17:30 |
unexpected number of relative primes | tha | Software | 14 | 2015-10-30 01:23 |
k's with consecutive small primes | gd_barnes | Riesel Prime Search | 1 | 2007-07-30 23:26 |