759
o(1) statistical prime approximation
(lemmy.blahaj.zone)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
That's the joke. Stochastic means probabilistic. And this "algorithm" gives the correct answer for the vast majority of inputs