A repository of say 13 digit prime, 15 digit primes etc.
Asked
Active
Viewed 1.0k times
4
2 Answers
4
There are $308,457,624,821$ 13 digit primes and $26,639,628,671,867$ 15 digit primes. I suppose somebody might waste some terabytes with lists of all of them, but they'll take a while to download..
EDIT: Google did not find a match for the $13$ digit prime 4257452468389. So maybe there is no Google-accessible list of all $13$ digit primes on the internet. Some time after I post this, I imagine Google will get a hit, namely this posting.
Robert Israel
- 470,583
-
1Perhaps they are stored as differences. You could store all the 13 digit primes in ~300GB (simple method: store (gap-2)/2 as a byte with escape code). It'd be so much easier to just download and run primesieve, Pari/GP, Perl/ntheory, or some other tool. – DanaJ May 07 '15 at 18:03
-
2
-
Looking at the first 36M 13 digit primes as a text file, gzip -9 and zip use about 2.7 bytes per prime. bzip2 -9 is 3.1 bytes/prime. I didn't test xz. The gap difference file would be basically no compression, though one could get slightly better results using things like rice or exponential gamma coding. – DanaJ May 07 '15 at 21:02
3
This website here provides a list of many known prime numbers, and You can actually find very large primes there, including 13,15 digits primes, and even way more than that
alkabary
- 6,464
-
2All known prime numbers? I don't think so. For example, I doubt that $3125250912230709951372256510072774348164206451981118444862954305561681091773335180100000000000000000537$ is on the list (well, maybe it wasn't known five minutes ago, but it is now). – Robert Israel May 07 '15 at 06:42
-
-
I think "...lists of many prime numbers..." is more accurate. "all known" is absurd, and "most known primes" isn't true either. – DanaJ May 07 '15 at 06:52
-
$2^{257885161}-1$
** Here are some links:**
Wikipedia:
– NeilRoy May 07 '15 at 06:56