Edit: This basically works for base 10, too. I feel like the reason must either be very obvious or very deep.
1 3 7 9
1 0.0458 0.0746 0.0756 0.0540
3 0.0599 0.0439 0.0707 0.0755
7 0.0638 0.0677 0.0438 0.0747
9 0.0805 0.0638 0.0599 0.0458
It appears to have the same transition probabilities as in base 5 (with the two center rows and columns swapped): 1 2 3 4
1 0.0458 0.0756 0.0746 0.0540
2 0.0638 0.0438 0.0677 0.0747
3 0.0599 0.0707 0.0439 0.0755
4 0.0805 0.0599 0.0638 0.0458
I share your feeling about it being either obvious or deep."We can also show that c2(q; (a, b)) = c2(q; (−b,−a)) for any two reduced residue classes a and b (mod q)."
I'm not 100% certain this is responsible for the phenomenon that we're seeing, but it seems exceedingly likely. I think I'd need to stare at their formula for c2 for a long time to understand where this relation comes from, though.
As I've expressed in another comment, my preferred way of thinking about this symmetric pattern goes something like this:
The probability that (a prime congruent to x mod b is followed by a prime congruent to y mod b) seems to be equal to the probability that (a prime congruent to -y mod b is followed by a prime congruent to -x mod b).
I still haven't figured out whether it ought to be obvious, though if it is then I expect the language I've used above to be relevant. It's definitely not trivially obvious, because it's not an exact equality: if the pattern only shows up clearly after you've accumulated thousands or millions of primes, then it doesn't seem that it could be enforced by any sort of exact transformation. (For example, if the symmetric entries were somehow just counting the same pairs in two different ways, the numbers ought to be precisely equal rather than just increasingly close.)
There are a rather a lot of other patterns in the data; I expect that at least some of them must be accounted for in the original paper, but I haven't more than glanced through it yet.
Well, yeah that's because 1,3,7,9 modulo 5 becomes 1,3,2,4 which is 1,2,3,4 with the centre two swapped.
Can't think of a trivial reason why that would be the case, something weird is happening.
I take your point about primes being closely packed at low numbers, but I think this is a small correction (i.e. you might expect 8-9% of primes ending in 2 to be followed by another prime ending in 2, but certainly not <4%)
https://news.ycombinator.com/threads?id=crnt2
The result - the factor is actually surprisingly large!
I did my own investigation using base 3 and noticed something peculiar.
In the first 100k primes, we go from 1 to 2 29028 times and from 2 to 1 29029 times.
Then I filtered out the twin primes since those are the ones that exploit the fact that the next "possible" prime is one that flips the last digit.
This filtered out 10249 primes going from 2 to 1 (bringing the total below both the number of primes that stay at 2 (21008) and the number of primes that stay at 1 (20932)).
It didn't factor out any primes that go from 1 to 2. Are there no twin primes (p,p') where p%3 == 1 and p'%3 == 2?
edit: Oh hey, this is obvious, if p%3 is 1 then p+2 is divisible by 3. It does mean we don't need to take measurements to know that the result we are investigating cannot possibly account for everything since it isn't a factor at all when going from 1 to 2.
By definition, no there aren't. Twin primes are a distance of 2 apart, so your mod 3 options are 0 -> 2, 1 -> 0, and 2 -> 1. Anything involving 0 means it's divisible by 3, so your only mod 3 possibility for twin primes is 2 -> 1.
EDIT: Excluding the possibility where 3 mod 3 = 0, of course. This allows a 0 -> 2 transition with (3,5).
A prime ending in 2 (in base 11) is also unlikely to be following by a prime ending in 5, 7 or 9, whereas it is particularly likely to be following by a prime ending in 4 or 8.
It would be interesting to know what structure there is (if any) in this NxN "transition matrix" for various bases.