Unprimeable numbers: Difference between revisions

Content added Content deleted
Line 588: Line 588:
assert 0 1 -: unprimable 193 200
assert 0 1 -: unprimable 193 200
</lang>
</lang>


<pre>
<pre>
NB. test 2e6 integers for unprimability
NB. test 2e6 integers for unprimability
Line 600: Line 598:


UNPRIMABLE {~ <: 600 NB. 600th
UNPRIMABLE {~ <: 600 NB. 600th
5242
5242


NB. sorted by least significant digit, these are the first unprimable numbers ending with 0--9
NB. the first unprimable numbers ending with 0--9
NB. sorted by least significant digit after grouping (in order) by the LSD key.
(/: 10&|) ({./.~ 10&|) UNPRIMABLE
(/: 10&|) ({./.~ 10&|) UNPRIMABLE
200 595631 322 1203623 204 325 206 872897 208 212159
200 595631 322 1203623 204 325 206 872897 208 212159