Long primes: Difference between revisions
Content added Content deleted
Line 2,638: | Line 2,638: | ||
maplist([X, Y]>>(Y is 500 * 2**X), List, LimitList), |
maplist([X, Y]>>(Y is 500 * 2**X), List, LimitList), |
||
run(LimitList).</lang> |
run(LimitList).</lang> |
||
{{out}} |
|||
<pre>long primes up to 500: |
|||
[7,17,19,23,29,47,59,61,97,109,113,131,149,167,179,181,193,223,229,233,257,263,269,313,337,367,379,383,389,419,433,461,487,491,499] |
|||
there are 35 long primes up to 500 [time (ms) 7] |
|||
there are 60 long primes up to 1000 [time (ms) 16] |
|||
there are 116 long primes up to 2000 [time (ms) 42] |
|||
there are 218 long primes up to 4000 [time (ms) 98] |
|||
there are 390 long primes up to 8000 [time (ms) 242] |
|||
there are 716 long primes up to 16000 [time (ms) 603] |
|||
there are 1300 long primes up to 32000 [time (ms) 1507] |
|||
there are 2430 long primes up to 64000 [time (ms) 3851] |
|||
</pre> |
|||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |