John Harris
New member
- Joined
- Nov 22, 2012
- Messages
- 22
I played with primes and found pretty patterns. If I describe them, maybe someone can say why it happens.
Take a sequence of primes, p[m], p[m+1] ... p[n-1], p[n]
For each prime excepting p[m], generate the sequence of gapsizes between a prime and its predecessor.
g[m], g[m+1] ... g[n-2], g[n-1]
For each gapsize except g[m], generate the sequence of differences between a gapsize and its predecessor.
As an example, if the gapsizes are 2, 14, 6, 8, 14, 6, 2, 2 then the differences are 12, -8, 2, 6, -8, -4, 0
Count the number of times each difference appears in the sequence and plot the totals as a barchart.
What you'll see is a density plot of an interference pattern that looks similar to what you'd get out of the double-slit experiment with a coherent source.
As the length of your sequence widens the plot, naturally enough, brightens and shows more fringes.
As you select a higher starting prime, the plot height reduces compared to its width.
I'd not expected to see that sort of distribution when looking at sufficient primes to get probabilistic but that's what I see when I do the procedure.
I'll be interested to read your discussion.
Take a sequence of primes, p[m], p[m+1] ... p[n-1], p[n]
For each prime excepting p[m], generate the sequence of gapsizes between a prime and its predecessor.
g[m], g[m+1] ... g[n-2], g[n-1]
For each gapsize except g[m], generate the sequence of differences between a gapsize and its predecessor.
As an example, if the gapsizes are 2, 14, 6, 8, 14, 6, 2, 2 then the differences are 12, -8, 2, 6, -8, -4, 0
Count the number of times each difference appears in the sequence and plot the totals as a barchart.
What you'll see is a density plot of an interference pattern that looks similar to what you'd get out of the double-slit experiment with a coherent source.
As the length of your sequence widens the plot, naturally enough, brightens and shows more fringes.
As you select a higher starting prime, the plot height reduces compared to its width.
I'd not expected to see that sort of distribution when looking at sufficient primes to get probabilistic but that's what I see when I do the procedure.
I'll be interested to read your discussion.