this post was submitted on 22 Feb 2026
846 points (99.1% liked)

Programmer Humor

29967 readers
1173 users here now

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.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] themusicman@lemmy.world 2 points 1 day ago (1 children)

Correct. Not are why people are upvoting. If 10% of numbers are prime in a range, and you always guess false, you get 90% right. If you randomly guess true 10% of the time, you get ~80% right.

[–] LodeMike@lemmy.today 1 points 1 day ago (1 children)

More random means more towards 50% correctness.

[–] ptu@sopuli.xyz 3 points 1 day ago

And 2,3,5,7 are primes of the first numbers, making always false 60% correct and random chance 50%