Since I’m researching and experimenting with special kinds of primes (I asked this question about them, you can see their definition there), which I just realized are called “additive primes” in mathematical terms (didn’t know), I have a question about them:
Is the number of additive prime numbers between $1$ and $1 \text{,} 000 \text{,} 000 \text{,} 000$ known?
I am asking this because I am exploring the distribution of additive primes, and I am trying to find the proportion of additive primes out of all primes in a range $1<p<10^n$ for some $n \in \mathbb Z^+$. Using a Python program, I computed these values for all $0<n \leq 8$, but the program is taking too long for $n=9$ ($1 \text{,} 000 \text{,} 000 \text{,} 000$, or $1$ billion).
Hence, this ever been calculated before, maybe in a paper or somewhere? So far I can’t find anything.
I just make a quick and dirty code that uses an already found list of primes up to 1 bilion.
The file can be found here
The code I have used is:
It took less then one minute to check all the primes (but I used the list of primes from the source I have linked. Of course bilion-primes.txt is the text file taken from the source
here is a link to the file containing the list of all the additive primes up to 1 bilion
If you are only interested to the number of such primes, it is: $$ 18\text{,}661\text{,}619 $$