david@HPLaptop:~/mar31/nov17$ gcc -O3 isfrob3compo1a.c -lpthread -lm
david@HPLaptop:~/mar31/nov17$ time ./a.out
Composite and prime counts by type between 0 and 1000000000:
Type 0: 215818852
Type 1: 11
Type 2: 44
Type 3: 0
Type 4: 4
Type 5: 0
Type 6: 0
Type 7: 50847531
Grand total of composites coprime to 120 and primes processed between 0 and 1000000000: 266666442
real 5m37.000s
user 41m45.771s
sys 0m17.821s
david@HPLaptop:~/mar31/nov17$ gcc -O3 isfrob3compo1a.c -lpthread -lm
david@HPLaptop:~/mar31/nov17$ time ./a.out
Composite and prime counts by type between 0 and 10000000000:
Type 0: 2211613577
Type 1: 14
Type 2: 83
Type 3: 0
Type 4: 4
Type 5: 0
Type 6: 0
Type 7: 455052508
Grand total of composites coprime to 120 and primes processed between 0 and 10000000000: 2666666186
real 62m30.608s
user 469m15.729s
sys 2m37.202s
david@HPLaptop:~/mar31/nov17$ gcc -O3 isfrob3compo2a.c -lpthread -lm
david@HPLaptop:~/mar31/nov17$ time ./a.out
Composite and prime counts by type between 0 and 100000000000:
Type 0: 22548610645
Type 1: 17
Type 2: 154
Type 3: 0
Type 4: 4
Type 5: 0
Type 6: 0
Type 7: 4118054810
Grand total of composites coprime to 120 and primes processed between 0 and 100000000000: 26666665630
real 710m31.785s
user 5066m57.193s
sys 17m15.719s
Below, we have a sample report using the most up to date version of the program:
david@HPLaptop:~/mar31/nov17/next$ gcc -O3 isfrob3compo4a.c -lpthread -lm
david@HPLaptop:~/mar31/nov17/next$ ./a.out
5021050770919 is an untested prime
Composite and prime counts by type between 5000000000000 and 5030000000000:
Type 0: 6974121722
Type 1: 0
Type 2: 4
Type 3: 0
Type 4: 0
Type 5: 0
Type 6: 0
Type 7: 1025878273
Grand total of composites coprime to 120 and primes processed between 5000000000000 and 5030000000000: 7999999999
Total untested primes between 5000000000000 and 5030000000000: 1
Grand total of probable primes found and untested primes between 5000000000000 and 5030000000000: 1025878274
david@HPLaptop:~/mar31/nov17/next$ primesieve 5000000000000 503000000000 -c
Sieve size = 256 KiB
Threads = 1
Seconds: 0.000
Primes: 0
david@HPLaptop:~/mar31/nov17/next$ primesieve 5000000000000 5030000000000 -c
Sieve size = 256 KiB
Threads = 20
100%
Seconds: 2.350
Primes: 1025878274