Primes to One Trillion

The Gutenberg text "The First 100,000 Prime Numbers", EBook #65, lists the primes up to 1,318,699. This somewhat more ambitious version lists the primes up to one trillion (1,000,000,000,000 or 1E12).

Introduction

I became interested in prime numbers after hearing about [Goldbach's Conjecture,]

"Every even integer greater than 2 can be expressed as the sum of two primes".

Verifying this requires a source of primes. Short lists (or programs to generate them) are widely available. Really long lists are scarce, except for
[primos.mat.br.]

To make these lists more accessible, I have reformatted them to a size easily manageable by ordinary text editors and viewers--about 55MB. The file names correspond to the range of primes the file contains:

00000000000_to_00100000000.txtZero to 100 Million
00100000000_to_00200000000.txt100 Million to 200 Million
etc.

The leading zero digits cause the file names to collate in order of their content. Longer lists can be composed with the DOS copy command. Move the required prime txt files to a temporary directory and use:

copy *.txt longList.txt