Anonymous user
Talk:Semiprime: Difference between revisions
m
→a graphic view of the first 10k semi-primes: added whitespace and highlighting to the talk section header.
m (→a graphic view of the first 10k semiprimes: reduced the size of the output font (75%), changed the semi-prime glyph, showed the options used in the output.) |
m (→a graphic view of the first 10k semi-primes: added whitespace and highlighting to the talk section header.) |
||
Line 28:
<lang rexx>$CALC translate{ isSemiPrime[ iota(10k) ], 'fefa'x, 10} ;;; Group 0 echoOptions</lang>
The terminal screen was 200 bytes wide.
<br>The '''isSemiPrime''' BIF outputs a '''0''' (zero) to indicate the number isn't
<br>The '''translate''' BIF converts (for easier perusing) ones and zeroes to ■ and · [the square bullets are the semi-primes].
<br>The '''iota''' BIF generates the numbers 1 ──► 10,000 which are passed to the '''isSemiPrime''' BIF.
|