not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 6 days agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square61linkfedilinkarrow-up1864arrow-down18file-text
arrow-up1856arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 6 days agomessage-square61linkfedilinkfile-text
minus-squarethemusicman@lemmy.worldlinkfedilinkarrow-up2·5 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·5 days agoMore random means more towards 50% correctness.
minus-squareptu@sopuli.xyzlinkfedilinkarrow-up3·5 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%