Re:An Interesting Pattern in the Prime Numbers: Parallax Com...
by jdmichal on Friday May 18, 2018 @04:22PM
(#17104659)
And it's infinitely expandable to improve accuracy, at a linear cost of computation!
Re:An Interesting Pattern in the Prime Numbers: Parallax Com...
by std_throwaway on Friday May 18, 2018 @02:51PM
(#17103956)
This is both, correct, and useless.
This catches most non-primes ;)
bool maybe_prime(x) { return x % 2 && x % 3 && x % 5 && x % 7; }