Last active
September 3, 2020 07:31
-
-
Save brouwerfp/0eb990324eea4cc1c8d3e76dd87c1bf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(s=>{p=[];for(i=2;i<s;f||p.push(i),i++)for(j=f=0;p[j]*p[j]<=i;j++)f|=!(i%p[j]);return p})(10000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment