Talk:Semiprime: Difference between revisions

m (→‎a graphic view of the first 10k semiprimes: finished added the data to the section. -- ~~~~)
(→‎a graphic view of the first 10k semiprimes: added some comments. -- ~~~~)
Line 27:
<br><br>The command used was:
<lang rexx>$CALC translate{ isSemiPrime[ iota(1,10k) ], 'dcfa'x, 10}</lang>
The terminal screen was 200 bytes wide.
The &nbsp; '''translate''' &nbsp; BIF converts ones and zeroes to &nbsp; ▄ &nbsp; and &nbsp; ·
<br>The &nbsp; '''isSemiPrime''' &nbsp; BIF outputs a 0 (zero) to indicate the number isn't semiprime, or a 1 (one) to indicate a semiprime.
<br>The &nbsp; '''translate''' &nbsp; BIF converts (for easier perusing) ones and zeroes to &nbsp; ▄ &nbsp; and &nbsp; · &nbsp; &nbsp; [the low square bullets are the semiprimes].
<br>The &nbsp; '''iota''' &nbsp; BIF generates the numbers &nbsp; 1 ──► 10,000 &nbsp; which are passed to the &nbsp; '''isSemiPrime''' &nbsp; BIF.
<pre>