gandalf_der_12te@feddit.de to Science Memes@mander.xyzEnglish · 10 months agoAnd that is why I don't do statisticsi.imgur.comimagemessage-square21fedilinkarrow-up1483arrow-down17cross-posted to: mathmemes@lemmy.blahaj.zone
arrow-up1476arrow-down1imageAnd that is why I don't do statisticsi.imgur.comgandalf_der_12te@feddit.de to Science Memes@mander.xyzEnglish · 10 months agomessage-square21fedilinkcross-posted to: mathmemes@lemmy.blahaj.zone
minus-squareKogasa@programming.devlinkfedilinkEnglisharrow-up13·10 months agoPer the prime number theorem, for large enough N the proportion of primes less than or equal to N is approximately 1/log(N). For N = 2^(31) that’s ~0.0465. To get under 1% you’d need N ~ 2^(145).
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up3·10 months agoSo you better use 128-bit unsigned integers 😅
Per the prime number theorem, for large enough N the proportion of primes less than or equal to N is approximately 1/log(N). For N = 2^(31) that’s ~0.0465. To get under 1% you’d need N ~ 2^(145).
So you better use 128-bit unsigned integers 😅