Anonymous user
Primality by trial division: Difference between revisions
m
updated FunL
(updated FunL) |
m (updated FunL) |
||
Line 963:
| otherwise = (3..int(sqrt(n)) by 2).forall( (/|n) )
(10^10..10^10+50).filter( isPrime ).foreach( println )</lang>
{{out}}
|