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