Primality by trial division: Difference between revisions
Content added Content deleted
(Added Scala) |
(→{{header|PureBasic}}: some cleanup) |
||
Line 511: | Line 511: | ||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |
||
{{Works with |PureBasic| 4.41}} |
|||
<lang PureBasic>Procedure.i IsPrime(n) |
<lang PureBasic>Procedure.i IsPrime(n) |
||
Protected k |
Protected k |