Incredible stochastic algorithm, gets more reliable the larger your input, incredibly fast, trivial to implement and deterministic on its inputs

https://lemmy.ml/post/43537545

You could simplify it even further by removing the int requirement for the function…

Even better, do the work at compile time to respect the customers resources:

const bool isPrime = false
My gosh, you always feel so stupid when someone points out something so obvious! Thanks