gandalf_der_12te@feddit.de to Science Memes@mander.xyzEnglish · 11 months agoAnd that is why I don't do statisticsi.imgur.comimagemessage-square23fedilinkarrow-up1490arrow-down17cross-posted to: mathmemes@lemmy.blahaj.zone
arrow-up1483arrow-down1imageAnd that is why I don't do statisticsi.imgur.comgandalf_der_12te@feddit.de to Science Memes@mander.xyzEnglish · 11 months agomessage-square23fedilinkcross-posted to: mathmemes@lemmy.blahaj.zone
minus-squareKogasa@programming.devlinkfedilinkEnglisharrow-up13·11 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·11 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 😅