not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 21 days agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square57linkfedilinkarrow-up1202arrow-down14file-text
arrow-up1198arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 21 days agomessage-square57linkfedilinkfile-text
minus-squarethemusicman@lemmy.worldlinkfedilinkarrow-up2·19 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-up1·19 days agoMore random means more towards 50% correctness.
minus-squareptu@sopuli.xyzlinkfedilinkarrow-up3·19 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%