857
o(1) statistical prime approximation
(lemmy.blahaj.zone)
I mean, an application could exist where this isn't even wrong. Maybe as a "subroutine" of another algorithm that only needs a truly composite number most of the time to work.
That this reads as a joke says a lot about what application we're intuitively expecting.
Edit: Not sure why this is being downvoted.
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.