Anonymous user
Semiprime: Difference between revisions
m
added whitespace before the TOC (table of contents).
m (→version 2: added/changed comments and whitespace, changed indentations.) |
m (added whitespace before the TOC (table of contents).) |
||
Line 1:
{{task|Prime Numbers}} Semiprime numbers are natural numbers that are products of exactly two (possibly equal) [[prime_number|prime numbers]]
Example: 1679 = 23 × 73 (This particular number was chosen as the length of the [http://en.wikipedia.org/wiki/Arecibo_message Arecibo message]).
Write a function determining whether a given number is semiprime.
<br><br>
=={{header|Ada}}==
|