View Single Post
Old 2020-08-03, 17:18   #381
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

337310 Posts
Default

I will look into adding indices to my prime listings, but for the the smaller primes, it would cause trouble with lengths of the lines. Is there possibly a lower limit I could use. I think your example showed 10^7, possibly?

I can run the prime listing for a single base in a relatively quick fashion with my setup of bash scripts and compiled C++ program. The script divides the search regions into 8 processes to make use of 8 threads on an i7 and then combines the results for the final file. This helps with array sizes that quickly overrun available space in my program.

I'm not sure what other analyses you might be doing. For a little while I was working with finding duplicate primes (>10^6) across the entire set of tables:
Code:
allpbase11:prime 1000117 shows up 1 time(s) (44).
allpbase13:prime 1000117 shows up 1 time(s) (40).
allpbase2:prime 1000117 shows up 1 time(s) (396).

allpbase14:prime 1000847 shows up 1 time(s) (31).
allpbase2:prime 1000847 shows up 1 time(s) (328).
allpbase3:prime 1000847 shows up 1 time(s) (104).

allpbase15:prime 1001123 shows up 1 time(s) (12).
allpbase2:prime 1001123 shows up 1 time(s) (300).

allpbase10:prime 1002511 shows up 1 time(s) (15).
allpbase1155:prime 1002511 shows up 1 time(s) (4).
allpbase2:prime 1002511 shows up 1 time(s) (312).
 allpbase7:prime 1002511 shows up 1 time(s) (70).
. . .
Here's a section for >10^5:
Code:
allpbase10:prime 100049 shows up 1 time(s) (33).
allpbase11:prime 100049 shows up 1 time(s) (24).
allpbase13:prime 100049 shows up 1 time(s) (42).
allpbase14:prime 100049 shows up 2 time(s) (46, 89).
allpbase15:prime 100049 shows up 1 time(s) (12).
allpbase2:prime 100049 shows up 1 time(s) (303).
allpbase21:prime 100049 shows up 1 time(s) (28).
allpbase385:prime 100049 shows up 1 time(s) (4).
allpbase6:prime 100049 shows up 2 time(s) (101, 135).
allpbase7:prime 100049 shows up 1 time(s) (32).

allpbase10:prime 100057 shows up 2 time(s) (33, 95).
allpbase11:prime 100057 shows up 1 time(s) (42).
allpbase12:prime 100057 shows up 1 time(s) (67).
allpbase15:prime 100057 shows up 1 time(s) (12).
allpbase17:prime 100057 shows up 1 time(s) (12).
allpbase2:prime 100057 shows up 1 time(s) (375).
allpbase210:prime 100057 shows up 1 time(s) (25).
allpbase3:prime 100057 shows up 2 time(s) (204).
allpbase5:prime 100057 shows up 1 time(s) (16).
allpbase510510:prime 100057 shows up 1 time(s) (3).
allpbase6:prime 100057 shows up 1 time(s) (81).
allpbase7:prime 100057 shows up 3 time(s) (18, 96).

allpbase11:prime 100103 shows up 1 time(s) (48).
allpbase14:prime 100103 shows up 2 time(s) (43, 81).
allpbase2:prime 100103 shows up 1 time(s) (346).
allpbase496:prime 100103 shows up 1 time(s) (19).
allpbase6:prime 100103 shows up 4 time(s) (29, 73, 81).
allpbase7:prime 100103 shows up 2 time(s) (36, 50).
. . .
(All the blank lines were added after for readability.)
EdH is offline   Reply With Quote