mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2019-09-26, 19:49   #1
jzakiya
 
Jul 2014

31 Posts
Default Fast multithreaded Prime Sieve

A twin primes sieve that can be implemented for optimum performance using distributed networks.

Original paper from December 2018.

https://www.academia.edu/37952623/Th...ann_Hypotheses

Link to latest code implementation (link in paper) - twinprimes_ssoz.nim,

https://gist.github.com/jzakiya/6c7e...dd62e3e3b2341e
jzakiya is offline   Reply With Quote
Old 2019-12-20, 16:15   #2
jzakiya
 
Jul 2014

3110 Posts
Default

A list of updated code versions for the Twin Primes SSoZ sieve in different languages.

https://www.academia.edu/37952623/Th...ann_Hypotheses

Nim
https://gist.github.com/jzakiya/6c7e...dd62e3e3b2341e

D
https://gist.github.com/jzakiya/ae93...c7f97ff8ad0f61

Rust
https://gist.github.com/jzakiya/b96b...eb3f35eb437225

Java
https://github.com/Pascal66/TwinsPrimesSieve
jzakiya is offline   Reply With Quote
Old 2020-08-22, 21:50   #3
jzakiya
 
Jul 2014

111112 Posts
Default

Attached are the latest Rust and Nim versions.
Remove the *.txt file extension to use.
Attached Files
File Type: txt twinprimes_ssoz.nim.txt (16.9 KB, 7 views)
File Type: txt twinprimes_ssoz.rs.txt (17.0 KB, 5 views)
jzakiya is offline   Reply With Quote
Old 2020-08-22, 21:55   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,127 Posts
Default

Would you stop posting new threads about "your" sieve every year or so? Several years of posting the same were not enough?

Moving to Misc. Math. (Beware also that the ban is nigh!)
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this viable to fast finding prime numbers? PandaLz Computer Science & Computational Number Theory 14 2018-06-22 21:34
Multithreaded PFGW IBethune Software 5 2018-03-16 17:52
Do normal adults give themselves an allowance? (...to fast or not to fast - there is no question!) jasong jasong 35 2016-12-11 00:57
Multithreaded QS/NFS sieve stage nuggetprime Msieve 5 2008-08-11 07:48

All times are UTC. The time now is 04:43.

Tue Sep 29 04:43:44 UTC 2020 up 19 days, 1:54, 0 users, load averages: 1.17, 1.43, 1.53

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.