Talk:Semiprime: Difference between revisions

Content added Content deleted
m (→‎a graphic view of the first 10k semi-primes: added a closing parenthesis.)
m (→‎a graphic view of the first 10k semi-primes: reduced clutter in the section header's example.)
Line 26: Line 26:
For those that are interested, here is the output of my $CALC (REXX) program that shows a binary map of the first 10k semiprimes.
For those that are interested, here is the output of my $CALC (REXX) program that shows a binary map of the first 10k semiprimes.
<br><br>The command used was:
<br><br>The command used was:
<lang rexx>$CALC translate{ isSemiPrime[ iota(10k) ], 'fefa'x, 10} ;;; Group 0 echoOptions</lang>
$CALC translate{ isSemiPrime[ iota(10k) ], 'fefa'x, 10} ;;; Group 0
The terminal screen was 200 bytes wide.
The terminal screen was 200 bytes wide.
<br>The &nbsp; '''isSemiPrime''' &nbsp; BIF outputs a &nbsp; '''0''' &nbsp; (zero) to indicate the number isn't semi-prime, &nbsp; or a '''1''' &nbsp; (unity) to indicate a semi-prime.
<br>The &nbsp; '''isSemiPrime''' &nbsp; BIF outputs a &nbsp; '''0''' &nbsp; (zero) to indicate the number isn't semi-prime, &nbsp; or a '''1''' &nbsp; (unity) to indicate a semi-prime.
Line 34: Line 34:
(Output is shown at &nbsp; <sup>'''3'''</sup>/<sub>4</sub> &nbsp; size.)
(Output is shown at &nbsp; <sup>'''3'''</sup>/<sub>4</sub> &nbsp; size.)
<pre style="font-size:75%">
<pre style="font-size:75%">
╔══════════════════════════════════════════════════════════════════════════╗
╔═══════════════════════════════════════════════════╗
║ translate{ isSemiPrime[ iota(10k) ], 'fefa'x, 10};;; GRoup 0 echoOptions
║ translate{ isSemiPrime[ iota(10k) ], 'fefa'x, 10} ║
╚══════════════════════════════════════════════════════════════════════════╝
╚═══════════════════════════════════════════════════╝
1► · · · ■ · ■ · · ■ ■ · · · ■ ■ · · · · · ■ ■ · · ■ ■ · · · · · · ■ ■ ■ · · ■ ■ · · · · · · ■ · · ■ · ■ · · · ■ · ■ ■ · · · ■ · · ■ · · · ■ · · · · ■ · · ■ · · · · ■ · · ■ ■ ■ · · · ■ · ■ ■ ■ ·
1► · · · ■ · ■ · · ■ ■ · · · ■ ■ · · · · · ■ ■ · · ■ ■ · · · · · · ■ ■ ■ · · ■ ■ · · · · · · ■ · · ■ · ■ · · · ■ · ■ ■ · · · ■ · · ■ · · · ■ · · · · ■ · · ■ · · · · ■ · · ■ ■ ■ · · · ■ · ■ ■ ■ ·
97► · · · · · · · · · ■ · · · · ■ · · · ■ · · ■ ■ · ■ ■ ■ · · · · · ■ · · · ■ ■ · · · · · · ■ ■ ■ · ■ ■ · · · · · · · · ■ · · ■ ■ · ■ · · · · ■ · · ■ · · · · · · · ■ ■ · · · · ■ · ■ · ■ · · · · ·
97► · · · · · · · · · ■ · · · · ■ · · · ■ · · ■ ■ · ■ ■ ■ · · · · · ■ · · · ■ ■ · · · · · · ■ ■ ■ · ■ ■ · · · · · · · · ■ · · ■ ■ · ■ · · · · ■ · · ■ · · · · · · · ■ ■ · · · · ■ · ■ · ■ · · · · ·