not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-24 days agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square51fedilinkarrow-up1773arrow-down17file-text
arrow-up1766arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-24 days agomessage-square51fedilinkfile-text
minus-squarethemusicman@lemmy.worldlinkfedilinkarrow-up2·3 days agoCorrect. 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.
minus-squareKairos@lemmy.todaylinkfedilinkarrow-up0·2 days agoMore random means more towards 50% correctness.
minus-squareptu@sopuli.xyzlinkfedilinkarrow-up3·2 days agoAnd 2,3,5,7 are primes of the first numbers, making always false 60% correct and random chance 50%
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.
More random means more towards 50% correctness.
And 2,3,5,7 are primes of the first numbers, making always false 60% correct and random chance 50%